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/TuyaAirCleanerPage.cs |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/HDL_ON/UI/UI2/FuntionControlView/Electrical/TuyaAirCleanerPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Electrical/TuyaAirCleanerPage.cs
index 0bc953c..d7ebc0c 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Electrical/TuyaAirCleanerPage.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Electrical/TuyaAirCleanerPage.cs
@@ -540,7 +540,7 @@
         /// <param name="value">auto:鑷姩  sleep:鐫$湢  manual:鎵嬪姩  strong:寮虹儓</param>
         private void SendModeComand(string value)
         {
-            if (!device.online)
+            if (!device.online2d)
             {
                 new Tip()
                 {
@@ -569,7 +569,7 @@
         /// <param name="value">canel:鍙栨秷 1:1灏忔椂 2:2灏忔椂 3:4灏忔椂 4:8灏忔椂</param>
         private void SendTimingComand(string value)
         {
-            if (!device.online)
+            if (!device.online2d)
             {
                 new Tip()
                 {
@@ -598,7 +598,7 @@
         /// <param name="value">1:浣庢。 2:涓。 3:楂樻。</param>
         private void SendFanSpeedComand(string value)
         {
-            if (!device.online)
+            if (!device.online2d)
             {
                 new Tip()
                 {
@@ -626,7 +626,7 @@
         /// </summary>
         private void SendSwitchComand()
         {
-            if (!device.online)
+            if (!device.online2d)
             {
                 new Tip()
                 {
@@ -663,7 +663,7 @@
         /// </summary>
         private void SendEnableComand(MostRightIconControl btnSwitch, string sendKey, string value)
         {
-            if (!device.online)
+            if (!device.online2d)
             {
                 new Tip()
                 {

--
Gitblit v1.8.0