wei
2021-07-09 068c68295cad1967f7aafb4e5e951260ef03d4ce
HDL_ON/UI/UI2/FuntionControlView/Light/ColorTureLampPage.cs
@@ -150,7 +150,7 @@
                IsProgressTextShow = false,
            };
            controlView.AddChidren(dimmerBar);
            if (function.trait_on_off.curValue.ToString() == "on")
            if (function.trait_on_off.state.ToString() == "on")
            {
                dimmerBar.SetProgressBarColors(CSS_Color.AuxiliaryColor1, CSS_Color.AuxiliaryColor1);
            }
@@ -308,7 +308,7 @@
                Height = Application.GetRealWidth(32),
                UnSelectedImagePath = "Public/PowerClose.png",
                SelectedImagePath = "Public/PowerOpen.png",
                IsSelected = function.trait_on_off.curValue.ToString() == "on",
                IsSelected = function.trait_on_off.state.ToString() == "on",
            };
            controlView.AddChidren(btnSwitch);