From cc1012b077a91793c0edd6001cdf019e6bd9a57d Mon Sep 17 00:00:00 2001
From: lss <316519258@qq.com>
Date: 星期五, 29 五月 2020 18:02:13 +0800
Subject: [PATCH] 2020.05.29

---
 ZigbeeApp/Shared/Phone/UserCenter/SmartSound/SmartSound.cs |   79 +++++++++++++++++++++++++++++++++++++++
 1 files changed, 79 insertions(+), 0 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/SmartSound/SmartSound.cs b/ZigbeeApp/Shared/Phone/UserCenter/SmartSound/SmartSound.cs
new file mode 100644
index 0000000..68c584f
--- /dev/null
+++ b/ZigbeeApp/Shared/Phone/UserCenter/SmartSound/SmartSound.cs
@@ -0,0 +1,79 @@
+锘縰sing System;
+using System.Collections.Generic;
+
+namespace Shared.Phone.UserCenter.SmartSound
+{
+    public class SmartSound
+    {
+        /// <summary>
+        /// 鏈湴鎵�鏈夌殑鏁版嵁
+        /// </summary>
+        public static List<Layer> LocaData = new List<Layer>();
+        /// <summary>
+        /// 褰撳墠浣跨敤鐨勬暟鎹�(鏈嶅姟鍣ㄥ悓姝ヤ笅鏉ョ殑鏁版嵁/褰撳墠琚�変腑鐨勬暟鎹�)
+        /// </summary>
+        public static List<Layer> CurretnData = new List<Layer>();
+
+        public SmartSound()
+        {
+        }
+
+        public string UserID;
+        public string HomeID;
+
+        public class Layer
+        {
+            public string LayerID;
+            public string LayerName;
+            public List<Room> RoomList = new List<Room>();
+        }
+
+        public class Room
+        {
+            /// <summary>
+            /// 閫変腑鐨勬埧闂�
+            /// </summary>
+            public bool Checked = false;
+            public string RoomID;
+            public string RoomName;
+            public List<Device> DeviceList = new List<Device>();
+            public List<Scene> SceneList = new List<Scene>();
+        }
+
+        public class Device
+        {
+            /// <summary>
+            /// 閫変腑鐨勮澶�
+            /// </summary>
+            public bool Checked = false;
+            public string Id;
+            public string DeviceAddress;
+            public int Epoint;
+            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 class Scene
+        {
+            /// <summary>
+            /// 閫変腑鐨勫満鏅�
+            /// </summary>
+            public bool Checked = false;
+            public string Id;
+            public string SceneName;
+            public int SceneID;
+            public int DelayTime;
+            public int ClusterID;
+            public string NicksName;
+            public string RoomID;
+        }
+
+    }
+}
\ No newline at end of file

--
Gitblit v1.8.0