wxr
2023-05-09 bd428f23e1eb103c19ebbf1f0165f9e2e7b0a9d0
HDL_ON/UI/UI2/FuntionControlView/Light/RGBPageBLL.cs
@@ -305,6 +305,8 @@
                    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)