Junjie
2024-03-26 26956bc393bb08eb868aeafde10c187336ad5888
zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/thread/impl/SurayShuttleThread.java
@@ -85,15 +85,15 @@
                //小车忙状态位
                shuttleProtocol.setDeviceStatus(data.getInteger("deviceStatus"));
                //当前二维码
                shuttleProtocol.setCurrentCode(data.getString("deviceLocation"));
                shuttleProtocol.setCurrentCode(data.getString("deviceLocation") == null ? "0" : data.getString("deviceLocation"));
                //电池电量
                shuttleProtocol.setBatteryPower(data.getString("battery"));
                shuttleProtocol.setBatteryPower(data.getString("battery") == null ? "0%" : data.getString("battery"));
                //是否顶升
                shuttleProtocol.setHasLift(data.getInteger("palletStatus") == 1 ? true : false);
                //行驶方向
                shuttleProtocol.setRunDirection(data.getString("direction"));
                shuttleProtocol.setRunDirection(data.getString("direction") == null ? "none" : data.getString("direction"));
                ///读取四向穿梭车状态-end
@@ -147,6 +147,20 @@
        return this.shuttleProtocol;
    }
    @Override
    public synchronized boolean movePath() {
        return false;
    }
    @Override
    public synchronized boolean move() {
        return false;
    }
    @Override
    public synchronized boolean lift() {
        return false;
    }
    //***************设备层通讯-不同厂商设备通讯方案不一致***************