using System; using System.Collections.Generic; using System.Linq; using System.Text; using Domain; namespace CommonEntity { public class GetHostIDByNumber { public int ID { get; set; } public string HostNumber { get; set; } public string RoomNumber { get; set; } public string HotelCode { get; set; } } public class NewVersionHexData { public byte CmdType { get; set; } public string HotelCode { get; set; } public string HostNumber { get; set; } public string RoomNumber { get; set; } public string RemoteEndPoint { get; set; } public string HexData { get; set; } public DateTime CurrentTime { get; set; } } /// /// 新版本的设备状态 /// public class NewVersionDeviceStatus { public string HotelCode { get; set; } public string HostNumber { get; set; } public string RoomNumber { get; set; } public string DeviceAddress { get; set; } /// /// 当前设备是 空调 灯光 /// public DeviceType ModalType { get; set; } /// /// 调光亮度 /// public int Brightness { get; set; } /// /// 开关状态 /// public int Status { get; set; } /// /// 空调 /// public AirConditionData AirConditionData { get; set; } public DateTime? UpdateTime { get; set; } public int Time { get; set; } } }