From 47d6f53823c21d1382364f051eb4fd14607ba624 Mon Sep 17 00:00:00 2001 From: yxFwq <1> Date: 星期六, 23 十一月 2024 17:23:58 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/entity/BasJar.java | 149 +++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 143 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/zy/asrs/entity/BasJar.java b/src/main/java/com/zy/asrs/entity/BasJar.java index f4e48b3..42dfb95 100644 --- a/src/main/java/com/zy/asrs/entity/BasJar.java +++ b/src/main/java/com/zy/asrs/entity/BasJar.java @@ -8,6 +8,7 @@ import lombok.Data; import com.baomidou.mybatisplus.annotations.TableName; import java.io.Serializable; +import java.util.Date; @Data @TableName("asr_bas_jar") @@ -67,28 +68,28 @@ /** * 宸﹂棬(checkBox) */ - @ApiModelProperty(value= "宸﹂棬(checkBox)") + @ApiModelProperty(value= "杩涙枡闂�(checkBox)") @TableField("left_door") private String leftDoor; /** * 鍙抽棬(checkBox) */ - @ApiModelProperty(value= "鍙抽棬(checkBox)") + @ApiModelProperty(value= "鍑烘枡闂�(checkBox)") @TableField("right_door") private String rightDoor; /** * 宸﹂棬鍙紑(checkBox) */ - @ApiModelProperty(value= "宸﹂棬鍙紑(checkBox)") + @ApiModelProperty(value= "杩涙枡闂ㄥ彲寮�(checkBox)") @TableField("left_in_enable") private String leftInEnable; /** * 宸﹂棬鍙叧(checkBox) */ - @ApiModelProperty(value= "宸﹂棬鍙叧(checkBox)") + @ApiModelProperty(value= "杩涙枡闂ㄥ彲鍏�(checkBox)") @TableField("left_out_enable") private String leftOutEnable; @@ -108,16 +109,85 @@ /** * 鍙抽棬鍙紑(checkBox) */ - @ApiModelProperty(value= "鍙抽棬鍙紑(checkBox)") + @ApiModelProperty(value= "鍑烘枡闂ㄥ彲寮�(checkBox)") @TableField("right_in_enable") private String rightInEnable; /** * 鍙抽棬鍙叧(checkBox) */ - @ApiModelProperty(value= "鍙抽棬鍙叧(checkBox)") + @ApiModelProperty(value= "鍑烘枡闂ㄥ彲鍏�(checkBox)") @TableField("right_out_enable") private String rightOutEnable; + + /** + * 鍏ョ綈灏忚溅 + */ + @ApiModelProperty(value= "鍏ョ綈灏忚溅") + @TableField("enter_ste_no") + private Integer enterSteNo; + + /** + * 鍑虹綈灏忚溅 + */ + @ApiModelProperty(value= "鍑虹綈灏忚溅") + @TableField("out_ste_no") + private Integer outSteNo; + + /** + * 鍏ョ綈RGV + */ + @ApiModelProperty(value= "鍏ョ綈RGV") + @TableField("enter_rgv_no") + private Integer enterRgvNo; + + /** + * 鍑虹綈RGV + */ + @ApiModelProperty(value= "鍑虹綈RGV") + @TableField("out_rgv_no") + private Integer outRgvNo; + + /** + * 鍐峰嵈 + */ + @ApiModelProperty(value= "鍐峰嵈") + private Integer burial; + + /** + * 娓╁害 + */ + @ApiModelProperty(value= "娓╁害") + @TableField("jar_temperature") + private Float jarTemperature; + + /** + * 鍘嬪姏 + */ + @ApiModelProperty(value= "鍘嬪姏") + @TableField("jar_pressure") + private Float jarPressure; + + /** + * 淇濇俯鏃堕棿 + */ + @ApiModelProperty(value= "淇濇俯鏃堕棿") + @TableField("holding_time") + private Date holdingTime; + + /** + * 寮�闂ㄦ椂闂� + */ + @ApiModelProperty(value= "寮�闂ㄦ椂闂�") + @TableField("open_time") + private Date openTime; + + /** + * 鍏抽棬鏃堕棿 + */ + @ApiModelProperty(value= "鍏抽棬鏃堕棿") + @TableField("close_time") + private Date closeTime; public BasJar() {} @@ -157,5 +227,72 @@ // null // 鍙抽棬鍙叧(checkBox) // ); + public String getJarMode$(){ + if (null == this.jarMode){ return null; } + switch (this.jarMode){ + case 0: + return "绂荤嚎"; + case 1: + return "鎵嬪姩"; + case 2: + return "鑷姩"; + case 3: + return "鍏朵粬"; + default: + return String.valueOf(this.jarMode); + } + } + + public String getJarErr$(){ + if (null == this.jarErr){ return null; } + switch (this.jarErr){ + case 0: + return "鏃犲紓甯�"; + case 1: + return "杩愯鏃惰繘鏂欓棬鏈叧濂�"; + case 2: + return "杩愯鏃跺嚭鏂欓棬鏈叧濂�"; + case 3: + return "杩愯鏃舵湭閫夋嫨宸ヨ壓"; + case 4: + return "璁惧杩愯涓秴楂樻俯"; + case 5: + return "璁惧杩愯涓秴楂樺帇"; + case 6: + return "鎬ュ仠琚寜涓�"; + case 7: + return "杩涙枡闂ㄥ叧闂ㄨ秴鏃�"; + case 8: + return "鍑烘枡闂ㄥ叧闂ㄨ秴鏃�"; + default: + return String.valueOf(this.jarErr); + } + } + + public String getJarStatus$(){ + if (null == this.jarStatus){ return null; } + switch (this.jarStatus){ + case 0: + return "绌洪棽"; + case 1: + return "寮�闂�1"; + case 2: + return "纭寲涓�"; + case 3: + return "寮�闂�3"; + case 4: + return "鍋滄"; + case 5: + return "宸﹂棬鎵撳紑涓�"; + case 6: + return "鍙抽棬鎵撳紑涓�"; + case 7: + return "宸﹂棬鍏抽棴涓�"; + case 8: + return "鍙抽棬鍏抽棴涓�"; + default: + return String.valueOf(this.jarStatus); + } + } } -- Gitblit v1.9.1