mirror of
https://github.com/excaliburpartners/OmniLinkBridge
synced 2024-12-22 18:52:24 +00:00
40 lines
841 B
C#
40 lines
841 B
C#
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; }
|
|
|
|
[DataMember]
|
|
public enuThermostatHoldMode hold { get; set; }
|
|
|
|
[DataMember]
|
|
public string status { get; set; }
|
|
}
|
|
}
|