#
luxiaotao1123
2024-11-16 bb3b18aa4627e24e3428f89c90b867bad5eb40f6
zy-acs-manager/src/main/java/com/zy/acs/manager/core/service/AgvCmdService.java
@@ -42,11 +42,6 @@
        AgvProtocol protocol = AgvProtocol.build(agvAction.getAgvNo()).setMessageBody(agvAction.beMesBody(serialNo));
        // fake
        if (configService.getVal("fakeSign", Boolean.class)) {
            return BaseResult.ok();
        }
        return this.requestProcess(serialNo, protocol
                , (RequestSupport<AGV_01_UP>) result -> result.getSerialNo().equals(serialNo));
@@ -74,7 +69,8 @@
            } else {
                return BaseResult.error();
            }
        } catch (TimeoutException ex){
        } catch (TimeoutException e){
            log.error("AgvCmdService.requestProcess", e);
            return BaseResult.error();
        }
    }