From fb5f023820eb6783bd62d0d69d9afbd00cd3f426 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期一, 07 十二月 2020 16:50:47 +0800
Subject: [PATCH] 2020-12-07-1
---
HDL_ON/UI/UI2/2-Classification/FunctionPage.cs | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/HDL_ON/UI/UI2/2-Classification/FunctionPage.cs b/HDL_ON/UI/UI2/2-Classification/FunctionPage.cs
index 0704042..3ffeb1b 100644
--- a/HDL_ON/UI/UI2/2-Classification/FunctionPage.cs
+++ b/HDL_ON/UI/UI2/2-Classification/FunctionPage.cs
@@ -193,10 +193,10 @@
};
dispalyView.AddChidren(contentView);
- if (DB_ResidenceData.Rooms.Count < 2)
+ if (DB_ResidenceData.residenceData.Rooms.Count < 2)
{
}
- else if (DB_ResidenceData.Rooms.Count < 3)
+ else if (DB_ResidenceData.residenceData.Rooms.Count < 3)
{
dispalyView = new FrameLayout()
{
@@ -211,7 +211,7 @@
contentView.Height = Application.GetRealHeight(45 * 3);
dispalyView.AddChidren(contentView);
}
- else if (DB_ResidenceData.Rooms.Count < 4)
+ else if (DB_ResidenceData.residenceData.Rooms.Count < 4)
{
dispalyView = new FrameLayout()
{
@@ -246,7 +246,7 @@
List<Room> roomList = new List<Room>();
roomList.Add(new Room() { uid = "", roomName = Language.StringByID(StringId.All) });
- roomList.AddRange(DB_ResidenceData.Rooms);
+ roomList.AddRange(DB_ResidenceData.residenceData.Rooms);
foreach (var tempRoom in roomList)
{
var roomName = tempRoom.roomName;
--
Gitblit v1.8.0