| | |
| | | /// 设备具体类型的信息
|
| | | /// </summary>
|
| | | private DeviceEnumInfo deviceEnumInfo = null;
|
| | | /// <summary>
|
| | | /// 信息编辑控件
|
| | | /// </summary>
|
| | | private InformationEditorControl tableContr = null;
|
| | |
|
| | | #endregion
|
| | |
|
| | |
| | | this.ClearBodyFrame();
|
| | |
|
| | | //初始化桌布
|
| | | var tableContr = new InformationEditorControl();
|
| | | this.tableContr = new InformationEditorControl();
|
| | | this.listview = tableContr.InitControl(bodyFrameLayout, Language.StringByID(R.MyInternationalizationString.uDeviceEditor), 562, 1175);
|
| | |
|
| | | //初始化设备回路图标
|
| | | this.InitDeviceEpointIcon();
|
| | |
|
| | | //初始化桌布完成
|
| | | tableContr.FinishInitControl(bodyFrameLayout, this.listview);
|
| | | tableContr = null;
|
| | |
|
| | | //保存
|
| | | var btnFinish = new BottomClickButton();
|
| | |
| | | rowBeloneArea.SelectRoomEvent += (roomKeys) =>
|
| | | {
|
| | | //变更房间
|
| | | Common.Room.CurrentRoom.ChangedRoom(nowSelectDevice, roomKeys);
|
| | | HdlRoomLogic.Current.ChangedRoom(nowSelectDevice, roomKeys);
|
| | | };
|
| | |
|
| | | //3路继电器或者1路调光器第七回路的配置信息
|
| | |
| | | this.AddBindRow(listRelayInfo7);
|
| | | //添加背光灯行
|
| | | this.AddBackLightRow();
|
| | | //初始化桌布完成
|
| | | tableContr.FinishInitControl(bodyFrameLayout, this.listview);
|
| | | }
|
| | |
|
| | | #endregion
|
| | |
| | | //{
|
| | | // menuCount = 2;
|
| | | //}
|
| | | var frame = new TopRightMenuControl(menuCount);
|
| | | var frame = new TopRightMenuControl(menuCount, 1);
|
| | | if (canTest == true)
|
| | | {
|
| | | //定位
|
| | |
| | | //选择的是传感器输入
|
| | | value = 65535;
|
| | | }
|
| | | var result = await HdlDevicePanelLogic.Current.EditorDryContactFunction((Panel)nowSelectDevice, value);
|
| | | var result = await HdlDevicePanelLogic.Current.EditorDryContactThirdFunction((Panel)nowSelectDevice, value);
|
| | | if (result == true)
|
| | | {
|
| | | //重新初始化菜单行,隐藏或者开放绑定目标菜单
|