| | |
| | | namespace HDL_ON.UI.UI2.PersonalCenter.PirDevice |
| | | { |
| | | [System.Serializable] |
| | | public class Pir |
| | | public class Pir: Entity.Function |
| | | { |
| | | /// <summary> |
| | | /// 添加按键列表 |
| | |
| | | /// </summary> |
| | | public static Pir currPir; |
| | | /// <summary> |
| | | /// 设备ID |
| | | /// 遥控器列表 |
| | | /// </summary> |
| | | public string deviceId = string.Empty; |
| | | public string homeId = string.Empty; |
| | | public string gatewayId = string.Empty; |
| | | public string name = string.Empty; |
| | | public string sid = string.Empty; |
| | | public string spk = string.Empty; |
| | | public string oid = string.Empty; |
| | | public string omodel = string.Empty; |
| | | public bool collect =false; |
| | | public bool online = false; |
| | | public string controlCounter = string.Empty; |
| | | public List<Entity.Function> FunctioList = new List<Entity.Function>(); |
| | | |
| | | public List<Attributes> attributes = new List<Attributes>(); |
| | | } |
| | | |
| | | |
| | | } |
| | | [Serializable] |
| | | public class Attributes |
| | | { |
| | | public string key = string.Empty; |
| | | public string data_type = string.Empty; |
| | | public int max = 0; |
| | | public int min = 0; |
| | | public int sort = 0; |
| | | public List<string> value = new List<string>(); |
| | | } |
| | | |
| | | |
| | | public class Control |
| | | [System.Serializable] |
| | | public class Control |
| | | { |
| | | /// <summary> |
| | | /// 红外宝设备Id |
| | |
| | | /// </summary> |
| | | public List<ButtonObj> status = new List<ButtonObj>(); |
| | | } |
| | | [System.Serializable] |
| | | public class ButtonObj |
| | | { |
| | | public string Key = string.Empty; |
| | |
| | | /// </summary> |
| | | public string value = string.Empty; |
| | | } |
| | | [System.Serializable] |
| | | public class DeviceType |
| | | { |
| | | /// <summary> |
| | |
| | | /// </summary> |
| | | public string deviceType = string.Empty; |
| | | } |
| | | [System.Serializable] |
| | | public class Brand |
| | | { |
| | | /// <summary> |
| | |
| | | public string irIndex = string.Empty; |
| | | |
| | | } |
| | | |
| | | |
| | | } |