From 1d5e384497c7059e09760628dab3e83eb88f97ae Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期五, 04 十二月 2020 17:48:34 +0800 Subject: [PATCH] 2020-12-04-4 --- HDL_ON/UI/UI2/FuntionControlView/EnvironmentalScience/EnvironmentalSciencePage.cs | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/EnvironmentalScience/EnvironmentalSciencePage.cs b/HDL_ON/UI/UI2/FuntionControlView/EnvironmentalScience/EnvironmentalSciencePage.cs index 929435a..936f7d8 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/EnvironmentalScience/EnvironmentalSciencePage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/EnvironmentalScience/EnvironmentalSciencePage.cs @@ -657,10 +657,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() { @@ -675,7 +675,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() { @@ -710,7 +710,7 @@ var showListRoom = new List<Room>(); showListRoom.Add(new Room() { roomName = Language.StringByID(StringId.All),uid = "" }); - showListRoom.AddRange(DB_ResidenceData.Rooms); + showListRoom.AddRange(DB_ResidenceData.residenceData.Rooms); foreach (var roomTemp in showListRoom) { -- Gitblit v1.8.0