From 351bdda734832d821a9764b0cde8be5d83c4ec50 Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期四, 01 十二月 2022 09:56:25 +0800
Subject: [PATCH] 2022年12月01日09:56:23

---
 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