| | |
| | | /// <param name="addLine"></param>
|
| | | private void AddRowLayout(CommonDevice device, bool addLine)
|
| | | {
|
| | | string mainKeys = Common.LocalDevice.Current.GetDeviceMainKeys(device);
|
| | | string mainKeys = HdlDeviceCommonLogic.Current.GetDeviceMainKeys(device);
|
| | |
|
| | | var rowContr = new FrameRowControl(listView.rowSpace / 2);
|
| | | listView.AddChidren(rowContr);
|
| | |
|
| | | //图标
|
| | | var btnIcon = rowContr.AddLeftIcon(81);
|
| | | Common.LocalDevice.Current.SetDeviceIconToControl(btnIcon, device);
|
| | | HdlDeviceCommonLogic.Current.SetDeviceIconToControl(btnIcon, device);
|
| | | //设备名
|
| | | var btnName = rowContr.AddLeftCaption(Common.LocalDevice.Current.GetDeviceEpointName(device), 700);
|
| | | var btnName = rowContr.AddLeftCaption(HdlDeviceCommonLogic.Current.GetDeviceEpointName(device), 700);
|
| | | btnName.TextSize = 15;
|
| | | //右箭头
|
| | | rowContr.AddRightArrow();
|
| | |
| | | /// <param name="listInfo"></param>
|
| | | private void AddAlarmSettionDataToMemory(CommonDevice device, List<Safeguard.TaskListInfo> listInfo)
|
| | | {
|
| | | string mainKeys = Common.LocalDevice.Current.GetDeviceMainKeys(device);
|
| | | string mainKeys = HdlDeviceCommonLogic.Current.GetDeviceMainKeys(device);
|
| | | if (listInfo == null || listInfo.Count == 0)
|
| | | {
|
| | | //指定为无动作模式
|