|
|
|
|
@ -72,7 +72,7 @@ namespace Khd.Core.Wcs.Wcs
|
|
|
|
|
{
|
|
|
|
|
StaticData.PlcDic[2].WriteToPoint(GetTrayOverPoint.plcpointAddress, false, GetTrayOverPoint.plcpointLength.ToString());
|
|
|
|
|
IsTrayGet = false;
|
|
|
|
|
_logger.Info("三楼AGV 托盘已取走");
|
|
|
|
|
_logger.Info("三楼AGV 托盘已取走信号复位");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
catch
|
|
|
|
|
@ -743,6 +743,7 @@ namespace Khd.Core.Wcs.Wcs
|
|
|
|
|
BasePlcpoint basePlcpoint = StaticData.BasePlcpointList.First(t => t.plcpointNo == "GetTrayOver");
|
|
|
|
|
StaticData.PlcDic[2].WriteToPoint(basePlcpoint.plcpointAddress, true, basePlcpoint.plcpointLength.ToString());
|
|
|
|
|
IsTrayGet = true;
|
|
|
|
|
_logger.Info("通知PLC已经取走信号:true");
|
|
|
|
|
MesBaseBarcodeInfo? mesBaseBarcodeInfo = dbContext.MesBaseBarcodeInfo.Where(t => t.palletInfoCode == item.containerNo).FirstOrDefault();
|
|
|
|
|
if (mesBaseBarcodeInfo != null)
|
|
|
|
|
{
|
|
|
|
|
|