From 07466c19110693e3e439a7d7c8ad0bc21d9b3287 Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期三, 29 四月 2020 09:14:01 +0800 Subject: [PATCH] 优化代码,更改门锁需求接口 --- ZigbeeApp/Shared/Phone/ZigBee/Device/CommonDevice.cs | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/ZigBee/Device/CommonDevice.cs b/ZigbeeApp/Shared/Phone/ZigBee/Device/CommonDevice.cs index f73ef01..f2e05ad 100755 --- a/ZigbeeApp/Shared/Phone/ZigBee/Device/CommonDevice.cs +++ b/ZigbeeApp/Shared/Phone/ZigBee/Device/CommonDevice.cs @@ -238,12 +238,16 @@ //缁х數鍣� IconPath = "Device/RelayEpoint.png"; } - else if (this.Type == DeviceType.Thermostat || this.Type == DeviceType.FreshAir) + else if (this.Type == DeviceType.Thermostat) { - //绌鸿皟 - //鏂伴鍜岀┖璋冨浘鏍囩浉鍚� + //绌鸿皟 IconPath = "Device/AirConditionerEpoint.png"; } + else if (this.Type == DeviceType.FreshAir) + { + //鏂伴 + IconPath = "Device/FreshAirEpoint.png"; + } else if (this.Type == DeviceType.FreshAirHumiditySensor) { //婀垮害浼犳劅鍣� -- Gitblit v1.8.0