|
|
|
@ -767,7 +767,7 @@ namespace SlnMesnac.Business
|
|
|
|
|
}
|
|
|
|
|
if (!plc.readBoolByAddress(GetPlcAddressByConfigKey("2楼码垛到位信号")))
|
|
|
|
|
{
|
|
|
|
|
_logger.LogInformation("等待空托盘到位信号触发......");
|
|
|
|
|
//_logger.LogInformation("等待空托盘到位信号触发......");
|
|
|
|
|
Thread.Sleep(5000);
|
|
|
|
|
continue;
|
|
|
|
|
}
|
|
|
|
@ -775,7 +775,7 @@ namespace SlnMesnac.Business
|
|
|
|
|
RealPalletTask realPalletTask = _realPalletTaskService.Query().FirstOrDefault();
|
|
|
|
|
if (realPalletTask != null)
|
|
|
|
|
{
|
|
|
|
|
_logger.LogInformation("空托盘到位信号触发,已经有读取托盘,不再读取......");
|
|
|
|
|
// _logger.LogInformation("空托盘到位信号触发,已经有读取托盘,不再读取......");
|
|
|
|
|
Thread.Sleep(5000);
|
|
|
|
|
continue;
|
|
|
|
|
}
|
|
|
|
|