| | |
| | | private Short currentCode; |
| | | |
| | | /** |
| | | * 当前库位号 |
| | | */ |
| | | private String locNo; |
| | | |
| | | /** |
| | | * 库位号-X |
| | | */ |
| | | private int locNoX; |
| | | |
| | | /** |
| | | * 库位号-Y |
| | | */ |
| | | private int locNoY; |
| | | |
| | | /** |
| | | * 当前库位层高 |
| | | */ |
| | | private int locNoLev; |
| | | |
| | | /** |
| | | * 电池电量 |
| | | */ |
| | | public String batteryPower = "-"; |
| | |
| | | /** |
| | | * 错误编号 |
| | | */ |
| | | private Short errorCode; |
| | | private String errorCode; |
| | | |
| | | /** |
| | | * Plc输出状态IO |
| | |
| | | /** |
| | | * 错误信息码枚举 |
| | | */ |
| | | private ShuttleErrorCodeType statusErrorCodeType; |
| | | private ShuttleErrorCodeType errorCodeType; |
| | | |
| | | /** |
| | | * PLC输入状态 |
| | |
| | | */ |
| | | 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.intValue()); |
| | | } |
| | | |
| | | public void setStatusErrorCode(ShuttleErrorCodeType type) { |
| | | this.statusErrorCode = type.id.shortValue(); |
| | | this.statusErrorCodeType = type; |
| | | this.errorCodeType = type; |
| | | } |
| | | |
| | | } |