From 0087dd7734e71dfcfd1bb54db394ad7855021ffd Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期五, 24 七月 2020 10:18:08 +0800
Subject: [PATCH] 新版本

---
 ZigbeeApp/Shared/Phone/MainPage/HomeMainPageForm.cs |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/MainPage/HomeMainPageForm.cs b/ZigbeeApp/Shared/Phone/MainPage/HomeMainPageForm.cs
index 4e2b13b..f28273d 100755
--- a/ZigbeeApp/Shared/Phone/MainPage/HomeMainPageForm.cs
+++ b/ZigbeeApp/Shared/Phone/MainPage/HomeMainPageForm.cs
@@ -544,8 +544,8 @@
             bodyFrameLayout.RemoveAll();
             bodyFrameLayout.Height = Application.GetRealHeight(750);
             this.listBodyContr.RecoverTableHeight();
-            this.dicSceneCardControl.Clear();
-            this.dicDeviceCardControl.Clear();
+            this.dicSceneCardControl = new Dictionary<int, Controls.SceneCardControl>();
+            this.dicDeviceCardControl = new Dictionary<string, Controls.DeviceCardCommon>();
 
             var listDevice = new List<CommonDevice>();
             foreach (var mainkeys in HdlRoomLogic.Current.NowMainPageRoom.ListDevice)
@@ -804,8 +804,8 @@
             bodyFrameLayout.RemoveAll();
             bodyFrameLayout.Height = Application.GetRealHeight(750);
             this.listBodyContr.RecoverTableHeight();
-            this.dicSceneCardControl.Clear();
-            this.dicDeviceCardControl.Clear();
+            this.dicSceneCardControl = new Dictionary<int, Controls.SceneCardControl>();
+            this.dicDeviceCardControl = new Dictionary<string, Controls.DeviceCardCommon>();
 
             var listScene = new List<SceneUI>();
             foreach (int sceneId in HdlRoomLogic.Current.NowMainPageRoom.ListSceneId)
@@ -1161,6 +1161,10 @@
 
         #endregion
 
+        #region 鈻� 浼犳劅鍣ㄧ姸鎬佽繕鍘焈____________________
+
+        #endregion
+
         #region 鈻� 鍒囨崲妤煎眰___________________________
 
         /// <summary>

--
Gitblit v1.8.0