| | |
| | | this.StartTopicTimeOutThread();
|
| | | return;
|
| | | }
|
| | | //中断主题超时线程
|
| | | this.topTimeOut = -100;
|
| | |
|
| | | lock (this.dicNewDevice)
|
| | | {
|
| | |
| | | }
|
| | | else if (topic == gatewayId + "/DeviceInComingRespon")
|
| | | {
|
| | | this.topTimeOut = topMaxTime;
|
| | | //网关最终上报节点设备信息
|
| | | this.SetDeviceProgressValue(6);
|
| | | return 1;
|
| | |
| | | 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));
|