| | |
| | | frameback.BackgroundImagePath = "Item/BottomButtonGround.png";
|
| | | bodyFrameLayout.AddChidren(frameback);
|
| | | var btnReDo = new NormalViewControl(300, 65, true);
|
| | | btnReDo.IsBold = true;
|
| | | btnReDo.TextColor = UserCenterColor.Current.White;
|
| | | btnReDo.TextSize = 16;
|
| | | btnReDo.Y = Application.GetRealHeight(49);
|
| | |
| | | //计时时间
|
| | | int timeCount = 0;
|
| | | //超时时间
|
| | | int timeOut = 120;
|
| | | int timeOut = 240;
|
| | | while (btnGwImage.Parent != null)
|
| | | {
|
| | | timeCount++;
|
| | |
| | | {
|
| | | //需要重新绑定
|
| | | this.dicZbGatewayDiv[wayId] = 2;
|
| | | //获取到了新网关
|
| | | this.newGatewayGetting = true;
|
| | | }
|
| | |
|
| | | if (mode == GatewayBindMode.First)
|
| | |
| | | /// <summary>
|
| | | /// 界面关闭
|
| | | /// </summary>
|
| | | public override void CloseForm()
|
| | | public override void CloseFormBefore()
|
| | | {
|
| | | ZigBee.Common.Application.IsSearchingGateway = false;
|
| | | //停止Wi-Fi配网
|
| | | HdlWifiLogic.Current.StopSmartConnection();
|
| | |
|
| | | if (UserCenterResourse.listActionFormId.Contains("UserMainForm") == false)
|
| | | {
|
| | | //刷新主页
|
| | | UserView.UserPage.Instance.Fresh();
|
| | | }
|
| | | base.CloseForm();
|
| | | base.CloseFormBefore();
|
| | | }
|
| | |
|
| | | #endregion
|