| | |
| | | || device.Type == DeviceType.DimmableLight//调光器
|
| | | || device.Type == DeviceType.ColorDimmableLight//彩灯
|
| | | || device.Type == DeviceType.OnOffOutput//继电器
|
| | | || device.Type == DeviceType.ColorTemperatureLight//色温灯
|
| | | || device.Type == DeviceType.WindowCoveringDevice)//窗帘
|
| | | {
|
| | | string unSelectPath = string.Empty;
|
| | |
| | |
|
| | | var typeInfo = Common.LocalDevice.Current.GetDeviceBelongEnumInfo(device);
|
| | | //获取图片
|
| | | Common.LocalDevice.Current.GetDeviceFunctionTypeMenuIcon(typeInfo.ConcreteType, ref unSelectPath, ref selectPath);
|
| | | Common.LocalDevice.Current.GetDeviceFunctionTypeMenuIcon(typeInfo, ref unSelectPath, ref selectPath);
|
| | | if (dicRoomData.ContainsKey(typeInfo.BeloneText) == false)
|
| | | {
|
| | | dicRoomData[typeInfo.BeloneText] = new uRowInformation();
|