From 60df9596d566807ac7cccaad2c88138dd7b24d0c Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期日, 22 九月 2024 22:06:38 +0800
Subject: [PATCH] Update AppDelegate.cs

---
 HDL_ON/UI/UI2/FuntionControlView/Electrical/FanPageBLL.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/HDL_ON/UI/UI2/FuntionControlView/Electrical/FanPageBLL.cs b/HDL_ON/UI/UI2/FuntionControlView/Electrical/FanPageBLL.cs
index ef576c6..9846580 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Electrical/FanPageBLL.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Electrical/FanPageBLL.cs
@@ -62,7 +62,7 @@
         {
             btnSwitchIcon.MouseUpEventHandler += (sender, e) =>
             {
-                if (!function.online)
+                if (!function.isOnline())
                 {
                     new Tip()
                     {
@@ -86,7 +86,7 @@
             };
             btnSwitch.MouseUpEventHandler += (sender, e) =>
             {
-                if (!function.online)
+                if (!function.isOnline())
                 {
                     new Tip()
                     {
@@ -108,7 +108,7 @@
                 { IsBackground = true }.Start();
             };
 
-            if (function.online)
+            if (function.isOnline())
             {
                 barGradualChange.OnStopTrackingTouchEvent = (sender, e) =>
                 {

--
Gitblit v1.8.0