From 9db9c6dc8ad9e43cbf2ed3fc6c24010bcf2750b2 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期五, 01 十二月 2023 11:10:32 +0800 Subject: [PATCH] 1 --- HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/AcControlPage.cs | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/AcControlPage.cs b/HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/AcControlPage.cs index d5f0715..b87fc59 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/AcControlPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/AcControlPage.cs @@ -1069,18 +1069,19 @@ if (device.trait_on_off.curValue.ToString() == "on") { btnMode.IsSelected = btnSwing.IsSelected = btnWindSpeed.IsSelected = true; - setTempBar.Enable = true; + //setTempBar.Enable = true; setTempBar.ProgressBarColor = CSS_Color.MainColor; btnSwitch.IsSelected = true; - if (device.GetAttrState(FunctionAttributeKey.Mode) == "fan") - { - setTempBar.IsClickable = false; - } - else - { - setTempBar.IsClickable = true; - } + //if (device.GetAttrState(FunctionAttributeKey.Mode) == "fan") + //{ + // setTempBar.IsClickable = false; + //} + //else + //{ + // setTempBar.IsClickable = true; + //} + } else { @@ -1092,13 +1093,12 @@ setTempBar.IsClickable = false; } - if (device.GetAttrState(FunctionAttributeKey.Mode) == "dry") + if (device.GetAttrState(FunctionAttributeKey.Mode) == "dry" || device.GetAttrState(FunctionAttributeKey.Mode) == "fan") { setTempBar.IsOffline = true; setTempBar.IsClickable = false; - } - else + }else { setTempBar.IsOffline = false; setTempBar.IsClickable = true; -- Gitblit v1.8.0