From 50e21885d61b40846c3856d155033b818b00ce8e Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 14 十一月 2023 20:55:57 +0800 Subject: [PATCH] 备份 --- HDL_ON/DAL/Mqtt/MqttClient.cs | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/HDL_ON/DAL/Mqtt/MqttClient.cs b/HDL_ON/DAL/Mqtt/MqttClient.cs index 4353a7f..bb23288 100644 --- a/HDL_ON/DAL/Mqtt/MqttClient.cs +++ b/HDL_ON/DAL/Mqtt/MqttClient.cs @@ -565,7 +565,7 @@ //SetGatewayOnlineResetCheck(); //var bytes = Securitys.EncryptionService.AesDecryptPayload(e.ApplicationMessage.Payload, mqttEncryptKey); //bus鏁版嵁瑙f瀽 - var packet = new Packet(); + var packet = new Packet(e.ApplicationMessage.Payload.Length); if (!string.IsNullOrEmpty(DB_ResidenceData.Instance.HomeGateway.aesKey)) { @@ -891,9 +891,9 @@ static void SendPushSignOut() { byte[] message = Encoding.UTF8.GetBytes(PushSignStr); -#if DEBUG + MqttRemoteSend(message, 4); -#endif + } /// <summary> -- Gitblit v1.8.0