From 681e990f8c3e51672ad1e37440f35d960f9f56c1 Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期三, 07 十二月 2022 10:40:58 +0800
Subject: [PATCH] 2022年12月07日10:39:43

---
 HDL_ON/UI/UI2/FuntionControlView/Curtain/RollingShutterPageBLL.cs |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/UI/UI2/FuntionControlView/Curtain/RollingShutterPageBLL.cs b/HDL_ON/UI/UI2/FuntionControlView/Curtain/RollingShutterPageBLL.cs
index 94bfddc..a431833 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Curtain/RollingShutterPageBLL.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Curtain/RollingShutterPageBLL.cs
@@ -146,6 +146,7 @@
                         Text = Language.StringByID(StringId.DeviceOfflineCannotOption),
                         Direction = AMPopTipDirection.None,
                     }.Show(MainPage.BaseView);
+                    return;
                 }
                 new System.Threading.Thread(() =>
                 {
@@ -174,6 +175,7 @@
                         Text = Language.StringByID(StringId.DeviceOfflineCannotOption),
                         Direction = AMPopTipDirection.None,
                     }.Show(MainPage.BaseView);
+                    return;
                 }
                 new System.Threading.Thread(() => {
                     System.Threading.Thread.Sleep(2000);
@@ -199,6 +201,7 @@
                         Text = Language.StringByID(StringId.DeviceOfflineCannotOption),
                         Direction = AMPopTipDirection.None,
                     }.Show(MainPage.BaseView);
+                    return;
                 }
                 new System.Threading.Thread(() =>
                 {
@@ -235,7 +238,7 @@
             //    DriverLayer.Control.Ins.SendWriteCommand(function, d);
             //};
 
-            if (!function.online)
+            if (function.online)
             {
 
                 btnCurtainStop.MouseDownEventHandler = (sender, e) =>

--
Gitblit v1.8.0