From 71993d3611c008aed7013ff9f664e404f084507f Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期四, 24 十二月 2020 23:15:26 +0800
Subject: [PATCH] 色温灯异常跳动问题

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

diff --git a/HDL_ON/UI/UI2/FuntionControlView/Light/ColorTureLampPageBLL.cs b/HDL_ON/UI/UI2/FuntionControlView/Light/ColorTureLampPageBLL.cs
index 71f1190..306075a 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Light/ColorTureLampPageBLL.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Light/ColorTureLampPageBLL.cs
@@ -38,7 +38,7 @@
                         bodyView.barColorTemplatrue.Enable = uFunction.trait_on_off.curValue.ToString() == "on";
                         var cct = 27;
                         int.TryParse(uFunction.Attr_CCT.curValue.ToString(), out cct);
-                        bodyView.barColorTemplatrue.Progress = cct;
+                        bodyView.barColorTemplatrue.Progress = cct / 100;
                         //璁剧疆鍒濆鍊�
                         bodyView.barColorTemplatrue.SetCustomText(bodyView.barColorTemplatrue.Progress * 100 + "K");
 

--
Gitblit v1.8.0