wxr
2023-09-11 ec5a167e0366a75642e45dbd30817c1c8ae57e79
OnPro/HDL_ON/UI/UI2/FuntionControlView/Light/ColorTureLampPageBLL.cs
@@ -92,16 +92,6 @@
        /// </summary>
        void LoadEvet_ChangeColorTemplatrue()
        {
            if (!function.isOnline())
            {
                new Tip()
                {
                    CloseTime = 1,
                    Text = Language.StringByID(StringId.DeviceOfflineCannotOption),
                    Direction = AMPopTipDirection.None,
                }.Show(MainPage.BaseView);
                return;
            }
            barColorTemplatrue.OnProgressChangedEvent += (sender, value) =>
            {
                new System.Threading.Thread(() =>
@@ -148,16 +138,6 @@
        {
            dimmerBar.OnStopTrackingTouchEvent = (sender, e) =>
            {
                if (!function.isOnline())
                {
                    new Tip()
                    {
                        CloseTime = 1,
                        Text = Language.StringByID(StringId.DeviceOfflineCannotOption),
                        Direction = AMPopTipDirection.None,
                    }.Show(MainPage.BaseView);
                    return;
                }
                //onDimmerBar = false;
                curDimmerStatus = false;
                function.SetAttrState(FunctionAttributeKey.Brightness, dimmerBar.Progress);
@@ -226,16 +206,6 @@
        {
            btnSwitch.MouseUpEventHandler += (sender, e) =>
            {
                if (!function.isOnline())
                {
                    new Tip()
                    {
                        CloseTime = 1,
                        Text = Language.StringByID(StringId.DeviceOfflineCannotOption),
                        Direction = AMPopTipDirection.None,
                    }.Show(MainPage.BaseView);
                    return;
                }
                //function.fadeTime = barFadeTime.Progress;
                btnSwitch.IsSelected = !btnSwitch.IsSelected;
                if (btnSwitch.IsSelected)