From 163777d8a2cb7cfa469f54a7042528870ebc10a3 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期一, 09 十二月 2019 17:46:20 +0800
Subject: [PATCH] 一个新版本

---
 ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessApSearchForm.cs |   16 ++++++----------
 1 files changed, 6 insertions(+), 10 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessApSearchForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessApSearchForm.cs
index 6b40959..54c02ef 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessApSearchForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessApSearchForm.cs
@@ -154,6 +154,7 @@
             frameback.BackgroundImagePath = "Item/BottomButtonGround.png";
             bodyFrameLayout.AddChidren(frameback);
             var btnReDo = new NormalViewControl(300, 65, true);
+            btnReDo.IsBold = true;
             btnReDo.TextColor = UserCenterColor.Current.White;
             btnReDo.TextSize = 16;
             btnReDo.Y = Application.GetRealHeight(49);
@@ -244,7 +245,7 @@
                 //璁℃椂鏃堕棿
                 int timeCount = 0;
                 //瓒呮椂鏃堕棿
-                int timeOut = 120;
+                int timeOut = 240;
                 while (btnGwImage.Parent != null)
                 {
                     timeCount++;
@@ -382,6 +383,8 @@
                 {
                     //闇�瑕侀噸鏂扮粦瀹�
                     this.dicZbGatewayDiv[wayId] = 2;
+                    //鑾峰彇鍒颁簡鏂扮綉鍏�
+                    this.newGatewayGetting = true;
                 }
 
                 if (mode == GatewayBindMode.First)
@@ -400,18 +403,11 @@
         /// <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