From 8aa777aedd7492b7f2e28a172c2874f4ee7366a1 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期五, 18 三月 2022 10:46:27 +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 f2de9ff..085c95f 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/FhControlPage.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/FhControlPage.cs
@@ -305,7 +305,7 @@
                 };
                 EventHandler<MouseEventArgs> eventHandler1 = (sender, e) =>
                 {
-                    if (!device.online)
+                    if (!device.online2d)
                     {
                         new Tip()
                         {
@@ -371,7 +371,7 @@
         {
             btnMinus.MouseUpEventHandler = (sender, e) =>
             {
-                if (!device.online)
+                if (!device.online2d)
                 {
                     new Tip()
                     {
@@ -399,7 +399,7 @@
             };
             btnPlus.MouseUpEventHandler = (sender, e) =>
             {
-                if (!device.online)
+                if (!device.online2d)
                 {
                     new Tip()
                     {
@@ -426,7 +426,7 @@
                 Control.Ins.SendWriteCommand(device, d);
             };
 
-            if (!device.online)
+            if (!device.online2d)
             {
                 arcBar.OnStopTrackingTouchEvent = (sender, e) =>
                 {

--
Gitblit v1.8.0