From d0396d3f30d46810f8453bf21f86bd93fe5dbdec Mon Sep 17 00:00:00 2001
From: lss <316519258@qq.com>
Date: 星期三, 10 六月 2020 15:54:37 +0800
Subject: [PATCH] test

---
 ZigbeeApp/Shared/Phone/UserCenter/SmartSound/SmartSound.cs |   51 +++++++++++++++++++++++++++++++++++++++++++--------
 1 files changed, 43 insertions(+), 8 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/SmartSound/SmartSound.cs b/ZigbeeApp/Shared/Phone/UserCenter/SmartSound/SmartSound.cs
index ad230fd..192a1db 100644
--- a/ZigbeeApp/Shared/Phone/UserCenter/SmartSound/SmartSound.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/SmartSound/SmartSound.cs
@@ -5,12 +5,31 @@
 {
     public class SmartSound
     {
+        
+        /// <summary>
+        /// 鏈湴鎵�鏈夌殑鏁版嵁
+        /// </summary>
+        public static List<Layer> LocaData = new List<Layer>();
+        /// <summary>
+        /// 褰撳墠浣跨敤鐨勬暟鎹�(鏈嶅姟鍣ㄥ悓姝ヤ笅鏉ョ殑鏁版嵁/褰撳墠琚�変腑鐨勬暟鎹�)
+        /// </summary>
+        public List<Layer> LayerList = new List<Layer>();
+
         public SmartSound()
         {
         }
 
+        private static SmartSound smartSound = null;
         public string UserID;
-        public string HomeID;
+        public string TokenID;
+
+        public static SmartSound getInstantiate()
+        {
+            if (smartSound == null)
+                smartSound = new SmartSound();
+
+            return smartSound;
+        }
 
         public class Layer
         {
@@ -21,6 +40,10 @@
 
         public class Room
         {
+            /// <summary>
+            /// 閫変腑鐨勬埧闂�
+            /// </summary>
+            public bool Checked = false;
             public string RoomID;
             public string RoomName;
             public List<Device> DeviceList = new List<Device>();
@@ -29,27 +52,39 @@
 
         public class Device
         {
-            public string Id;
+            /// <summary>
+            /// 閫変腑鐨勮澶�
+            /// </summary>
+            public bool Checked = false;
+            //public string Id;
             public string DeviceAddress;
             public int Epoint;
-            public int ClusterID;
+            //public int ClusterID;
             public string DeviceName;
             public string NicksName;
             public string GatewayID;
+            /// <summary>
+            /// 1=寮�鍏崇伅锛�2=璋冨厜鐏紝3=RGB 鐏紝4=绐楀笜妯″潡锛�5=寮�鍚堝笜锛�6=鍗峰笜锛�7=绌鸿皟锛�8=闈㈡澘锛�9=鏂伴
+            /// </summary>
             public int DeviceType;
-            public string RoomID;
+            //public string RoomID;
         }
 
         public class Scene
         {
-            public string Id;
+            /// <summary>
+            /// 閫変腑鐨勫満鏅�
+            /// </summary>
+            public bool Checked = false;
+            //public string Id;
             public string SceneName;
             public int SceneID;
             public int DelayTime;
-            public int ClusterID;
+            //public int ClusterID;
             public string NicksName;
-            public string RoomID;
+            //public string RoomID;
+            public string GatewayID;
         }
 
     }
-}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
\ No newline at end of file
+}
\ No newline at end of file

--
Gitblit v1.8.0