diff --git a/SlnMesnac.Business/PalletStowBusiness.cs b/SlnMesnac.Business/PalletStowBusiness.cs index 4653b12..0cb6b2b 100644 --- a/SlnMesnac.Business/PalletStowBusiness.cs +++ b/SlnMesnac.Business/PalletStowBusiness.cs @@ -97,7 +97,7 @@ namespace SlnMesnac.Business if (!plc.readBoolByAddress(GetPlcAddressByConfigKey("空托到位"))) { - _logger.LogInformation("等待空托盘到位信号触发......"); + // _logger.LogInformation("等待空托盘到位信号触发......"); Thread.Sleep(5000); continue; } diff --git a/SlnMesnac.Extensions/PlcFactorySetup.cs b/SlnMesnac.Extensions/PlcFactorySetup.cs index ee6f7f4..9b8106f 100644 --- a/SlnMesnac.Extensions/PlcFactorySetup.cs +++ b/SlnMesnac.Extensions/PlcFactorySetup.cs @@ -51,7 +51,7 @@ namespace SlnMesnac.Extensions { Log.Information("HslCommunication激活失败,可用时长24小时"); } - Log.Information("HslCommunication 11.8.1.0激活成功"); + Log.Information("HslCommunication 11.8.1.0激活成功"); if (appConfig.plcConfig != null) { foreach (var item in appConfig.plcConfig) @@ -65,9 +65,7 @@ namespace SlnMesnac.Extensions { Log.Information($"PLC:{item.plcIp}:{item.plcPort};连接成功,时间:{DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")}"); - - } else {