From 9d61367c1fd278f58f721d4c0e69999f89e4485d Mon Sep 17 00:00:00 2001
From: xm <1271024303@qq.com>
Date: 星期四, 12 十二月 2019 14:14:30 +0800
Subject: [PATCH] 添加最新绑定机制
---
ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessApSearchForm.cs | 11 +++--------
1 files changed, 3 insertions(+), 8 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessApSearchForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessApSearchForm.cs
old mode 100755
new mode 100644
index c75ddc2..2882324
--- a/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessApSearchForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessApSearchForm.cs
@@ -244,7 +244,7 @@
//璁℃椂鏃堕棿
int timeCount = 0;
//瓒呮椂鏃堕棿
- int timeOut = 120;
+ int timeOut = 240;
while (btnGwImage.Parent != null)
{
timeCount++;
@@ -382,6 +382,8 @@
{
//闇�瑕侀噸鏂扮粦瀹�
this.dicZbGatewayDiv[wayId] = 2;
+ //鑾峰彇鍒颁簡鏂扮綉鍏�
+ this.newGatewayGetting = true;
}
if (mode == GatewayBindMode.First)
@@ -403,14 +405,7 @@
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.CloseFormBefore();
}
--
Gitblit v1.8.0