| | |
| | | /// 空调目标 |
| | | /// </summary> |
| | | AC = 5, |
| | | /// <summary> |
| | | /// 地暖目标 |
| | | /// </summary> |
| | | Fh = 6, |
| | | } |
| | | |
| | | #endregion |
| | |
| | | { |
| | | bool result = true; |
| | | //获取设备类型的 |
| | | var deviceEnumInfo = Common.LocalDevice.Current.GetMyDeviceEnumInfo(new List<CommonDevice>() { device }); |
| | | if (deviceEnumInfo.ConcreteType == Common.DeviceConcreteType.ButtonPanel_FangyueFreshAir) |
| | | { |
| | | result = false; |
| | | } |
| | | if (deviceEnumInfo.ConcreteType == Common.DeviceConcreteType.ButtonPanel_SimpleEnvironment) |
| | | var clu = device.OutClusterList.Find((obj) => obj.OutCluster == 514); |
| | | if (clu != null) |
| | | { |
| | | result = false; |
| | | } |