From b3e96fce4cc01113128ddf8e0a18fc19594a9e56 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期四, 05 十二月 2019 18:38:30 +0800
Subject: [PATCH] 一个新的版本

---
 ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessUdpSearchForm.cs |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessUdpSearchForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessUdpSearchForm.cs
index 945ae81..57c6554 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessUdpSearchForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessUdpSearchForm.cs
@@ -384,6 +384,8 @@
                 {
                     //闇�瑕侀噸鏂扮粦瀹�
                     this.dicZbGatewayDiv[wayId] = 2;
+                    //鑾峰彇鍒颁簡鏂扮綉鍏�
+                    this.newGatewayGetting = true;
                 }
 
                 if (mode == GatewayBindMode.First)
@@ -402,18 +404,13 @@
         /// <summary>
         /// 鐣岄潰鍏抽棴
         /// </summary>
-        public override void CloseForm()
+        public override void CloseFormBefore()
         {
             ZigBee.Common.Application.IsSearchingGateway = false;
             //鍋滄Wi-Fi閰嶇綉
             HdlWifiLogic.Current.StopSmartConnection();
 
-            if (UserCenterResourse.listActionFormId.Contains("UserMainForm") == false)
-            {
-                //鍒锋柊涓婚〉
-                UserView.UserPage.Instance.Fresh();
-            }
-            base.CloseForm();
+            base.CloseFormBefore();
         }
 
         #endregion

--
Gitblit v1.8.0