wxr
2023-05-09 76fca0e9a011eb36081e34b875a5d7399d4de3e9
HDL_ON/UI/UI2/FuntionControlView/Light/DimmerPageBLL.cs
@@ -179,6 +179,7 @@
                    function.trait_on_off.curValue = btnSwitch.IsSelected ? "on" : "off";
                    System.Collections.Generic.Dictionary<string, string> d = new System.Collections.Generic.Dictionary<string, string>();
                    d.Add(FunctionAttributeKey.OnOff, function.trait_on_off.curValue.ToString());
                    d.Add(FunctionAttributeKey.FadeTime, barFadeTime.Progress.ToString());
                    //if (btnSwitch.IsSelected)
                    //{
                    //    if(function.lastBrightness == 0)