From 9f326f4000847e6167d8166fa2f6a66f53cb3734 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期四, 17 十二月 2020 09:07:13 +0800
Subject: [PATCH] 新云端Ver1.3

---
 ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceListMainForm.cs |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceListMainForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceListMainForm.cs
index c85fbd0..f95ecea 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceListMainForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceListMainForm.cs
@@ -1143,6 +1143,18 @@
         /// </summary>
         public override int FormActionAgainEvent()
         {
+            if (HdlGatewayResourse.AppOldSelectGatewayId != this.gatewayViewRow.zbGatewayId)
+            {
+                //杩欎釜缃戝叧琚暣鎺変簡,闇�瑕侀噸鏂板垵濮嬪寲鐣岄潰
+                this.nowActionDeviceMac = null;
+                this.oldShowRightMuneRow = null;
+                //閲嶆柊閫夋嫨缃戝叧
+                HdlGatewayLogic.Current.RefreshAppOldSelectGatewayId();
+                //鍒濆鍖栫晫闈�
+                this.InitMiddleFrame();
+                return 1;
+            }
+
             if (this.nowActionDeviceMac != null)
             {
                 //鍒锋柊鎸囧畾璁惧琛岀殑淇℃伅

--
Gitblit v1.8.0