| | |
| | |
|
| | | for (int j = 0; j < i_room.ListDevice.Count; j++)
|
| | | {
|
| | | var device = Common.LocalDevice.Current.GetDevice(i_room.ListDevice[j]);
|
| | | var device = HdlDeviceCommonLogic.Current.GetDevice(i_room.ListDevice[j]);
|
| | | //如果那个设备已经添加了,则不再显示
|
| | | if (device == null || HdlSafeguardLogic.Current.IsAlarmDeviceExist(this.zoonID, device) == true)
|
| | | {
|
| | |
| | | string unSelectPath = string.Empty;
|
| | | string selectPath = string.Empty;
|
| | |
|
| | | var typeInfo = Common.LocalDevice.Current.GetDeviceBelongEnumInfo(device);
|
| | | var typeInfo = HdlDeviceCommonLogic.Current.GetDeviceBelongEnumInfo(device);
|
| | | //获取图片
|
| | | Common.LocalDevice.Current.GetDeviceFunctionTypeMenuIcon(typeInfo, ref unSelectPath, ref selectPath);
|
| | | HdlDeviceCommonLogic.Current.GetDeviceFunctionTypeMenuIcon(typeInfo, ref unSelectPath, ref selectPath);
|
| | | if (dicRoomData.ContainsKey(typeInfo.BeloneText) == false)
|
| | | {
|
| | | dicRoomData[typeInfo.BeloneText] = new uRowInformation();
|