2016-11-15 17:37:56 +00:00
|
|
|
|
using HAI_Shared;
|
|
|
|
|
using System.Runtime.Serialization;
|
|
|
|
|
|
|
|
|
|
namespace HAILogger
|
|
|
|
|
{
|
|
|
|
|
[DataContract]
|
|
|
|
|
public class ThermostatContract
|
|
|
|
|
{
|
|
|
|
|
[DataMember]
|
|
|
|
|
public ushort id { get; set; }
|
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
public string name { get; set; }
|
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
public ushort temp { get; set; }
|
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
public ushort humidity { get; set; }
|
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
public ushort coolsetpoint { get; set; }
|
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
public ushort heatsetpoint { get; set; }
|
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
public enuThermostatMode mode { get; set; }
|
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
public enuThermostatFanMode fanmode { get; set; }
|
2016-11-21 02:31:27 +00:00
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
public enuThermostatHoldMode hold { get; set; }
|
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
public string status { get; set; }
|
2016-11-15 17:37:56 +00:00
|
|
|
|
}
|
|
|
|
|
}
|