liuwf 2 weeks ago
parent 6420c10433
commit 8e8bd187d1

@ -97,7 +97,7 @@ namespace SlnMesnac.Business
if (!plc.readBoolByAddress(GetPlcAddressByConfigKey("空托到位"))) if (!plc.readBoolByAddress(GetPlcAddressByConfigKey("空托到位")))
{ {
_logger.LogInformation("等待空托盘到位信号触发......"); // _logger.LogInformation("等待空托盘到位信号触发......");
Thread.Sleep(5000); Thread.Sleep(5000);
continue; continue;
} }

@ -66,8 +66,6 @@ namespace SlnMesnac.Extensions
Log.Information($"PLC{item.plcIp}:{item.plcPort};连接成功,时间:{DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")}"); Log.Information($"PLC{item.plcIp}:{item.plcPort};连接成功,时间:{DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")}");
} }
else else
{ {

Loading…
Cancel
Save