From 6c70a72d6f3d11baa65be466d4023b2f2ca79e39 Mon Sep 17 00:00:00 2001
From: lss <316519258@qq.com>
Date: 星期三, 03 六月 2020 11:04:41 +0800
Subject: [PATCH] 2020.06.03.1
---
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