From 0f2e0147e8990e913d16d99bc1b94fb6bc53abd7 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期四, 03 十二月 2020 15:35:42 +0800
Subject: [PATCH] 2020-12-03-1

---
 HDL_ON/Entity/DB_ResidenceData.cs |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/HDL_ON/Entity/DB_ResidenceData.cs b/HDL_ON/Entity/DB_ResidenceData.cs
index 148d6bd..fccfe8f 100644
--- a/HDL_ON/Entity/DB_ResidenceData.cs
+++ b/HDL_ON/Entity/DB_ResidenceData.cs
@@ -131,15 +131,14 @@
                         {
                             sid = "030101123456780202010005ABCD",
                             name = "鐏厜1",
-                            function = new List<FunctionAttributes>() {
+                            attributes = new List<FunctionAttributes>() {
                                         new FunctionAttributes { key="on_off", max=100,min = 0, value= new List<string> { "on","off"} },
                                         },
-                            roomIdList = new List<string>() { "0001" },
+                            roomIds = new List<string>() { "0001" },
                             bus_Data = new BusData
                             {
-                                SubnetID = 42,
-                                DeviceID = 6,
-                                LoopID = 1,
+                                addresses = "2A06",
+                                loopId = 1,
                             },
                         }.SaveFunctionData();
 
@@ -535,6 +534,7 @@
                     foreach (var r in rooms)
                     {
                         r.GetRoomFunctions(true);
+                        r.GetRoomScenes(true);
                     }
                 }
                 catch (Exception ex)

--
Gitblit v1.8.0