wxr
2022-06-27 4047f825119fd65a8ed41ade4b2324d8a7f94902
HDL_ON/UI/UI2/FuntionControlView/Light/DimmerPage.cs
@@ -262,9 +262,35 @@
                DriverLayer.Control.Ins.SendReadCommand(function);
            })
            { IsBackground = true }.Start();
            new System.Threading.Thread(() => {
                while (true)
                {
                    System.Threading.Thread.Sleep(500);
                    if (curDimmerStatus)
                    {
                        continue;
                    }
                    if ( onDimmerBar)
                    {
                        onDimmerBar = false;
                        continue;
                    }
                    else
                    {
                        DriverLayer.Control.Ins.SendReadCommand(function);
                    }
                }
            })
            { IsBackground = true }.Start();
        }
    }
}