wxr
2020-09-01 7d005a7618e3d7a80d8ede3baf6ecc4bf8019cd5
HDL_ON/UI/UI2/FuntionControlView/Light/DimmerPage.cs
@@ -133,7 +133,7 @@
                Progress = light.brightness,
            };
            controlView.AddChidren(dimmerBar);
            if(light.on_off == "on")
            if(light.trait_on_off.value.ToString() == "on")
            {
                dimmerBar.SetProgressBarColors(CSS_Color.AuxiliaryColor1, CSS_Color.AuxiliaryColor1);
            }
@@ -210,7 +210,7 @@
                Height = Application.GetMinRealAverage(40),
                UnSelectedImagePath = "Public/PowerClose.png",
                SelectedImagePath = "Public/PowerOpen.png",
                IsSelected = light.on_off == "on",
                IsSelected = light.trait_on_off.value.ToString() == "on",
                //Tag = 
            };
            controlView.AddChidren(btnSwitch);