完善同入同出逻辑

This commit is contained in:
bnala 2025-10-31 22:36:33 +08:00
parent e468808b68
commit e9ab25e88f

View File

@ -77,8 +77,7 @@ namespace WCS_YongFeng
InPort = pose.wcName
};
var exitdevice = App.f_ServiceModels.FirstOrDefault(b => b.device.Point == device.BackPoint);
if (exitdevice == null || App.taskList.Any(a => a.ExitPlace == exitdevice.device.Code))
if (App.taskList.Any(a => a.ExitPlace == "EnterExit_P" + device.BackPoint))
{
vM_StationDACK.MessageID = 6;
vM_StationDACK.LoadingStatus = 1;