From 2bf7bc432bf94d4610d0cabc5784a187207ac423 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期三, 24 三月 2021 14:10:21 +0800
Subject: [PATCH] 1.irac优化

---
 HDL_ON/UI/UI2/2-Classification/FunctionControlZone.cs |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/UI/UI2/2-Classification/FunctionControlZone.cs b/HDL_ON/UI/UI2/2-Classification/FunctionControlZone.cs
index c8b1509..96c0b3b 100644
--- a/HDL_ON/UI/UI2/2-Classification/FunctionControlZone.cs
+++ b/HDL_ON/UI/UI2/2-Classification/FunctionControlZone.cs
@@ -132,7 +132,6 @@
                 switch (function.Spk_Prefix)
                 {
                     case FunctionCategory.Curtain:
-                      
                         CurtainFragment();
                         break;
                     case FunctionCategory.Sensor:
@@ -332,7 +331,7 @@
                         ProgressTextColor = CSS_Color.FirstLevelTitleColor,
                         ProgressTextSize = CSS_FontSize.PromptFontSize_SecondaryLevel,
                         MaxValue = 100,
-                        Progress = Convert.ToInt32(function.GetAttrState(FunctionAttributeKey.BatteryState)),
+                        Progress = Convert.ToInt32(function.GetAttrState(FunctionAttributeKey.Brightness)),
                         Tag = function.sid + "_DimmerBar",
                         SeekBarPadding = Application.GetRealWidth(20),
                     };

--
Gitblit v1.8.0