1.增加根据货架配置数据自动生成模组和库位的功能(纯后台)

2.发送指令异常时日志优化
This commit is contained in:
hehaibing-1996
2025-03-07 18:14:44 +08:00
parent 9e16a001c0
commit 05a66dc2d3
3 changed files with 135 additions and 1 deletions

View File

@ -260,7 +260,8 @@ namespace WCS.BLL
}
catch (Exception ex)
{
Logs.Write("【发送指令时发生异常】" + ex.Message, LogsType.Instructions);
var clientIpHost = tcpClient.IP + ":" + tcpClient.Port;
Logs.Write($"【发送指令时发生异常{clientIpHost}】" + ex.Message, LogsType.Instructions);
//因异常断连时(网线已经被断了) 手动重连一次
if (ex is NotConnectedException)
{