From 121c045cf55c647420cb372f717e528c053295ef Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期三, 19 一月 2022 09:24:31 +0800 Subject: [PATCH] 门锁功能修改 --- HDL_ON/DAL/Mqtt/MqttClient.cs | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/HDL_ON/DAL/Mqtt/MqttClient.cs b/HDL_ON/DAL/Mqtt/MqttClient.cs index e617b29..c74affe 100644 --- a/HDL_ON/DAL/Mqtt/MqttClient.cs +++ b/HDL_ON/DAL/Mqtt/MqttClient.cs @@ -753,6 +753,9 @@ /// </summary> static void ReceiveNotifySqueezeAsync(string mMes) { +#if DEBUG + return; +#endif if (mMes == PushSignStr) return;//鏄嚜宸辩殑鐧诲綍鎺ㄩ�佷笉澶勭悊//鎴栬�呭綋鍓嶄笉鏄繙绋嬮摼鎺ョ姸鎬� //娴嬭瘯璐﹀彿锛屼笉鎸や笅绾� switch (UserInfo.Current.userMobileInfo) @@ -809,7 +812,9 @@ static void SendPushSignOut() { byte[] message = Encoding.UTF8.GetBytes(PushSignStr); +#if DEBUG MqttRemoteSend(message, 4); +#endif } /// <summary> -- Gitblit v1.8.0