From 691dbe24f5724f153e07947c7b75bdfea5f0b6d5 Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期二, 24 九月 2024 16:15:15 +0800
Subject: [PATCH] 离线控制模式

---
 HDL_ON/DAL/Mqtt/MqttClient.cs |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/HDL_ON/DAL/Mqtt/MqttClient.cs b/HDL_ON/DAL/Mqtt/MqttClient.cs
index cea69ec..36272cc 100644
--- a/HDL_ON/DAL/Mqtt/MqttClient.cs
+++ b/HDL_ON/DAL/Mqtt/MqttClient.cs
@@ -353,10 +353,10 @@
             }
             MainPage.LinkHdlMqttCount++;
 
-            if (!UserInfo.Current.IsLogin)
-            {
-                return;
-            }
+            //if (!UserInfo.Current.IsLogin)
+            //{
+            //    return;
+            //}
             if (DB_ResidenceData.Instance.CurrentRegion == null || DB_ResidenceData.Instance.CurrentRegion.id == null)
             {
                 return;
@@ -868,10 +868,10 @@
                     return;
             }
 
-            if (!UserInfo.Current.IsLogin)
-            {
-                return;
-            }
+            //if (!UserInfo.Current.IsLogin)
+            //{
+            //    return;
+            //}
 
             DisConnectRemoteMqttClient("鎸や笅绾�");
 

--
Gitblit v1.8.0