diff --git a/acs/nladmin-system/nlsso-server/src/main/java/org/nl/acs/device_driver/basedriver/agv/ndcone/AgvNdcOneDeviceDriver.java b/acs/nladmin-system/nlsso-server/src/main/java/org/nl/acs/device_driver/basedriver/agv/ndcone/AgvNdcOneDeviceDriver.java index eddb516..593255b 100644 --- a/acs/nladmin-system/nlsso-server/src/main/java/org/nl/acs/device_driver/basedriver/agv/ndcone/AgvNdcOneDeviceDriver.java +++ b/acs/nladmin-system/nlsso-server/src/main/java/org/nl/acs/device_driver/basedriver/agv/ndcone/AgvNdcOneDeviceDriver.java @@ -231,7 +231,7 @@ public class AgvNdcOneDeviceDriver extends AbstractDeviceDriver implements Devic StandardInspectSiteDeviceDriver standardInspectSiteDeviceDriver; if(device.getDeviceDriver() instanceof StandardInspectSiteDeviceDriver){ standardInspectSiteDeviceDriver = (StandardInspectSiteDeviceDriver) device.getDeviceDriver(); - if(standardInspectSiteDeviceDriver.getAction()==1&& + if( //电气那边是怕取完货,光电一直有货信号,这样下一个任务员工没有放到位也会继续生成任务,取货时会有问题 standardInspectSiteDeviceDriver.getMove()==0){ standardInspectSiteDeviceDriver.writing(2); diff --git a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/TBXBKJTask.java b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/TBXBKJTask.java index 731dd85..57b7c25 100644 --- a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/TBXBKJTask.java +++ b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/TBXBKJTask.java @@ -134,9 +134,8 @@ public class TBXBKJTask extends AbstractTask { if(task.getTask_code().equals(schBasePoint.getIng_task_code())){ return schBasePoint; } - //点位允许取货且已被任务锁定则抛异常 - if (schBasePoint.getVehicle_qty() > 0 && - (ObjectUtil.isNotEmpty(schBasePoint.getIng_task_code()))) { + //点位已被任务锁定则抛异常,暂时不反馈 + if ( (ObjectUtil.isNotEmpty(schBasePoint.getIng_task_code()))) { throw new BadRequestException("当前点位"+ schBasePoint.getPoint_code()+"已被任务锁定!"); } if (schBasePoint.getVehicle_qty() > 0 &&