From eeb6f0b4bf0a81834325638401d5fa404e53db93 Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期四, 05 九月 2024 19:41:45 +0800 Subject: [PATCH] 金茂光伏储能,热水器;自动化,空调,地暖步进判断 --- HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/FhControlPage.cs | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/FhControlPage.cs b/HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/FhControlPage.cs index ec6fda3..dfb6157 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/FhControlPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/FhControlPage.cs @@ -458,7 +458,7 @@ }; EventHandler<MouseEventArgs> eventHandler1 = (sender, e) => { - if (!device.online) + if (!device.isOnline()) { new Tip() { @@ -524,7 +524,7 @@ { btnMinus.MouseUpEventHandler = (sender, e) => { - if (!device.online) + if (!device.isOnline()) { new Tip() { @@ -552,7 +552,7 @@ }; btnPlus.MouseUpEventHandler = (sender, e) => { - if (!device.online) + if (!device.isOnline()) { new Tip() { @@ -579,7 +579,7 @@ Control.Ins.SendWriteCommand(device, d); }; - if (!device.online) + //if (!device.isOnline()) { arcBar.OnStopTrackingTouchEvent = (sender, e) => { -- Gitblit v1.8.0