From 9ed4d6675aa1f0abe20e3f84e92f5ac2da8ab4f4 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期六, 12 十二月 2020 20:02:00 +0800
Subject: [PATCH] 20201212-4

---
 HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditPageBLL.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditPageBLL.cs b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditPageBLL.cs
index 7098834..7e32122 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditPageBLL.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditPageBLL.cs
@@ -59,7 +59,7 @@
                             return;
                         }
                     }
-                    var addResult = SpatialInfo.CurrentSpatial.AddRoom(room);
+                    var addResult = SpatialInfo.CurrentSpatial.AddRoom(room,out room);
                     if (addResult == StateCode.SUCCESS)
                     {
                         backAction();
@@ -73,7 +73,7 @@
                         var delResult = SpatialInfo.CurrentSpatial.DelRoom(room);
                         if (delResult == StateCode.SUCCESS)
                         {
-                            foreach (var f in DB_ResidenceData.functionList.GetAllFunction())
+                            foreach (var f in FunctionList.List.GetDeviceFunctionList())
                             {
                                 if (f.roomIds.Contains(room.roomId))
                                 {

--
Gitblit v1.8.0