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

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

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/SmartSound/SmartSound.cs b/ZigbeeApp/Shared/Phone/UserCenter/SmartSound/SmartSound.cs
index 68c584f..192a1db 100644
--- a/ZigbeeApp/Shared/Phone/UserCenter/SmartSound/SmartSound.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/SmartSound/SmartSound.cs
@@ -5,6 +5,7 @@
 {
     public class SmartSound
     {
+        
         /// <summary>
         /// 鏈湴鎵�鏈夌殑鏁版嵁
         /// </summary>
@@ -12,14 +13,23 @@
         /// <summary>
         /// 褰撳墠浣跨敤鐨勬暟鎹�(鏈嶅姟鍣ㄥ悓姝ヤ笅鏉ョ殑鏁版嵁/褰撳墠琚�変腑鐨勬暟鎹�)
         /// </summary>
-        public static List<Layer> CurretnData = new List<Layer>();
+        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
         {
@@ -46,10 +56,10 @@
             /// 閫変腑鐨勮澶�
             /// </summary>
             public bool Checked = false;
-            public string Id;
+            //public string Id;
             public string DeviceAddress;
             public int Epoint;
-            public int ClusterID;
+            //public int ClusterID;
             public string DeviceName;
             public string NicksName;
             public string GatewayID;
@@ -57,7 +67,7 @@
             /// 1=寮�鍏崇伅锛�2=璋冨厜鐏紝3=RGB 鐏紝4=绐楀笜妯″潡锛�5=寮�鍚堝笜锛�6=鍗峰笜锛�7=绌鸿皟锛�8=闈㈡澘锛�9=鏂伴
             /// </summary>
             public int DeviceType;
-            public string RoomID;
+            //public string RoomID;
         }
 
         public class Scene
@@ -66,13 +76,14 @@
             /// 閫変腑鐨勫満鏅�
             /// </summary>
             public bool Checked = false;
-            public string Id;
+            //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;
         }
 
     }

--
Gitblit v1.8.0