From 25429f085093d89d543a0b90e30d0d62d1b7dac9 Mon Sep 17 00:00:00 2001
From: hxb <hxb@hdlchina.com.cn>
Date: 星期二, 30 八月 2022 09:37:38 +0800
Subject: [PATCH] 合并了IOS的代码

---
 ZigbeeApp/Shared/Phone/MainPage/LeftListRoomViewFrom.cs |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/MainPage/LeftListRoomViewFrom.cs b/ZigbeeApp/Shared/Phone/MainPage/LeftListRoomViewFrom.cs
index da61323..9f5be03 100755
--- a/ZigbeeApp/Shared/Phone/MainPage/LeftListRoomViewFrom.cs
+++ b/ZigbeeApp/Shared/Phone/MainPage/LeftListRoomViewFrom.cs
@@ -161,6 +161,11 @@
         /// </summary>
         public void RefreshListRoom()
         {
+            if (Config.Instance.Home.FloorDics.Count == 0)
+            {
+                //鏉ュ洖鍒囨崲澶囦唤,浼氬嚭鐜伴棶棰�,妤煎眰id娌℃竻闄�
+                this.curFloorId = string.Empty;
+            }
             //淇濋櫓璧疯,杩欓噷瑕佸叧闂湭鍒嗛厤鐣岄潰
             this.CloseUnallocatedRoomForm();
 
@@ -293,7 +298,7 @@
             frameBack.AddChidren(btnIcon, ChidrenBindMode.BindEvent);
 
             //鏈垎閰�
-            var btnName = new NormalViewControl(141, 84, true);
+            var btnName = new NormalViewControl(250, 84, true);
             btnName.X = this.GetPictrueRealSize(244);
             btnName.Y = this.GetPictrueRealSize(131);
             btnName.IsBold = true;

--
Gitblit v1.8.0