| | |
| | | if (gateWayExist == true)
|
| | | {
|
| | | btnGateName = new FrameCaptionInputControl(caption, deviceName, listview.rowSpace / 2);
|
| | | btnGateName.txtInput.MaxByte = 32;//限制只能输入32个字节
|
| | | listview.AddChidren(btnGateName);
|
| | | btnGateName.InitControl();
|
| | | //划线
|
| | |
| | |
|
| | | //设备类型 (固定智能网关)
|
| | | caption = Language.StringByID(R.MyInternationalizationString.uDeviceType);
|
| | | var btnType = new FrameCaptionViewControl(caption, Language.StringByID(60004), listview.rowSpace / 2);
|
| | | var infoContent = Common.LocalDevice.Current.GetDeviceModelIdNameInfo("1");
|
| | | var btnType = new FrameCaptionViewControl(caption, infoContent != null ? infoContent.A类型名字 : string.Empty, listview.rowSpace / 2);
|
| | | btnType.UseClickStatu = false;
|
| | | listview.AddChidren(btnType);
|
| | | btnType.InitControl();
|
| | |
| | | rowBeloneArea.SelectRoomEvent += (roomKeys) =>
|
| | | {
|
| | | //变更网关房间
|
| | | HdlGatewayLogic.Current.ChangedGatewayRoom(this.zbGateway.GwId, roomKeys);
|
| | | HdlRoomLogic.Current.ChangedGatewayRoom(this.zbGateway.GwId, roomKeys);
|
| | | };
|
| | |
|
| | | //完成初始化桌布
|