From af1cb3ecd0f4b0589e00b28f7f9edccf39e6e12b Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 10 九月 2020 16:15:11 +0800 Subject: [PATCH] 202009101 --- HDL_ON/UI/UI2/FuntionControlView/EnvironmentalScience/EnvironmentalSciencePageBLL.cs | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/EnvironmentalScience/EnvironmentalSciencePageBLL.cs b/HDL_ON/UI/UI2/FuntionControlView/EnvironmentalScience/EnvironmentalSciencePageBLL.cs index 86d16e0..9be73c0 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/EnvironmentalScience/EnvironmentalSciencePageBLL.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/EnvironmentalScience/EnvironmentalSciencePageBLL.cs @@ -45,12 +45,14 @@ else if (tag == "SensorLevel") { (btn as Button).TextID = sensor.levelTextList[sensor.curLevel - 1]; + (btn as Button).TextColor = sensor.levelColorList[sensor.curLevel - 1]; } } } else if (btn.GetType() == typeof(ArcSeekBar)) { (btn as ArcSeekBar).ProgressBarColor = sensor.levelColorList[sensor.curLevel - 1]; + (btn as ArcSeekBar).Progress = (96 / sensor.levelColorList.Count) * sensor.curLevel; } } -- Gitblit v1.8.0