|  |  |  | 
|---|
|  |  |  | package com.zy.asrs.domain.vo; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.core.common.SpringUtils; | 
|---|
|  |  |  | import com.zy.asrs.entity.BasShuttleErr; | 
|---|
|  |  |  | import com.zy.asrs.service.BasShuttleErrService; | 
|---|
|  |  |  | import com.zy.core.enums.ShuttleErrorCodeType; | 
|---|
|  |  |  | import com.zy.core.enums.ShuttleProtocolStatusType; | 
|---|
|  |  |  | import com.zy.core.enums.ShuttleStatusType; | 
|---|
|  |  |  | import lombok.Data; | 
|---|
|  |  |  | 
|---|
|  |  |  | private String statusErrorCode; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 错误信息码枚举 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | private ShuttleErrorCodeType errorCodeType; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * PLC输入状态 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | private Short plcInputStatus; | 
|---|
|  |  |  | 
|---|
|  |  |  | * 当前位置 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public String loca = "-"; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public String getErrorCode$() { | 
|---|
|  |  |  | if(this.errorCodeType == null) return null; | 
|---|
|  |  |  | return this.errorCodeType.desc; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public void setErrorCode(Short errorCode) { | 
|---|
|  |  |  | this.errorCode = ShuttleErrorCodeType.get(errorCode.intValue()).desc; | 
|---|
|  |  |  | this.errorCodeType = ShuttleErrorCodeType.get(errorCode.intValue()); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public void setErrorCode(ShuttleErrorCodeType type) { | 
|---|
|  |  |  | this.errorCode = type.desc; | 
|---|
|  |  |  | this.errorCodeType = type; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public String getPlcOutputLift$() { | 
|---|
|  |  |  | if (this.plcOutputLift == null) { | 
|---|