|  |  |  | 
|---|
|  |  |  | * ioType 108.自动调拨 | 
|---|
|  |  |  | * crnNo :2目标楼层 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @Scheduled(cron = "0/3 * * * * ? ") | 
|---|
|  |  |  | @Scheduled(cron = "0/1 * * * * ? ") | 
|---|
|  |  |  | private synchronized void execute2(){ | 
|---|
|  |  |  | List<AgvWrkMast> agvWrkMastList = agvWrkMastService.selectList(new EntityWrapper<AgvWrkMast>() | 
|---|
|  |  |  | .eq("wrk_sts", 22) | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | if (time3 > 0 && time3 < (1000* 60 * 10)) { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<AgvWrkMast> agvWrkMasts = agvWrkMastService.selectList(new EntityWrapper<AgvWrkMast>().like("loc_no", "02F1").like("source_loc_no", "F1")); | 
|---|
|  |  |  | List<AgvWrkMast> agvWrkMasts = agvWrkMastService.selectList(new EntityWrapper<AgvWrkMast>().like("loc_no", "02F1").like("source_loc_no", "F1").eq("io_type",12)); | 
|---|
|  |  |  | if (maxTansk <= agvWrkMasts.size()){ | 
|---|
|  |  |  | return; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | 
|---|
|  |  |  | try{ | 
|---|
|  |  |  | autoMoveHandler.autoTransfers(agvLocMast,maxTansk); | 
|---|
|  |  |  | } catch (Exception e){ | 
|---|
|  |  |  | log.error("库位号"+agvLocMast.getLocNo()+"空板自动回库 库位-接驳点  库位-吸塑车间,处理失败:===》异常原因:"+e.getMessage()); | 
|---|
|  |  |  | log.error("库位号"+agvLocMast.getLocNo()+"定时移库任务 吸塑一楼 --> 吸塑二楼,处理失败:===》异常原因:"+e.getMessage()); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|