#
tqs
2023-03-27 0b21274e100080f7c240be714f31de0a1a6d626c
src/main/java/com/zy/asrs/domain/vo/ShuttleStateTableVo.java
@@ -45,7 +45,7 @@
    /**
     * 错误编号
     */
    private Short errorCode;
    private String errorCode;
    /**
     * Plc输出状态IO
@@ -60,7 +60,7 @@
    /**
     * 错误信息码枚举
     */
    private ShuttleErrorCodeType statusErrorCodeType;
    private ShuttleErrorCodeType errorCodeType;
    /**
     * PLC输入状态
@@ -122,19 +122,19 @@
     */
    public String loca = "-";
    public String getStatusErrorCode$() {
        if(this.statusErrorCodeType == null) return null;
        return this.statusErrorCodeType.desc;
    public String getErrorCode$() {
        if(this.errorCodeType == null) return null;
        return this.errorCodeType.desc;
    }
    public void setStatusErrorCode(Short statusErrorCode) {
        this.statusErrorCode = statusErrorCode;
        this.statusErrorCodeType = ShuttleErrorCodeType.get(statusErrorCode.intValue());
        this.errorCodeType = ShuttleErrorCodeType.get(statusErrorCode);
    }
    public void setStatusErrorCode(ShuttleErrorCodeType type) {
        this.statusErrorCode = type.id.shortValue();
        this.statusErrorCodeType = type;
        this.errorCodeType = type;
    }
}