From d724f7f21c5cc8c5dd5aa0cf7345a62a662eb2bf Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期三, 16 十二月 2020 15:12:18 +0800
Subject: [PATCH] 2020-12-16 1.子账号和解锁部分接口增加Loading处理

---
 HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs
index 3399cbd..3144977 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs
@@ -127,7 +127,7 @@
         /// <returns></returns>
         public static List<HDL_ON.Entity.Room> GetGatewayRoomList()
         {
-            return HDL_ON.Entity.DB_ResidenceData.residenceData.Rooms;
+            return HDL_ON.Entity.SpatialInfo.CurrentSpatial.RoomList;
         }
         /// <summary>
         /// 鑾峰彇缃戝叧鎴块棿鍒楄〃
@@ -155,7 +155,7 @@
         /// <returns></returns>
         public static List<HDL_ON.Entity.Function> GetGatewayDeviceList()
         {
-            return HDL_ON.Entity.DB_ResidenceData.functionList.GetAllFunction();
+            return Entity.FunctionList.List.GetDeviceFunctionList();
         }
         /// <summary>
         /// 鑾峰彇缃戝叧鍦烘櫙鍒楄〃
@@ -163,7 +163,7 @@
         /// <returns></returns>
         public static List<HDL_ON.Entity.Scene> GetSceneList()
         {
-            return HDL_ON.Entity.DB_ResidenceData.functionList.scenes;
+            return HDL_ON.Entity.FunctionList.List.scenes;
         }
         /// <summary>
         /// 鑾峰彇鎴块棿鐨勮澶囧垪琛�

--
Gitblit v1.8.0