From 23ca39219c5075d829d14137cb54896a24ae513d Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期五, 04 十二月 2020 13:57:08 +0800
Subject: [PATCH] 20201204

---
 HDL_ON/UI/UI2/3-Intelligence/Scene/SceneFunctionListEditPage.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneFunctionListEditPage.cs b/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneFunctionListEditPage.cs
index bc314d6..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 (Floor.InsFloor.Floors.Count < 2)
+                if (SpatialInfo.CurrentSpatial.FloorList.Count < 2)
                 {
                 }
-                else if (Floor.InsFloor.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 (Floor.InsFloor.Floors.Count < 4)
+                else if (SpatialInfo.CurrentSpatial.FloorList.Count < 4)
                 {
                     dispalyView = new FrameLayout()
                     {
@@ -401,7 +401,7 @@
 
                 List<string> chooseList = new List<string>();
                 chooseList.Add(Language.StringByID(StringId.All));
-                foreach (var f in Floor.InsFloor.Floors)
+                foreach (var f in SpatialInfo.CurrentSpatial.FloorList)
                 {
                     chooseList.Add(f.roomName);
                 }

--
Gitblit v1.8.0