| | |
| | | if (this.UpdateStatu == UpdateStatuMode.Wait)
|
| | | {
|
| | | //如果是等待模式,再次点击时,移除列表
|
| | | string gwId = HdlGatewayLogic.Current.GetGatewayId(this.upDatezbGateway);
|
| | | string gwId = this.upDatezbGateway.GwId;
|
| | | if (FirmwareUpdateResourse.dicUpdateList.ContainsKey(gwId) == true)
|
| | | {
|
| | | FirmwareUpdateResourse.dicUpdateList.Remove(gwId);
|
| | |
| | |
|
| | | //进入等待模式
|
| | | this.UpdateStatu = UpdateStatuMode.Wait;
|
| | | string gwId2 = HdlGatewayLogic.Current.GetGatewayId(this.upDatezbGateway);
|
| | | string gwId2 = this.upDatezbGateway.GwId;
|
| | | FirmwareUpdateResourse.dicUpdateList[gwId2] = this;
|
| | | //等待中…
|
| | | this.UpdateStatuChangedEvent?.Invoke(0, Language.StringByID(R.MyInternationalizationString.uWaitting));
|
| | |
| | | return;
|
| | | }
|
| | | var tempZb = (ZbGateway)objValue;
|
| | | if (HdlGatewayLogic.Current.GetGatewayId(tempZb) != HdlGatewayLogic.Current.GetGatewayId(this.upDatezbGateway))
|
| | | if (tempZb.GwId != this.upDatezbGateway.GwId)
|
| | | {
|
| | | //不是自己的网关推送,则不处理
|
| | | return;
|
| | |
| | | return;
|
| | | }
|
| | | var tempZb = (ZbGateway)objValue;
|
| | | if (HdlGatewayLogic.Current.GetGatewayId(tempZb) != HdlGatewayLogic.Current.GetGatewayId(this.upDatezbGateway))
|
| | | if (tempZb.GwId != this.upDatezbGateway.GwId)
|
| | | {
|
| | | //不是自己的网关推送,则不处理
|
| | | return;
|
| | |
| | | return;
|
| | | }
|
| | | var tempZb = (ZbGateway)objValue;
|
| | | if (HdlGatewayLogic.Current.GetGatewayId(tempZb) != HdlGatewayLogic.Current.GetGatewayId(this.upDatezbGateway))
|
| | | if (tempZb.GwId != this.upDatezbGateway.GwId)
|
| | | {
|
| | | //不是自己的网关推送,则不处理
|
| | | return;
|
| | |
| | | }
|
| | |
|
| | | var tempZb = (ZbGateway)objValue;
|
| | | if (HdlGatewayLogic.Current.GetGatewayId(tempZb) != HdlGatewayLogic.Current.GetGatewayId(this.upDatezbGateway))
|
| | | if (tempZb.GwId != this.upDatezbGateway.GwId)
|
| | | {
|
| | | //不是自己的网关推送,则不处理
|
| | | return;
|
| | |
| | | return;
|
| | | }
|
| | | var tempZb = (ZbGateway)objValue;
|
| | | if (HdlGatewayLogic.Current.GetGatewayId(tempZb) != HdlGatewayLogic.Current.GetGatewayId(this.upDatezbGateway))
|
| | | if (tempZb.GwId != this.upDatezbGateway.GwId)
|
| | | {
|
| | | //不是自己的网关推送,则不处理
|
| | | return;
|