提交代码
This commit is contained in:
@ -46,6 +46,10 @@ namespace WCS.BLL
|
||||
/// </summary>
|
||||
Instore,
|
||||
WebSocket,
|
||||
/// <summary>
|
||||
/// 指令发送接收
|
||||
/// </summary>
|
||||
InstructionsProcess,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -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)
|
||||
|
Reference in New Issue
Block a user