change - 时间校时指令全部设备下发

master
wenjy 9 months ago
parent de31124513
commit 3b64dee043

@ -154,14 +154,11 @@ namespace Ems.CollectService.Analysis
if(SendMessageAsync(client, SendMessagePackInfo))
{
logger.Debug($"向客户端:{client.ID};地址:{client.GetIPPort()};回复心跳指令成功");
if (client.ID.Contains("450063"))
{
Thread.Sleep(500);
SendMessagePackInfo.m_MessageType = (byte)CallbackSendData._SetTime;
SendMessagePackInfo.m_PackLen = new byte[] {0x00, 0x0D};
bool isRes = SendTimeSyncToClient(client, SendMessagePackInfo);
logger.Info($"向客户端:{client.ID};地址:{client.GetIPPort()};发送校时指令{(isRes ? "":"")}");
}
return true;
}
else

Loading…
Cancel
Save