From dcb9b9b5561b4e6d1eaf1e602e8ae054e578ec6e Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期五, 04 十二月 2020 16:06:47 +0800
Subject: [PATCH] Merge branch 'master' into WJC

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

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditFunctionPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditFunctionPage.cs
index 4ad76ab..e7dbd12 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditFunctionPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditFunctionPage.cs
@@ -328,7 +328,7 @@
                     Height = Application.GetRealWidth(28),
                     UnSelectedImagePath = "Public/ChooseIcon.png",
                     SelectedImagePath = "Public/ChooseOnIcon.png",
-                    IsSelected = function.roomIds.Contains(room.sid)
+                    IsSelected = function.roomIds.Contains(room.uid)
                 };
                 functionRow.AddChidren(btnChooseIcon);
                 LoadEvent_ChangeRoomFunctionList(functionRow, btnChooseIcon, function);
@@ -402,7 +402,7 @@
                 Height = Application.GetRealWidth(1),
                 BackgroundColor = CSS_Color.DividingLineColor,
             });
-            foreach (var tempRoom in DB_ResidenceData.rooms)
+            foreach (var tempRoom in DB_ResidenceData.residenceData.Rooms)
             {
 
                 Button btnRoom = new Button()
@@ -410,16 +410,16 @@
                     X = Application.GetRealWidth(16),
                     Width = Application.GetRealWidth(128),
                     Height = Application.GetRealHeight(50),
-                    Text = tempRoom.name,
+                    Text = tempRoom.roomName,
                     TextColor = CSS_Color.FirstLevelTitleColor,
                     SelectedTextColor = CSS_Color.MainColor,
                     TextSize = CSS_FontSize.SubheadingFontSize,
                     TextAlignment = TextAlignment.CenterLeft,
-                    IsSelected = showedFunctionRoomId == tempRoom.sid,
-                    Tag = tempRoom.sid,
+                    IsSelected = showedFunctionRoomId == tempRoom.uid,
+                    Tag = tempRoom.uid,
                 };
                 roomListView.AddChidren(btnRoom);
-                LoadEvent_ChangeShowedFunctionList(btnRoom, dialog, tempRoom.name);
+                LoadEvent_ChangeShowedFunctionList(btnRoom, dialog, tempRoom.roomName);
 
                 roomListView.AddChidren(new Button()
                 {

--
Gitblit v1.8.0