CrabtreeOn,印度客户定制APP,迁移2.0平台版本
1
wxr
2023-03-31 d53e6af2c5f17838fa79659614b15a2a1f383399
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;