From ec5a167e0366a75642e45dbd30817c1c8ae57e79 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期一, 11 九月 2023 15:34:29 +0800
Subject: [PATCH] 备份

---
 OnPro/HDL_ON/UI/UI2/FuntionControlView/Light/ColorTureLampPageBLL.cs |   32 +-------------------------------
 1 files changed, 1 insertions(+), 31 deletions(-)

diff --git a/OnPro/HDL_ON/UI/UI2/FuntionControlView/Light/ColorTureLampPageBLL.cs b/OnPro/HDL_ON/UI/UI2/FuntionControlView/Light/ColorTureLampPageBLL.cs
index 113b140..ac1f812 100644
--- a/OnPro/HDL_ON/UI/UI2/FuntionControlView/Light/ColorTureLampPageBLL.cs
+++ b/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(() =>
@@ -147,17 +137,7 @@
         void LoadEvent_DimmerBar()
         {
             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)

--
Gitblit v1.8.0