From 8aa777aedd7492b7f2e28a172c2874f4ee7366a1 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期五, 18 三月 2022 10:46:27 +0800
Subject: [PATCH] 暂时移除离线功能

---
 HDL_ON/UI/UI2/FuntionControlView/Light/RGBPageBLL.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/HDL_ON/UI/UI2/FuntionControlView/Light/RGBPageBLL.cs b/HDL_ON/UI/UI2/FuntionControlView/Light/RGBPageBLL.cs
index ef4bf1b..b945f83 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Light/RGBPageBLL.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Light/RGBPageBLL.cs
@@ -88,7 +88,7 @@
         /// </summary>
         void LoadColorChangeEvent()
         {
-            if (!function.online)
+            if (!function.online2d)
             {
                 new Tip()
                 {
@@ -215,7 +215,7 @@
 
             dimmerBar.OnStopTrackingTouchEvent = (sender, e) =>
             {
-                if (!function.online)
+                if (!function.online2d)
                 {
                     new Tip()
                     {
@@ -237,7 +237,7 @@
 
                 Control.Ins.SendWriteCommand(function, d);
             };
-            if (function.online)
+            if (function.online2d)
             {
                 dimmerBar.OnStartTrackingTouchEvent = (sender, e) =>
                 {
@@ -336,7 +336,7 @@
         {
             btnRestoredPoint.MouseUpEventHandler = (sender, e) =>
             {
-                if (!function.online)
+                if (!function.online2d)
                 {
                     return;
                 }

--
Gitblit v1.8.0