| | |
| | | */ |
| | | @Component |
| | | public class AutoAssignAGVTasks { |
| | | private static final Logger log = LoggerFactory.getLogger(WorkMastScheduler.class); |
| | | private static final Logger log = LoggerFactory.getLogger(AutoAssignAGVTasks.class); |
| | | |
| | | @Autowired |
| | | private WaitPakinService waitPakinService; |
| | |
| | | * 自动派发入库任务给AGV |
| | | */ |
| | | @Scheduled(cron = "0/3 * * * * ? ") |
| | | private synchronized void execute(){ |
| | | public synchronized void execute(){ |
| | | /** |
| | | * agv状态 |
| | | * be_batch |
| | |
| | | * 自动派发补空板任务给AGV |
| | | */ |
| | | @Scheduled(cron = "0/3 * * * * ? ") |
| | | private synchronized void autoFillEmptyPallets(){ |
| | | public synchronized void autoFillEmptyPallets(){ |
| | | /** |
| | | * 该字段是组托入库自动出发补空托盘标记 |
| | | * item_num |
| | |
| | | * 自动派发出库任务给agv搬运 |
| | | */ |
| | | @Scheduled(cron = "0/3 * * * * ? ") |
| | | private synchronized void autoOut(){ |
| | | public synchronized void autoOut(){ |
| | | List<WrkMast> wrkMasts = wrkMastService.selectList(new EntityWrapper<WrkMast>().eq("wrk_sts", 30)); |
| | | if (wrkMasts.isEmpty()) { |
| | | return; |
| | |
| | | * 入库任务自动解绑agv站点 |
| | | */ |
| | | @Scheduled(cron = "0/3 * * * * ? ") |
| | | private synchronized void UnbindTheSite(){ |
| | | public synchronized void UnbindTheSite(){ |
| | | List<WrkMast> wrkMasts = wrkMastService.selectList(new EntityWrapper<WrkMast>() |
| | | .in("io_type",1,53) |
| | | .ge("wrk_sts", 2) |