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