| | |
| | | /** |
| | | * 任务状态 |
| | | */ |
| | | private Integer protocolStatus = LiftProtocolStatusType.NONE.id; |
| | | private Integer protocolStatus = LiftProtocolStatusType.IDLE.id; |
| | | |
| | | /** |
| | | * 任务状态枚举 |
| | | */ |
| | | private LiftProtocolStatusType protocolStatusType = LiftProtocolStatusType.NONE; |
| | | private LiftProtocolStatusType protocolStatusType = LiftProtocolStatusType.IDLE; |
| | | |
| | | /** |
| | | * 设备状态 |
| | | */ |
| | | private Integer deviceStatus = LiftDeviceStatusType.NONE.id; |
| | | |
| | | /** |
| | | * 设备状态枚举 |
| | | */ |
| | | private LiftDeviceStatusType deviceStatusType = LiftDeviceStatusType.NONE; |
| | | |
| | | /** |
| | | * 任务模式 |
| | |
| | | return LiftProtocolStatusType.get(this.protocolStatus).desc; |
| | | } |
| | | |
| | | public String getDeviceStatus$() { |
| | | if (this.deviceStatus == null) { |
| | | return ""; |
| | | } |
| | | |
| | | return LiftDeviceStatusType.get(this.deviceStatus).desc; |
| | | } |
| | | |
| | | public String getTaskMode$() { |
| | | if (this.taskMode == null) { |
| | | return ""; |