From bd46c57c77c276014db3192a4e2cc96e23c93202 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期五, 21 二月 2020 13:08:47 +0800
Subject: [PATCH] 先上传个版本吧

---
 ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceSearchForm.cs |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceSearchForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceSearchForm.cs
index e7277e7..a32c91a 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceSearchForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceSearchForm.cs
@@ -190,8 +190,6 @@
                 this.StartTopicTimeOutThread();
                 return;
             }
-            //涓柇涓婚瓒呮椂绾跨▼
-            this.topTimeOut = -100;
 
             lock (this.dicNewDevice)
             {
@@ -457,6 +455,7 @@
             }
             else if (topic == gatewayId + "/DeviceInComingRespon")
             {
+                this.topTimeOut = topMaxTime;
                 //缃戝叧鏈�缁堜笂鎶ヨ妭鐐硅澶囦俊鎭�
                 this.SetDeviceProgressValue(6);
                 return 1;
@@ -507,7 +506,7 @@
                     System.Threading.Thread.Sleep(1000);
                     this.topTimeOut--;
                 }
-                if (this.topTimeOut < 0 && this.topTimeOut >= -10)
+                if (this.topTimeOut < 0)
                 {
                     //鍝嶅簲瓒呮椂,璇烽噸鏂板叆缃�
                     this.ShowMassage(ShowMsgType.Tip, Language.StringByID(R.MyInternationalizationString.uResponseTimeoutsAndReAccessNetwork));

--
Gitblit v1.8.0