自动化立体仓库 - WMS系统
1
zhang
5 天以前 99b819fb7354c86ef4111a1b3465f63d6d263fd7
src/main/java/com/zy/asrs/controller/AgvOpenController.java
@@ -90,6 +90,15 @@
                return r;
            }
        }
        try {
            if (!Cools.isEmpty(agvWrkMast.getBarcode()) && !Cools.isEmpty(param.getPodCode())) {
                if (!agvWrkMast.getBarcode().equals(param.getPodCode())) {
                    log.info("AGV回调的返回的托盘码和工作档托盘不一致,{}{}", agvWrkMast.getBarcode(), param.getPodCode());
                }
            }
        } catch (Exception e) {
            e.printStackTrace();
        }
        if (agvWrkMast.getIoType().equals(121)) {
            try {
                if (agvWrkMast.getWrkSts().equals(12L)) {
@@ -173,17 +182,7 @@
    end {
        @Transactional
        public void success(AgvWrkMast agvWrkMast, AgvTaskCallBackParam param) {
            try {
                if (!Cools.isEmpty(agvWrkMast.getBarcode()) && !Cools.isEmpty(param.getPodCode())) {
                    if (!agvWrkMast.getBarcode().equals(param.getPodCode())) {
                        agvWrkMast.setTakeNone(agvWrkMast.getBarcode() + "!=" + param.getPodCode());
                        log.info("AGV回调的返回的托盘码和工作档托盘不一致,{}{}", agvWrkMast.getBarcode(), param.getPodCode());
                        log.error("AGV回调的返回的托盘码和工作档托盘不一致,{}{}", agvWrkMast.getBarcode(), param.getPodCode());
                    }
                }
            } catch (Exception e) {
            }
            //修改AGV工作档的工作状态为205.工作完成
            agvWrkMast.setWrkSts(205L);
@@ -367,6 +366,15 @@
        }
    }
    public static void main(String[] args) {
        try {
            String s = null;
            System.out.println(s.equals("1"));
        }catch (Exception e){
        }
    }
}