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/3-Intelligence/Scene/SceneFunctionListEditPage.cs | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneFunctionListEditPage.cs b/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneFunctionListEditPage.cs index 18d58cc..5e3cdd5 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneFunctionListEditPage.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneFunctionListEditPage.cs @@ -348,10 +348,10 @@ }; dispalyView.AddChidren(contentView); - if (DB_ResidenceData.residenceData.floors.Count < 2) + if (SpatialInfo.CurrentSpatial.FloorList.Count < 2) { } - else if (DB_ResidenceData.residenceData.floors.Count < 3) + else if (SpatialInfo.CurrentSpatial.FloorList.Count < 3) { dispalyView = new FrameLayout() { @@ -366,7 +366,7 @@ contentView.Height = Application.GetRealHeight(45 * 3); dispalyView.AddChidren(contentView); } - else if (DB_ResidenceData.residenceData.floors.Count < 4) + else if (SpatialInfo.CurrentSpatial.FloorList.Count < 4) { dispalyView = new FrameLayout() { @@ -401,9 +401,9 @@ List<string> chooseList = new List<string>(); chooseList.Add(Language.StringByID(StringId.All)); - foreach (var f in DB_ResidenceData.residenceData.floors) + foreach (var f in SpatialInfo.CurrentSpatial.FloorList) { - chooseList.Add(f.name); + chooseList.Add(f.roomName); } foreach (var floor in chooseList) -- Gitblit v1.8.0