From 08a8afe782cd499550f94f3da0ba5788e1e12971 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期二, 02 三月 2021 17:45:45 +0800 Subject: [PATCH] 2021-3-2-1 --- HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Pir.cs | 76 ++++++++++++++++++++++++++++++++++++++ 1 files changed, 76 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Pir.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Pir.cs index 03a8a84..078249c 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Pir.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Pir.cs @@ -10,6 +10,37 @@ public static List<ButtonObj> BuottonList = new List<ButtonObj>(); } + public class Control + { + /// <summary> + /// 绾㈠瀹濊澶嘔d + /// </summary> + public string deviceId = "0"; + /// <summary> + /// 绾㈠閬ユ帶鍣ㄥ悕绉� + /// </summary> + public string name = "0"; + /// <summary> + /// 绾㈠閬ユ帶鍣╯pk + /// </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>(); + /// <summary> + /// 绾㈠鐮� + /// </summary> + public List<ButtonObj> status = new List<ButtonObj>(); + } public class ButtonObj { public string Key = string.Empty; @@ -18,4 +49,49 @@ /// </summary> public string value = string.Empty; } + public class DeviceType + { + /// <summary> + /// 璁惧绫诲瀷涓婚敭Id + /// </summary> + public string id = string.Empty; + /// <summary> + /// 璁惧绫诲瀷(鎶曞奖浠�,椋庢墖,鏈洪《鐩�...) + /// </summary> + public string deviceType = string.Empty; + } + 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; + + } + } -- Gitblit v1.8.0