From 05a85abd55bf6930a16f742abd9480efe33303df Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期三, 16 十一月 2022 16:05:15 +0800
Subject: [PATCH] 1.6.2更新

---
 HDL_ON/UI/UI2/FuntionControlView/Acst/AcstSubPage.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/HDL_ON/UI/UI2/FuntionControlView/Acst/AcstSubPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Acst/AcstSubPage.cs
index f004fbf..446bda8 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Acst/AcstSubPage.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Acst/AcstSubPage.cs
@@ -254,8 +254,8 @@
             contentView.AddChidren(btnMinValuesText);
 
 
-            int progress = 0;
-            int.TryParse(function.GetAttrState(FunctionAttributeKey.SetTemp),out progress);
+            //int progress = 0;
+            //int.TryParse(function.GetAttrState(FunctionAttributeKey.SetTemp),out progress);
 
             tempBar = new DiyImageSeekBar()
             {
@@ -268,7 +268,7 @@
                 ThumbImageHeight = Application.GetRealHeight(51),
                 ProgressBarColor = function.trait_on_off.curValue.ToString() == "on" ? curColor : CSS_Color.DividingLineColor,
                 MaxValue = 14,
-                Progress = progress - 16,
+                Progress = setTempValue - 16,
                 SeekBarPadding = Application.GetRealWidth(20),
                 IsProgressTextShow = false,
                 ProgressChangeDelayTime = 0,

--
Gitblit v1.8.0