CrabtreeOn,印度客户定制APP,迁移2.0平台版本
wxr
2023-02-01 c96d62ac9c6bb1d880a9170f9dd477fcb5f76fc0
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;