自动化立体仓库 - WCS系统
#
18516761980
2022-08-10 ee8156e007c05261c9d727a87f83ee1cb11fea7e
src/main/java/com/zy/core/MainProcess.java
@@ -5,7 +5,6 @@
import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
import javax.annotation.PreDestroy;
@@ -23,8 +22,6 @@
    private MainServiceImpl mainService;
    // 所属线程
    private Thread thread;
    @Value("${crnBackHp.enable}")
    private boolean crnBackHp;
    /**
     * =====>>  开始工作
@@ -62,16 +59,13 @@
                    // 堆垛机异常信息记录
                    mainService.recCrnErr();
                    // 入库  ===>> 空栈板初始化入库,叉车入库站放货
//                    mainService.storeEmptyPlt();
                    mainService.storeEmptyPlt();
                    // 出库  ===>> 工作档信息写入led显示器
                    mainService.ledExecute();
//                    mainService.ledExecute();
                    // 其他  ===>> LED显示器复位,显示默认信息
                    mainService.ledReset();
//                    mainService.ledReset();
                    if (crnBackHp) {
                        //堆垛机没有执行中任务,设备存在入库任务时叫回原点
                        mainService.crnRebackHp();
                    }
                    mainService.outOfDevp();
                } catch (Exception e) {
                    e.printStackTrace();