From c0c734d7a84cf7105401878ffc4b64cbb67621d1 Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期五, 01 十一月 2024 15:02:24 +0800 Subject: [PATCH] 更新极光Sdk531 --- 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