液晶标签协议对接!

This commit is contained in:
hehaibing-1996
2024-12-09 19:40:05 +08:00
parent a37918a95d
commit 1c2a34256e
11 changed files with 460 additions and 621 deletions

View File

@ -137,10 +137,11 @@ namespace WCS.WebApi.Controllers
var tcpClients = TCPClientManager.TCPClients.Select(t => new
{
RemoteIPHost = t.RemoteIPHost,
IsOnline = t.IsOnline,
IsReceivedClientOnline = t.IsReceivedClientOnline,
IsSendClientOnline = t.IsSendClientOnline,
IsFirstConnected = t.IsFirstConnected,
tcpClientIsNull = t.tcpClient == null,
tcpClientIsOnLine = t.tcpClient?.Online,
tcpClientIsNull = t.tcpSendClient == null,
tcpClientIsOnLine = t.tcpSendClient?.Online,
}).ToList();
//直接返回当前内存中缓存的货架和状态