From 30b5770f56f99c1f92e933ad31cf7d2af58b033c Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期三, 02 十二月 2020 16:31:48 +0800
Subject: [PATCH] 20201202

---
 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..bc314d6 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 (Floor.InsFloor.Floors.Count < 2)
                 {
                 }
-                else if (DB_ResidenceData.residenceData.floors.Count < 3)
+                else if (Floor.InsFloor.Floors.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 (Floor.InsFloor.Floors.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 Floor.InsFloor.Floors)
                 {
-                    chooseList.Add(f.name);
+                    chooseList.Add(f.roomName);
                 }
 
                 foreach (var floor in chooseList)

--
Gitblit v1.8.0