*
lsh
2025-05-22 6c679ea7d1acdd67c7c2d4c7302b6420bd3fbcd5
src/main/java/com/zy/core/model/protocol/RgvProtocol.java
@@ -38,17 +38,21 @@
    /**
     * 任务号
     */
    public Short taskNo = 0;
    public Long taskNo = 0L;
    /**
     * 有物
     */
    public Short loaded;//0 无物;1 有物
    public Short loaded = -1;//0 无物;1 有物
    /**
     * RGV当前位置
     */
    public Long RgvPos = 0L;
    /**
     * RGV目的位置
     */
    public Long RgvPosDestination = 0L;
    /**
@@ -81,12 +85,12 @@
    /**
     * 车身
     */
    public Long carBodyJiaoMing = 0L;
    public Long carBodyJiaoMing = 2000L;
    /**
     * 车身
     */
    public Long carBodyKunPeng = 0L;
    public Long carBodyKunPeng = 15000L;
    /**
     * 是否启用
@@ -121,6 +125,14 @@
        return basRgv;
    }
    public long getRgvPosDestinationOrPos(boolean sign){
        if (!sign){
            return RgvPosDestination>RgvPos? RgvPosDestination:RgvPos;
        } else {
            return RgvPosDestination<RgvPos? RgvPosDestination:RgvPos;
        }
    }
    public void setxSpeed(Short xSpeed) {
        this.xSpeed = Float.valueOf(xSpeed);
    }