From 1ef5d4c4dc6c31ab83a072ef6f639ab9d6c3f6f0 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期二, 16 四月 2024 10:22:33 +0800
Subject: [PATCH] 图片更新

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

diff --git a/HDL_ON/UI/UI2/FuntionControlView/Electrical/FanPageBLL.cs b/HDL_ON/UI/UI2/FuntionControlView/Electrical/FanPageBLL.cs
index aed7f73..9846580 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Electrical/FanPageBLL.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Electrical/FanPageBLL.cs
@@ -62,11 +62,10 @@
         {
             btnSwitchIcon.MouseUpEventHandler += (sender, e) =>
             {
-                if (!function.online)
+                if (!function.isOnline())
                 {
                     new Tip()
                     {
-                            MaxWidth = Application.GetRealWidth(300),
                         CloseTime = 1,
                         Text = Language.StringByID(StringId.DeviceOfflineCannotOption),
                         Direction = AMPopTipDirection.None,
@@ -87,7 +86,7 @@
             };
             btnSwitch.MouseUpEventHandler += (sender, e) =>
             {
-                if (!function.online)
+                if (!function.isOnline())
                 {
                     new Tip()
                     {
@@ -109,7 +108,7 @@
                 { IsBackground = true }.Start();
             };
 
-            if (function.online)
+            if (function.isOnline())
             {
                 barGradualChange.OnStopTrackingTouchEvent = (sender, e) =>
                 {

--
Gitblit v1.8.0