From a155c6ce1911e995d136f08b409dd0861706a3f8 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期五, 12 四月 2024 14:27:38 +0800 Subject: [PATCH] 增加3秒云服务器连接检测,连不上服务器的时候不刷新数据 --- 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