From 35a2888945bcf1b7ef6f34d30f1709b9c848fce6 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期三, 16 十二月 2020 15:17:18 +0800 Subject: [PATCH] 111 --- HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditFunctionPage.cs | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditFunctionPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditFunctionPage.cs index 8006c70..8bb99ac 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditFunctionPage.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditFunctionPage.cs @@ -156,7 +156,7 @@ }; bodyView.AddChidren(functionListView); - foreach (var function in DB_ResidenceData.functionList.GetAllFunction()) + foreach (var function in FunctionList.List.GetDeviceFunctionList()) { function.roomIds.Remove(null); if (function.roomIds.Count > 0 ) @@ -414,7 +414,7 @@ Height = Application.GetRealWidth(1), BackgroundColor = CSS_Color.DividingLineColor, }); - foreach (var tempRoom in DB_ResidenceData.residenceData.Rooms) + foreach (var tempRoom in SpatialInfo.CurrentSpatial.RoomList) { Button btnRoom = new Button() -- Gitblit v1.8.0