| | |
| | | if (gateWayExist == true)
|
| | | {
|
| | | btnGateName = new FrameCaptionInputControl(caption, deviceName, listview.rowSpace / 2);
|
| | | btnGateName.txtInput.MaxByte = 48;//限制只能输入48个字节
|
| | | 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();
|