| | |
| | | using System.Collections.Generic; |
| | | namespace HDL_ON.UI.UI2.PersonalCenter.PirDevice |
| | | { |
| | | [System.Serializable] |
| | | public class Pir |
| | | { |
| | | /// <summary> |
| | | /// 添加按键列表 |
| | | /// </summary> |
| | | public static List<ButtonObj> BuottonList = new List<ButtonObj>(); |
| | | public static List<Pir> pirDeviceList = new List<Pir>(); |
| | | 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 class Control |
| | | 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 |
| | | { |
| | | /// <summary> |
| | | /// 红外宝设备Id |