|
|
|
@ -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
|
|
|
|
|
{
|
|
|
|
|