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

diff --git a/HDL_ON/UI/UI2/FuntionControlView/Electrical/ClothesHangerPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Electrical/ClothesHangerPage.cs
index d93b021..09b25af 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Electrical/ClothesHangerPage.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Electrical/ClothesHangerPage.cs
@@ -126,7 +126,7 @@
 
             #region 鎺у埗
             btnUp.MouseUpEventHandler = (sender, e) => {
-                if (!device.online)
+                if (!device.online2d)
                 {
                     new Tip()
                     {
@@ -151,7 +151,7 @@
             };
             //----
             btnStop.MouseUpEventHandler = (sender, e) => {
-                if (!device.online)
+                if (!device.online2d)
                 {
                     new Tip()
                     {
@@ -174,7 +174,7 @@
                 d.Add(FunctionAttributeKey.Position, "stop");
                 Control.Ins.SendWriteCommand(device, d);
             };
-            if (!device.online)
+            if (!device.online2d)
             {
                 btnUp.MouseDownEventHandler = (sender, e) => {
                     btnUp.IsSelected = true;
@@ -189,7 +189,7 @@
                 };
             }
             btnDown.MouseUpEventHandler = (sender, e) => {
-                if (!device.online)
+                if (!device.online2d)
                 {
                     new Tip()
                     {
@@ -242,7 +242,7 @@
 
                 EventHandler<MouseEventArgs> eventHandler = (sender, e) =>
                 {
-                    if (!device.online)
+                    if (!device.online2d)
                     {
                         new Tip()
                         {
@@ -281,7 +281,7 @@
 
                 EventHandler<MouseEventArgs> eventHandler = (sender, e) =>
                 {
-                    if (!device.online)
+                    if (!device.online2d)
                     {
                         new Tip()
                         {
@@ -326,7 +326,7 @@
 
                 EventHandler<MouseEventArgs> eventHandler = (sender, e) =>
                 {
-                    if (!device.online)
+                    if (!device.online2d)
                     {
                         new Tip()
                         {
@@ -376,7 +376,7 @@
 
                 EventHandler<MouseEventArgs> eventHandler = (sender, e) =>
                 {
-                    if (!device.online)
+                    if (!device.online2d)
                     {
                         new Tip()
                         {

--
Gitblit v1.8.0