| | |
| | |
|
| | | this.AddTopButtomRowControl("住宅ID", 400, Common.Config.Instance.Home.Id, 900);
|
| | |
|
| | | this.AddTopButtomRowControl("账号GUID", 400, Common.Config.Instance.Home.MainUserDistributedMark, 900);
|
| | | this.AddTopButtomRowControl("账号GUID", 400, string.IsNullOrEmpty(Common.Config.Instance.Guid) == true ? Common.Config.Instance.Home.MainUserDistributedMark : Common.Config.Instance.Guid, 900);
|
| | |
|
| | | this.AddNormalRowControl("住宅分享", 400, Common.Config.Instance.Home.IsOthreShare == true ? "是" : "否", 400);
|
| | |
|
| | |
| | | this.AddNormalRowControl("拥有远程权限", 400, ZigBee.Device.ZbGateway.AllowRemoteCtrl == true ? "是" : "否", 400);
|
| | |
|
| | | this.AddNormalRowControl("WIFI变量", 400, Shared.Application.IsWifi == true ? "true" : "false", 400);
|
| | |
|
| | | if (ZigBee.Common.Application.FindGateWaySocket.busSocket == null)
|
| | | {
|
| | | this.AddNormalRowControl("Socket链接", 400, "未初始化", 400);
|
| | | }
|
| | | else
|
| | | {
|
| | | this.AddNormalRowControl("Socket链接", 400, ZigBee.Common.Application.FindGateWaySocket.busSocket.Connected == true ? "true" : "false", 400);
|
| | | }
|
| | |
|
| | | int count = HdlGatewayLogic.Current.GetAllLocalGateway().Count;
|
| | | var row1 = new FrameRowControl(listView.rowSpace / 2);
|
| | |
| | |
|
| | | row1 = new FrameRowControl(listView.rowSpace / 2);
|
| | | listView.AddChidren(row1);
|
| | | row1.AddLeftCaption("清除缓存文件", 500);
|
| | | row1.AddLeftCaption("查看缓存文件", 500);
|
| | | row1.AddRightArrow();
|
| | | row1.AddBottomLine();
|
| | | row1.ButtonClickEvent += (sender, e) =>
|
| | |
| | | });
|
| | | };
|
| | | #endif
|
| | | row1 = new FrameRowControl(listView.rowSpace / 2);
|
| | | listView.AddChidren(row1);
|
| | | row1.AddLeftCaption("设备缓存变量", 500);
|
| | | row1.AddRightArrow();
|
| | | row1.AddBottomLine();
|
| | | row1.ButtonClickEvent += (sender, e) =>
|
| | | {
|
| | | var form = new HideOptionMemoryListDeviceForm();
|
| | | form.AddForm();
|
| | | };
|
| | |
|
| | |
|
| | | row1 = new FrameRowControl(listView.rowSpace / 2);
|
| | | listView.AddChidren(row1);
|
| | | row1.AddLeftCaption("上传Log", 500);
|
| | |
| | | public override void CloseFormBefore()
|
| | | {
|
| | | Shared.Phone.UserCenter.UserCenterResourse.DicReceiveGatewayTest = null;
|
| | | UserCenterResourse.HideOption.CheckCanReceiveGateway = 1;
|
| | | UserCenterResourse.HideOption.CheckCanReceiveGateway = 0;
|
| | |
|
| | | base.CloseFormBefore();
|
| | | }
|