File was renamed from ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WiredGatewayRebindForm.cs |
| | |
| | | using System.Text;
|
| | | using ZigBee.Device;
|
| | |
|
| | | namespace Shared.Phone.UserCenter.GatewayAdd
|
| | | namespace Shared.Phone.UserCenter.GatewayManage
|
| | | {
|
| | | /// <summary>
|
| | | /// 重新绑定网关的界面
|
| | | /// </summary>
|
| | | public class WiredGatewayRebindForm : EditorCommonForm
|
| | | public class GatewayRebindForm : EditorCommonForm
|
| | | {
|
| | | #region ■ 变量声明___________________________
|
| | |
|
| | |
| | | //设置头部信息
|
| | | base.SetTitleText(Language.StringByID(R.MyInternationalizationString.uAddGateway));
|
| | |
|
| | | var btnLoading = new LoadingControl();
|
| | | btnLoading.Y = Application.GetRealHeight(656);
|
| | | btnLoading.Gravity = Gravity.CenterHorizontal;
|
| | | bodyFrameLayout.AddChidren(btnLoading);
|
| | | btnLoading.StartAction();
|
| | |
|
| | | //正在换绑网关,请稍候…
|
| | | var btnMsg = new NormalViewControl(bodyFrameLayout.Width, Application.GetRealHeight(60), false);
|
| | | btnMsg.Y = Application.GetRealHeight(979);
|
| | | btnMsg.TextAlignment = TextAlignment.Center;
|
| | | btnMsg.TextColor = UserCenterColor.Current.TextGrayColor3;
|
| | | btnMsg.TextID = R.MyInternationalizationString.uIsReBindingPleaseWaiting;
|
| | | bodyFrameLayout.AddChidren(btnMsg);
|
| | |
|
| | | HdlThreadLogic.Current.RunThread(async () =>
|
| | |
| | | //成功或者失败都关闭界面
|
| | | this.CloseForm();
|
| | | });
|
| | | }); |
| | | });
|
| | | }
|
| | |
|
| | | #endregion
|