From 6d3ba9484472d090532434e53667c096652149ce Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期五, 25 九月 2020 09:56:14 +0800
Subject: [PATCH] 202009251

---
 HDL_ON/UI/UI2/FuntionControlView/Light/DimmerPageBLL.cs |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/UI/UI2/FuntionControlView/Light/DimmerPageBLL.cs b/HDL_ON/UI/UI2/FuntionControlView/Light/DimmerPageBLL.cs
index 5ba2ea3..0374f5d 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Light/DimmerPageBLL.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Light/DimmerPageBLL.cs
@@ -95,6 +95,7 @@
                 System.Collections.Generic.Dictionary<string, string> d = new System.Collections.Generic.Dictionary<string, string>();
                 d.Add("brightness", light.brightness.ToString());
                 Control.SendWriteCommand(light, d);
+                light.fadeTime = barFadeTime.Progress;
             };
             dimmerBar.OnProgressChangedEvent = (sender, e) => {
                 light.fadeTime = 0;

--
Gitblit v1.8.0