From 9ca2281d589fbd4b35177d1846974f17d12095ae Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期四, 16 四月 2020 15:12:02 +0800 Subject: [PATCH] 2020-04-16 1.更新 --- Crabtree/SmartHome/UI/SimpleControl/Phone/Light/UserDeviceToLight.cs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Crabtree/SmartHome/UI/SimpleControl/Phone/Light/UserDeviceToLight.cs b/Crabtree/SmartHome/UI/SimpleControl/Phone/Light/UserDeviceToLight.cs index 714c35c..c17cf22 100644 --- a/Crabtree/SmartHome/UI/SimpleControl/Phone/Light/UserDeviceToLight.cs +++ b/Crabtree/SmartHome/UI/SimpleControl/Phone/Light/UserDeviceToLight.cs @@ -92,7 +92,7 @@ if (light.Type == DeviceType.LightDimming || light.Type == DeviceType.LightMixDimming || light.Type == DeviceType.LightDALI) { if ((light as LightDimming).CurrentBrightness > 0) brighingCount++; - } else if (light.Type == DeviceType.LightSwitch || light.Type == DeviceType.LightMixSwitch) + } else if (light.Type == DeviceType.LightSwitch || light.Type == DeviceType.LightMixSwitch || light.Type == DeviceType.LightEnergySwitch) if ((light as LightSwitch).CurrentBrightness == 100) brighingCount++; if (light.Type == DeviceType.LightRGB) -- Gitblit v1.8.0