wxr
2023-11-28 f8530cf7edf28799718f2b95b3b9492ab5cc26c6
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,11 +1093,15 @@
                        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
                    {
                        setTempBar.IsOffline = false;
                        setTempBar.IsClickable = true;
                    }
                }