From f14dcfd967404e197e7ec995ca8d6f2b090d3b7d Mon Sep 17 00:00:00 2001
From: xm <1271024303@qq.com>
Date: 星期五, 11 九月 2020 09:16:59 +0800
Subject: [PATCH] 优化多功能面板:绑定温湿度传感器目标,和设备列表回路显示。优化数据矫正功能温湿度度不设置的情况。优化门锁时间设置最后一天和最后最后一个月的时间显示等 细节

---
 ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlGatewayUpdateLogic.cs |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlGatewayUpdateLogic.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlGatewayUpdateLogic.cs
index 36fc2e9..81fd930 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlGatewayUpdateLogic.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlGatewayUpdateLogic.cs
@@ -954,7 +954,7 @@
                 //缃戝叧鍗囩骇
                 timeCount += 50;
                 //缃戝叧閲嶅惎
-                timeCount += 180;
+                timeCount += 250;
             }
             return timeCount;
         }
@@ -977,7 +977,7 @@
         /// <returns></returns>
         private void StartGetGatewayVersionThread()
         {
-            HdlThreadLogic.Current.RunThread(async () =>
+            HdlThreadLogic.Current.RunThread(() =>
             {
                 //鍏堢瓑涓�120绉掑惂锛岀綉鍏冲崌绾у拰缃戝叧瀹屽叏閲嶅惎闇�瑕佸緢闀挎椂闂�
                 int count = 12;
@@ -991,12 +991,12 @@
                     //杩欎釜鏃跺�欙紝涓嶅簲璇ユ彁绀鸿秴鏃�
                     this.UpdateTimeOutRefresh();
 
-                    await Task.Delay(10000);
+                    System.Threading.Thread.Sleep(10000);
                 }
                 while (this.IsFinishUpdate == false)
                 {
                     //鑾峰彇鐗堟湰
-                    var result = await HdlGatewayLogic.Current.GetGatewayNewInfoAsync(this.upDatezbGateway, ShowErrorMode.NO);
+                    var result = HdlGatewayLogic.Current.GetGatewayInfo(this.upDatezbGateway, false, ShowErrorMode.NO);
                     if (result != null)
                     {
                         break;
@@ -1004,7 +1004,7 @@
                     //杩欎釜鏃跺�欙紝涓嶅簲璇ユ彁绀鸿秴鏃�
                     this.UpdateTimeOutRefresh();
 
-                    await Task.Delay(5000);
+                    System.Threading.Thread.Sleep(5000);
                 }
                 //宸茬粡鑳藉鑾峰彇鏁版嵁
                 this.ShowFinishMsg();

--
Gitblit v1.8.0