| | |
| | | using System.Collections.Generic; |
| | | namespace HDL_ON.UI.UI2.PersonalCenter.PirDevice |
| | | { |
| | | public class Pir |
| | | [System.Serializable] |
| | | public class Pir: Entity.Function |
| | | { |
| | | /// <summary> |
| | | /// 添加按键列表 |
| | | /// </summary> |
| | | public static List<ButtonObj> BuottonList = new List<ButtonObj>(); |
| | | public static List<Pir> pirDeviceList = new List<Pir>(); |
| | | /// <summary> |
| | | /// 当前逻辑 |
| | | /// </summary> |
| | | public static Pir currPir; |
| | | /// <summary> |
| | | /// 遥控器列表 |
| | | /// </summary> |
| | | public List<Entity.Function> FunctioList = new List<Entity.Function>(); |
| | | |
| | | } |
| | | public class ButtonObj |
| | | { |
| | | public string Key = string.Empty; |
| | | /// <summary> |
| | | /// #app 显示的文字 |
| | | /// </summary> |
| | | public string value = string.Empty; |
| | | } |
| | | |
| | | |
| | | [System.Serializable] |
| | | public class Control |
| | | { |
| | | /// <summary> |
| | |
| | | /// 红外码 |
| | | /// </summary> |
| | | public List<string> library = new List<string>(); |
| | | /// <summary> |
| | | /// 红外码 |
| | | /// </summary> |
| | | public List<ButtonObj> status = new List<ButtonObj>(); |
| | | } |
| | | [System.Serializable] |
| | | public class ButtonObj |
| | | { |
| | | public string Key = string.Empty; |
| | | /// <summary> |
| | | /// #app 显示的文字 |
| | | /// </summary> |
| | | public string value = string.Empty; |
| | | } |
| | | [System.Serializable] |
| | | public class DeviceType |
| | | { |
| | | /// <summary> |
| | | /// 设备类型主键Id |
| | | /// </summary> |
| | | public string id = string.Empty; |
| | | /// <summary> |
| | | /// 设备类型(投影仪,风扇,机顶盒...) |
| | | /// </summary> |
| | | public string deviceType = string.Empty; |
| | | } |
| | | [System.Serializable] |
| | | public class Brand |
| | | { |
| | | /// <summary> |
| | | /// 品牌主键Id |
| | | /// </summary> |
| | | public string id = string.Empty; |
| | | /// <summary> |
| | | /// 设备类型主键Id |
| | | /// </summary> |
| | | public string deviceTypeId = string.Empty; |
| | | /// <summary> |
| | | /// 品牌名称 |
| | | /// </summary> |
| | | public string brandName = string.Empty; |
| | | |
| | | } |
| | | |
| | | public class Library |
| | | { |
| | | /// <summary> |
| | | /// 红外码 |
| | | /// </summary> |
| | | public string irCode = string.Empty; |
| | | /// <summary> |
| | | /// 品牌主键Id |
| | | /// </summary> |
| | | public string brandId = string.Empty; |
| | | /// <summary> |
| | | /// 红外码索引序号 |
| | | /// </summary> |
| | | public string irIndex = string.Empty; |
| | | |
| | | } |
| | | |
| | | } |