| | |
| | | @TableField(exist = false) |
| | | private AgvModel agvModelData; |
| | | |
| | | @TableField(exist = false) |
| | | private Boolean online = Boolean.FALSE; |
| | | |
| | | public String getAgvSts$(){ |
| | | AgvStsService service = SpringUtils.getBean(AgvStsService.class); |
| | | AgvSts agvSts = service.getById(this.agvSts); |
| | |
| | | return String.valueOf(agvModel.getName()); |
| | | } |
| | | return null; |
| | | } |
| | | |
| | | public String getStatus$(){ |
| | | if (null == this.status){ return null; } |
| | | switch (this.status){ |
| | | case 1: |
| | | return "正常"; |
| | | case 0: |
| | | return "冻结"; |
| | | default: |
| | | return String.valueOf(this.status); |
| | | } |
| | | } |
| | | |
| | | public Boolean getStatusBool(){ |