From c7df85937f73fb347ee0b19e9c052d2d00a6df6c Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期五, 18 九月 2020 13:58:19 +0800
Subject: [PATCH] 新版本

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