| | |
| | | while (!Thread.currentThread().isInterrupted()) { |
| | | try { |
| | | // 间隔 |
| | | Thread.sleep(400); |
| | | Thread.sleep(500); |
| | | // 系统运行状态判断 |
| | | if (!SystemProperties.WCS_RUNNING_STATUS.get()) { |
| | | continue; |
| | |
| | | mainService.storeFinished(); |
| | | // 任务下发 |
| | | mainService.taskStart(); |
| | | // 出库 ===>> 堆垛机10分钟无任务则回到源点 |
| | | // mainService.crnStnToOutStnSou(); |
| | | // 出库 ===>> 堆垛机2分钟无任务则回到源点 |
| | | mainService.crnStnToOutStnSou(); |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | } |
| | |
| | | while (!Thread.currentThread().isInterrupted()) { |
| | | try { |
| | | // 间隔 |
| | | Thread.sleep(200); |
| | | Thread.sleep(400); |
| | | // 系统运行状态判断 |
| | | if (!SystemProperties.WCS_RUNNING_STATUS.get()) { |
| | | continue; |