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/AcControlPage.cs |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/AcControlPage.cs b/HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/AcControlPage.cs
index cd5aefc..0bdab9a 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/AcControlPage.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/AcControlPage.cs
@@ -358,7 +358,7 @@
                 };
                 EventHandler<MouseEventArgs> eventHandler1 = (sender, e) =>
                 {
-                    if (!device.online)
+                    if (!device.online2d)
                     {
                         new Tip()
                         {
@@ -494,7 +494,7 @@
                 };
                 EventHandler<MouseEventArgs> eventHandler1 = (sender, e) =>
                 {
-                    if (!device.online)
+                    if (!device.online2d)
                     {
                         new Tip()
                         {
@@ -618,7 +618,7 @@
                 };
                 EventHandler<MouseEventArgs> eventHandler1 = (sender, e) =>
                 {
-                    if (!device.online)
+                    if (!device.online2d)
                     {
                         new Tip()
                         {
@@ -814,7 +814,7 @@
 
                 btn.MouseUpEventHandler = (sender, e) =>
                 {
-                    if (!device.online)
+                    if (!device.online2d)
                     {
                         new Tip()
                         {
@@ -877,7 +877,7 @@
         {
             btnMinus.MouseUpEventHandler = (sender, e) =>
             {
-                if (!device.online)
+                if (!device.online2d)
                 {
                     new Tip()
                     {
@@ -907,7 +907,7 @@
             };
             btnPlus.MouseUpEventHandler = (sender, e) =>
             {
-                if (!device.online)
+                if (!device.online2d)
                 {
                     new Tip()
                     {
@@ -933,7 +933,7 @@
                 d.Add(FunctionAttributeKey.SetTemp, temp.ToString());
                 Control.Ins.SendWriteCommand(device, d);
             };
-            if (!device.online)
+            if (!device.online2d)
             {
                 arcBar.OnStopTrackingTouchEvent = (sender, e) =>
                 {
@@ -994,7 +994,7 @@
 
             btnSwitch.MouseUpEventHandler = (sender, e) =>
             {
-                if (!device.online)
+                if (!device.online2d)
                 {
                     new Tip()
                     {

--
Gitblit v1.8.0