Junjie
2023-08-01 6fe9d166be361dd8a3c0075149aa0464c783867b
src/main/java/com/zy/core/model/protocol/NyShuttleProtocol.java
@@ -375,7 +375,7 @@
        if (this.getPoint() == null) {
            return "";
        }
        return NavigatePositionConvert.xyzToLocNo(this.getPoint().getX(), this.getPoint().getY(), this.getPoint().getZ());
        return NavigatePositionConvert.nyXyzToLocNo(this.getPoint().getX(), this.getPoint().getY(), this.getPoint().getZ());
    }
    public String getCoord$() {
@@ -386,7 +386,7 @@
    }
    public void setPoint(NyShuttlePointClass point) {
        String locNo = NavigatePositionConvert.xyzToLocNo(point.getX(), point.getY(), point.getZ());
        String locNo = NavigatePositionConvert.nyXyzToLocNo(point.getX(), point.getY(), point.getZ());
        this.point = point;
        this.currentLocNo = locNo;
    }
@@ -438,4 +438,14 @@
        }
    }
    // 是否处于空闲待命状态
    public Boolean isIdleNoCharge() {
        boolean res = this.free == ShuttleStatusType.IDLE.id
                && this.pakMk.equals(true)
                && this.errState == 0
                && this.taskNo == 0
                && this.protocolStatus == ShuttleProtocolStatusType.IDLE.id
                ;
        return res;
    }
}