From 6ae83acae578c6746201fbd61074a7b93747ef4f Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期一, 08 三月 2021 17:47:52 +0800
Subject: [PATCH] 2021-3-8-4

---
 HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Pir.cs |   22 ++++++++++------------
 1 files changed, 10 insertions(+), 12 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Pir.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Pir.cs
index e985b71..0c160ff 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Pir.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Pir.cs
@@ -1,5 +1,7 @@
 锘縰sing System;
 using System.Collections.Generic;
+using HDL_ON.Entity;
+
 namespace HDL_ON.UI.UI2.PersonalCenter.PirDevice
 {
     [System.Serializable]
@@ -8,7 +10,7 @@
         /// <summary>
         /// 娣诲姞鎸夐敭鍒楄〃
         /// </summary>
-        public static List<ButtonObj> BuottonList = new List<ButtonObj>();
+        public static List<AttributesStatus> BuottonList = new List<AttributesStatus>();
         public static List<Pir> pirDeviceList = new List<Pir>();
         /// <summary>
         /// 褰撳墠閫昏緫
@@ -30,6 +32,10 @@
         /// </summary>
         public string deviceId = "0";
         /// <summary>
+        /// sid
+        /// </summary>
+        public string sid = "0";
+        /// <summary>
         /// 绾㈠閬ユ帶鍣ㄥ悕绉�
         /// </summary>
         public string name = "0";
@@ -44,7 +50,7 @@
         /// <summary>
         /// 鐮佺粍鍙�
         /// </summary>
-        public string group_id = "12";
+        public string groupId = "12";  
         /// <summary>
         /// 绾㈠鐮�
         /// </summary>
@@ -52,17 +58,9 @@
         /// <summary>
         /// 绾㈠鐮�
         /// </summary>
-        public List<ButtonObj> status = new List<ButtonObj>();
+        public List<AttributesStatus> status = new List<AttributesStatus>();
     }
-    [System.Serializable]
-    public class ButtonObj
-    {
-        public string Key = string.Empty;
-        /// <summary>
-        /// #app 鏄剧ず鐨勬枃瀛�
-        /// </summary>
-        public string value = string.Empty;
-    }
+   
     [System.Serializable]
     public class DeviceType
     {

--
Gitblit v1.8.0