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;
} }

@ -51,7 +51,7 @@ namespace SlnMesnac.Extensions
{ {
Log.Information("HslCommunication激活失败可用时长24小时"); Log.Information("HslCommunication激活失败可用时长24小时");
} }
Log.Information("HslCommunication 11.8.1.0激活成功"); Log.Information("HslCommunication 11.8.1.0激活成功");
if (appConfig.plcConfig != null) if (appConfig.plcConfig != null)
{ {
foreach (var item in appConfig.plcConfig) foreach (var item in appConfig.plcConfig)
@ -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