New file |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | namespace HDL_ON.UI.UI2.PersonalCenter.PirDevice |
| | | { |
| | | public class Pir |
| | | { |
| | | /// <summary> |
| | | /// 添加按键列表 |
| | | /// </summary> |
| | | public static List<ButtonObj> BuottonList = new List<ButtonObj>(); |
| | | |
| | | } |
| | | public class ButtonObj |
| | | { |
| | | public string Key = string.Empty; |
| | | /// <summary> |
| | | /// #app 显示的文字 |
| | | /// </summary> |
| | | public string value = string.Empty; |
| | | } |
| | | public class Control |
| | | { |
| | | /// <summary> |
| | | /// 红外宝设备Id |
| | | /// </summary> |
| | | public string deviceId = "0"; |
| | | /// <summary> |
| | | /// 红外遥控器名称 |
| | | /// </summary> |
| | | public string name = "0"; |
| | | /// <summary> |
| | | /// 红外遥控器spk |
| | | /// </summary> |
| | | public string spk = "ir.module"; |
| | | /// <summary> |
| | | /// library=库类型, learn=不需要额外追加属性 |
| | | /// </summary> |
| | | public string type = "learn"; |
| | | /// <summary> |
| | | /// 码组号 |
| | | /// </summary> |
| | | public string group_id = "12"; |
| | | /// <summary> |
| | | /// 红外码 |
| | | /// </summary> |
| | | public List<string> library = new List<string>(); |
| | | } |
| | | } |