提交代码

This commit is contained in:
hehaibing-1996
2024-07-22 17:33:52 +08:00
parent 7b8a885669
commit 6933a10119
49 changed files with 847 additions and 403 deletions

View File

@ -46,6 +46,10 @@ namespace WCS.BLL
/// </summary>
Instore,
WebSocket,
/// <summary>
/// 指令发送接收
/// </summary>
InstructionsProcess,
}
/// <summary>

View File

@ -252,10 +252,11 @@ namespace WCS.BLL
tcpClient.Send(message);
Task.Run(() =>
{
Logs.Write($"【发送】{BitConverter.ToString(message)}", LogsType.Instructions);
var clientIpHost = tcpClient.IP + ":" + tcpClient.Port;
Logs.Write($"【发送{clientIpHost}】{BitConverter.ToString(message)}", LogsType.Instructions);
});
//发送自带15ms间隔
Thread.Sleep(15);
Thread.Sleep(18);
}
}
catch (Exception ex)