| | |
| | | @TableField("ctn_no") |
| | | private String ctnNo; |
| | | |
| | | /** |
| | | * 消防点编号 |
| | | */ |
| | | @ApiModelProperty(value= "") |
| | | @TableField("fire_no") |
| | | private String fireNo; |
| | | |
| | | /** |
| | | * 消防状态 |
| | | */ |
| | | @ApiModelProperty(value= "消防状态{0:正常,1:报警}") |
| | | @TableField("fire_status") |
| | | private Integer fireStatus=0; |
| | | |
| | | /** |
| | | * 产品状态{0:空闲,1:待测,2:测试中;3.测试完成;4.测试失败;} |
| | | */ |
| | | @ApiModelProperty(value= "产品状态{0:空闲,1:待测,2:测试中;3.测试完成;4.测试失败;}") |
| | | @TableField("pack_status") |
| | | private Integer packStatus; |
| | | |
| | | @ApiModelProperty(value= "通道") |
| | | private Integer channel; |
| | | |
| | | public String getIoTime$(){ |
| | | if (Cools.isEmpty(this.ioTime)){ |
| | | return ""; |
| | |
| | | return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.errorTime); |
| | | } |
| | | |
| | | public String getFireStatus$() { |
| | | if (null == this.fireStatus){ return null; } |
| | | switch (this.fireStatus){ |
| | | case 0: |
| | | return "未知"; |
| | | case 1: |
| | | return "报警"; |
| | | default: |
| | | return String.valueOf(this.fireStatus); |
| | | } |
| | | } |
| | | |
| | | public String getPackStatus$() { |
| | | if (null == this.packStatus){ return null; } |
| | | switch (this.packStatus){ |
| | | case 0: |
| | | return "无"; |
| | | case 1: |
| | | return "待测"; |
| | | case 2: |
| | | return "测试中"; |
| | | case 3: |
| | | return "测试完成"; |
| | | case 4: |
| | | return "测试NG"; |
| | | case 5: |
| | | return "静置中"; |
| | | case 6: |
| | | return "静置完成"; |
| | | case 7: |
| | | return "暂停测试"; |
| | | case 8: |
| | | return "紧急出库"; |
| | | default: |
| | | return String.valueOf(this.packStatus); |
| | | } |
| | | } |
| | | |
| | | } |