| | |
| | | while (!Thread.currentThread().isInterrupted()) { |
| | | try { |
| | | // 间隔 |
| | | Thread.sleep(500); |
| | | Thread.sleep(700); |
| | | // 系统运行状态判断 |
| | | if (!SystemProperties.WCS_RUNNING_STATUS.get()) { |
| | | continue; |
| | | } |
| | | // 系统演示模式运行状态判断 |
| | | if (SystemProperties.WCS_RUNNING_STATUS_DEMO.get()) { |
| | | continue; |
| | | } |
| | | // // 系统演示模式运行状态判断 |
| | | // if (SystemProperties.WCS_RUNNING_STATUS_DEMO.get()) { |
| | | // continue; |
| | | // } |
| | | // 入库 ===>> 入库站到堆垛机站,根据条码扫描生成入库工作档 |
| | | mainService.generateStoreWrkFile(); // 组托 |
| | | // mainService.generateStoreWrkFileIsEmptyMk(); // 组托 空托 |
| | |
| | | while (!Thread.currentThread().isInterrupted()) { |
| | | try { |
| | | // 间隔 |
| | | Thread.sleep(210); |
| | | Thread.sleep(200); |
| | | // 系统运行状态判断 |
| | | if (!SystemProperties.WCS_RUNNING_STATUS.get()) { |
| | | continue; |
| | | } |
| | | // 系统演示模式运行状态判断 |
| | | if (SystemProperties.WCS_RUNNING_STATUS_DEMO.get()) { |
| | | continue; |
| | | } |
| | | // 出库 ===>> 堆垛机出库站到出库站 |
| | | mainService.crnStnToOutStn(); |
| | | // // 系统演示模式运行状态判断 |
| | | // if (SystemProperties.WCS_RUNNING_STATUS_DEMO.get()) { |
| | | // continue; |
| | | // } |
| | | // 堆垛机异常信息记录 |
| | | mainService.recCrnErr(); |
| | | // 出库 ===>> 堆垛机出库站到出库站 |
| | | mainService.crnStnToOutStn(); |
| | | // 输送线异常信息记录 |
| | | // mainService.recDevErr(); |
| | | // 出库 ===>> 工作档信息写入led显示器 |