From eda3fb873e59544ff36301b51e05aef64f87b0f9 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期五, 27 八月 2021 13:21:21 +0800
Subject: [PATCH] Merge branch 'newBranch1' of http://172.16.1.23:6688/r/~wxr/HDL_APP_Project into newBranch1

---
 HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Pir.cs |   49 ++++++++++++++++++++++++++++++-------------------
 1 files changed, 30 insertions(+), 19 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Pir.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Pir.cs
index 078249c..ebc2d6a 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Pir.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Pir.cs
@@ -1,25 +1,42 @@
 锘縰sing System;
 using System.Collections.Generic;
+using HDL_ON.Entity;
+
 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>();
 
     }
+
+    [System.Serializable]
     public class Control
     {
         /// <summary>
         /// 绾㈠瀹濊澶嘔d
         /// </summary>
-        public string deviceId = "0";
+        public string deviceId = "";
+        /// <summary>
+        /// sid
+        /// </summary>
+        public string sid = "";
         /// <summary>
         /// 绾㈠閬ユ帶鍣ㄥ悕绉�
         /// </summary>
-        public string name = "0";
+        public string name = "";
         /// <summary>
         /// 绾㈠閬ユ帶鍣╯pk
         /// </summary>
@@ -31,24 +48,18 @@
         /// <summary>
         /// 鐮佺粍鍙�
         /// </summary>
-        public string group_id = "12";
+        public string groupId = "";  
         /// <summary>
-        /// 绾㈠鐮�
+        /// 绾㈠鐮佸簱
         /// </summary>
         public List<string> library = new List<string>();
         /// <summary>
-        /// 绾㈠鐮�
+        /// 瀛︿範鎸夐敭鍒楄〃
         /// </summary>
-        public List<ButtonObj> status = new List<ButtonObj>();
+        public List<AttributesStatus> status = new List<AttributesStatus>();
     }
-    public class ButtonObj
-    {
-        public string Key = string.Empty;
-        /// <summary>
-        /// #app 鏄剧ず鐨勬枃瀛�
-        /// </summary>
-        public string value = string.Empty;
-    }
+   
+    [System.Serializable]
     public class DeviceType
     {
         /// <summary>
@@ -60,6 +71,7 @@
         /// </summary>
         public string deviceType = string.Empty;
     }
+    [System.Serializable]
     public class Brand
     {
         /// <summary>
@@ -76,7 +88,6 @@
         public string brandName = string.Empty;
 
     }
-
     public class Library
     {
         /// <summary>
@@ -93,5 +104,5 @@
         public string irIndex = string.Empty;
 
     }
-   
+
 }

--
Gitblit v1.8.0