| | |
| | | List<WrkMast> wrkMasts = wrkMastService.selectList(new EntityWrapper<WrkMast>() |
| | | .in("wrk_sts" |
| | | , WrkStsType.INBOUND_LIFT_RUN_COMPLETE.sts |
| | | )); |
| | | ) |
| | | .orderBy("io_pri", false) |
| | | .orderBy("appe_time", true) |
| | | ); |
| | | for (WrkMast wrkMast : wrkMasts) { |
| | | boolean step1 = this.shuttleInExecuteStep1(wrkMast);//小车搬入库中 |
| | | Thread.sleep(100); |
| | |
| | | List<WrkMast> wrkMasts = wrkMastService.selectList(new EntityWrapper<WrkMast>() |
| | | .in("wrk_sts" |
| | | , WrkStsType.NEW_OUTBOUND.sts |
| | | )); |
| | | ) |
| | | .orderBy("io_pri", false) |
| | | .orderBy("appe_time", true) |
| | | ); |
| | | for (WrkMast wrkMast : wrkMasts) { |
| | | boolean step1 = this.shuttleOutExecuteStep1(wrkMast);//小车搬出库中 |
| | | Thread.sleep(100); |
| | |
| | | public synchronized void shuttleLocMoveExecute() { |
| | | try { |
| | | //查询移库任务 |
| | | List<WrkMast> wrkMasts = wrkMastService.selectList(new EntityWrapper<WrkMast>().in("wrk_sts", WrkStsType.NEW_LOC_MOVE.sts)); |
| | | List<WrkMast> wrkMasts = wrkMastService.selectList(new EntityWrapper<WrkMast>() |
| | | .in("wrk_sts", WrkStsType.NEW_LOC_MOVE.sts) |
| | | .orderBy("io_pri", false) |
| | | .orderBy("appe_time", true) |
| | | ); |
| | | for (WrkMast wrkMast : wrkMasts) { |
| | | boolean stepToTarget = this.shuttleLocMoveExecuteToTarget(wrkMast);//移库任务-小车去目标点 |
| | | if (!stepToTarget) { |