黄学彪
2020-07-06 f23ad1b3f9f6193f35f72104d690b21dc67d5c1f
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlGatewayUpdateLogic.cs
@@ -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, ShowErrorMode.NO);
                    if (result != null)
                    {
                        break;
@@ -1004,7 +1004,7 @@
                    //这个时候,不应该提示超时
                    this.UpdateTimeOutRefresh();
                    await Task.Delay(5000);
                    System.Threading.Thread.Sleep(5000);
                }
                //已经能够获取数据
                this.ShowFinishMsg();