From 525d4d5c18ad5f8a7976f1fd20cef7f1d7e82831 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期五, 17 四月 2020 11:22:20 +0800
Subject: [PATCH] 2020-04-17 1.项目引用库更新。 2.备份上传和下载速度优化。

---
 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