Crabtree/SmartHome/HDL/Operation/BusSocket.cs
@@ -6,6 +6,7 @@ using System.Threading; using System.Net.Sockets; using System.Net; using Shared.SimpleControl; namespace Shared { @@ -162,7 +163,7 @@ tempPacket.HaveSendCount++; byte [] messageSend; //2020-01-14 增加本地通讯加密 if (UserConfig.Instance.IsLocalEncrypt) { if (UserConfig.Instance.IsLocalEncrypt && CommonPage.needEncryptionDetection) { messageSend = Shared.Securitys.EncryptionService.AesEncryptPayload (tempPacket.Bytes, UserConfig.Instance.LocalEncryptKey); } else { messageSend = tempPacket.Bytes;