From 150a2e9b867995ce118940655c8e0fafe2b4e1b9 Mon Sep 17 00:00:00 2001 From: Junjie <xjj@123> Date: 星期四, 10 四月 2025 18:28:16 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/entity/BasShuttle.java | 374 +---------------------------------------------------- 1 files changed, 10 insertions(+), 364 deletions(-) diff --git a/src/main/java/com/zy/asrs/entity/BasShuttle.java b/src/main/java/com/zy/asrs/entity/BasShuttle.java index b005b22..1ee828b 100644 --- a/src/main/java/com/zy/asrs/entity/BasShuttle.java +++ b/src/main/java/com/zy/asrs/entity/BasShuttle.java @@ -9,12 +9,6 @@ import java.text.SimpleDateFormat; import java.util.Date; import org.springframework.format.annotation.DateTimeFormat; -import com.core.common.SpringUtils; -import com.zy.system.service.UserService; -import com.zy.system.entity.User; -import java.text.SimpleDateFormat; -import java.util.Date; - import io.swagger.annotations.ApiModelProperty; import lombok.Data; import com.baomidou.mybatisplus.annotations.TableName; @@ -112,137 +106,11 @@ private String memo; /** - * 鎻愬崌鏈哄彿 - */ - @ApiModelProperty(value= "鎻愬崌鏈哄彿") - @TableField("lift_no") - private Integer liftNo; - - /** * 浣滀笟鏍囪 */ @ApiModelProperty(value= "浣滀笟鏍囪") @TableField("pak_mk") private Boolean pakMk; - -// /** -// * 灏忚溅蹇欑姸鎬佷綅 -// */ -// @ApiModelProperty(value= "灏忚溅蹇欑姸鎬佷綅") -//// @TableField("busy_status") -// private Integer busyStatus; -// -// /** -// * 褰撳墠浜岀淮鐮� -// */ -// @ApiModelProperty(value= "褰撳墠浜岀淮鐮�") -//// @TableField("current_code") -// private Integer currentCode; -// -// /** -// * 鐢垫睜鐢甸噺鐧惧垎姣� -// */ -// @ApiModelProperty(value= "鐢垫睜鐢甸噺鐧惧垎姣�") -//// @TableField("battery_power") -// private Integer batteryPower; -// -// /** -// * 鐢垫睜娓╁害 -// */ -// @ApiModelProperty(value= "鐢垫睜娓╁害") -//// @TableField("battery_temp") -// private Integer batteryTemp; -// -// /** -// * 閿欒缂栧彿 -// */ -// @ApiModelProperty(value= "閿欒缂栧彿") -//// @TableField("error_code") -// private Integer errorCode; -// -// /** -// * Plc杈撳嚭鐘舵�両O -// */ -// @ApiModelProperty(value= "Plc杈撳嚭鐘舵�両O") -//// @TableField("plc_output_status_io") -// private Integer plcOutputStatusIo; -// -// /** -// * 閿欒淇℃伅鐮� -// */ -// @ApiModelProperty(value= "閿欒淇℃伅鐮�") -//// @TableField("status_error_code") -// private Integer statusErrorCode; -// -// /** -// * PLC杈撳叆鐘舵�� -// */ -// @ApiModelProperty(value= "PLC杈撳叆鐘舵��") -//// @TableField("plc_input_status") -// private Integer plcInputStatus; -// -// /** -// * 褰撳墠鎴栬�呬箣鍓嶈鍒扮殑浜岀淮鐮佸�� -// */ -// @ApiModelProperty(value= "褰撳墠鎴栬�呬箣鍓嶈鍒扮殑浜岀淮鐮佸��") -//// @TableField("current_or_before_code") -// private Integer currentOrBeforeCode; -// -// /** -// * 璇诲埌鐨勪簩缁寸爜X鏂瑰悜鍋忕Щ閲� -// */ -// @ApiModelProperty(value= "璇诲埌鐨勪簩缁寸爜X鏂瑰悜鍋忕Щ閲�") -//// @TableField("code_offset_x") -// private Integer codeOffsetX; -// -// /** -// * 璇诲埌鐨勪簩缁寸爜Y鏂瑰悜鍋忕Щ閲� -// */ -// @ApiModelProperty(value= "璇诲埌鐨勪簩缁寸爜Y鏂瑰悜鍋忕Щ閲�") -//// @TableField("code_offset_y") -// private Integer codeOffsetY; -// -// /** -// * 褰撳墠鐨勭數鍘嬪�� -// */ -// @ApiModelProperty(value= "褰撳墠鐨勭數鍘嬪��") -//// @TableField("current_voltage") -// private Integer currentVoltage; -// -// /** -// * 褰撳墠鐨勬ā鎷熼噺鍊� -// */ -// @ApiModelProperty(value= "褰撳墠鐨勬ā鎷熼噺鍊�") -//// @TableField("current_analog_value") -// private Integer currentAnalogValue; -// -// /** -// * 褰撳墠鐨勫崌闄嶄己鏈嶉�熷害 -// */ -// @ApiModelProperty(value= "褰撳墠鐨勫崌闄嶄己鏈嶉�熷害") -//// @TableField("current_lift_servo_speed") -// private Integer currentLiftServoSpeed; -// -// /** -// * 褰撳墠鐨勮璧颁己鏈嶉�熷害 -// */ -// @ApiModelProperty(value= "褰撳墠鐨勮璧颁己鏈嶉�熷害") -//// @TableField("current_move_servo_speed") -// private Integer currentMoveServoSpeed; -// -// /** -// * 褰撳墠鐨勫崌闄嶄己鏈嶈礋杞界巼 -// */ -// @ApiModelProperty(value= "褰撳墠鐨勫崌闄嶄己鏈嶈礋杞界巼") -//// @TableField("current_lift_servo_load") -// private Integer currentLiftServoLoad; -// -// /** -// * 褰撳墠鐨勮璧颁己鏈嶈礋杞界巼 -// */ -// @ApiModelProperty(value= "褰撳墠鐨勮璧颁己鏈嶈礋杞界巼") -//// @TableField("current_move_servo_load") -// private Integer currentMoveServoLoad; /** * 灏忚溅杩愯閫熷害 @@ -252,169 +120,22 @@ private Integer runSpeed; /** - * 鐗涚溂-宸ヤ綔妯″紡 + * 璁惧鐘舵�� */ - @ApiModelProperty(value= "宸ヤ綔妯″紡") - @TableField("working_mode") - private Integer workingMode; + @ApiModelProperty(value= "璁惧鐘舵��") + @TableField("device_status") + private String deviceStatus; /** - * 鐗涚溂-杩愯鐘舵�� + * 灏忚溅绂佺敤妤煎眰 */ - @ApiModelProperty(value= "杩愯鐘舵��") - @TableField("free") - private Integer free; - - /** - * 鐗涚溂-褰撳墠閫熷害 - */ - @ApiModelProperty(value= "褰撳墠閫熷害") - @TableField("speed") - private Integer speed; - - /** - * 鐗涚溂-璐熻浇鐘舵�� - */ - @ApiModelProperty(value= "璐熻浇鐘舵��") - @TableField("load_state") - private Integer loadState; - - /** - * 鐗涚溂-绠″埗鐘舵�� - */ - @ApiModelProperty(value= "绠″埗鐘舵��") - @TableField("suspend_state") - private Integer suspendState; - - /** - * 鐗涚溂-椤跺崌浣嶇疆 - */ - @ApiModelProperty(value= "椤跺崌浣嶇疆") - @TableField("lift_position") - private Integer liftPosition; - - /** - * 鐗涚溂-杩愯鏂瑰悜 - */ - @ApiModelProperty(value= "杩愯鏂瑰悜") - @TableField("run_dir") - private Integer runDir; - - /** - * 鐗涚溂-杩愯鏂瑰悜 - */ - @ApiModelProperty(value= "杩愯鏂瑰悜") - @TableField("run_dir2") - private Integer runDir2; - - /** - * 鐗涚溂-鍏呯數鐘舵�� - */ - @ApiModelProperty(value= "鍏呯數鐘舵��") - @TableField("charg_state") - private Integer chargState; - - /** - * 鐗涚溂-鐢垫睜鐢甸噺 - */ - @ApiModelProperty(value= "鐢垫睜鐢甸噺") - @TableField("power_percent") - private Integer powerPercent; - - /** - * 鐗涚溂-鏈�楂樼數鑺數鍘� - */ - @ApiModelProperty(value= "鏈�楂樼數鑺數鍘�") - @TableField("max_cell_voltage") - private Integer maxCellVoltage; - - /** - * 鐗涚溂-鏈�浣庣數鑺數鍘� - */ - @ApiModelProperty(value= "鏈�浣庣數鑺數鍘�") - @TableField("min_cell_voltage") - private Integer minCellVoltage; - - /** - * 鐗涚溂-鐢垫睜鐢靛帇 - */ - @ApiModelProperty(value= "鐢垫睜鐢靛帇") - @TableField("voltage") - private Integer voltage; - - /** - * 鐗涚溂-鍏呮斁鐢靛惊鐜鏁� - */ - @ApiModelProperty(value= "鍏呮斁鐢靛惊鐜鏁�") - @TableField("charge_cycle_times") - private Integer chargeCycleTimes; - - /** - * 鐗涚溂-鍓╀綑鐢甸噺 - */ - @ApiModelProperty(value= "鍓╀綑鐢甸噺") - @TableField("surplus_quantity") - private Integer surplusQuantity; - - /** - * 鐗涚溂-鎬荤數閲� - */ - @ApiModelProperty(value= "鎬荤數閲�") - @TableField("count_quantity") - private Integer countQuantity; - - /** - * 鐗涚溂-瀹為檯搴撲綅 - */ - @ApiModelProperty(value= "瀹為檯搴撲綅") - @TableField("point") - private String point; - - /** - * 鐗涚溂-瀹為檯鍧愭爣 - */ - @ApiModelProperty(value= "瀹為檯鍧愭爣") - @TableField("coord") - private String coord; - - /** - * 鐗涚溂-浠诲姟鐩殑搴撲綅 - */ - @ApiModelProperty(value= "浠诲姟鐩殑搴撲綅") - @TableField("task") - private String task; - - /** - * 鐗涚溂-浠诲姟鐘舵�� - */ - @ApiModelProperty(value= "浠诲姟鐘舵��") - @TableField("task_state") - private Integer taskState; - - /** - * 鐗涚溂-鏁呴殰鐘舵�� - */ - @ApiModelProperty(value= "鏁呴殰鐘舵��") - @TableField("err_state") - private Integer errState; - - /** - * 鐗涚溂-鎬婚噷绋嬫暟 - */ - @ApiModelProperty(value= "鎬婚噷绋嬫暟") - @TableField("status_sum") - private String statusSum; - - /** - * 鐗涚溂-闈炶嚜鍔ㄧ姸鎬佹椂闂磋鏃� - */ - @ApiModelProperty(value= "闈炶嚜鍔ㄧ姸鎬佹椂闂磋鏃�") - @TableField("err_time") - private Integer errTime; + @ApiModelProperty(value= "灏忚溅绂佺敤妤煎眰") + @TableField("disable_lev") + private String disableLev; public BasShuttle() {} - public BasShuttle(Integer shuttleNo, Integer status, Integer shuttleStatus, Integer wrkNo, String idleLoc, Integer autoCharge, Integer chargeLine, Long createBy, Date createTime, Long updateBy, Date updateTime, String memo, Integer liftNo, Boolean pakMk, Integer busyStatus, Integer currentCode, Integer batteryPower, Integer batteryTemp, Integer errorCode, Integer plcOutputStatusIo, Integer statusErrorCode, Integer plcInputStatus, Integer currentOrBeforeCode, Integer codeOffsetX, Integer codeOffsetY, Integer currentVoltage, Integer currentAnalogValue, Integer currentLiftServoSpeed, Integer currentMoveServoSpeed, Integer currentLiftServoLoad, Integer currentMoveServoLoad, Integer runSpeed, Integer workingMode, Integer free, Integer speed, Integer loadState, Integer suspendState, Integer liftPosition, Integer runDir, Integer runDir2, Integer chargState, Integer powerPercent, Integer maxCellVoltage, Integer minCellVoltage, Integer voltage, Integer chargeCycleTimes, Integer surplusQuantity, Integer countQuantity, String point, String coord, String task, Integer taskState, Integer errState, String statusSum, Integer errTime) { + public BasShuttle(Integer shuttleNo, Integer status, Integer shuttleStatus, Integer wrkNo, String idleLoc, Integer autoCharge, Integer chargeLine, Long createBy, Date createTime, Long updateBy, Date updateTime, String memo, Boolean pakMk, String deviceStatus) { this.shuttleNo = shuttleNo; this.status = status; this.shuttleStatus = shuttleStatus; @@ -427,84 +148,9 @@ this.updateBy = updateBy; this.updateTime = updateTime; this.memo = memo; - this.liftNo = liftNo; this.pakMk = pakMk; -// this.busyStatus = busyStatus; -// this.currentCode = currentCode; -// this.batteryPower = batteryPower; -// this.batteryTemp = batteryTemp; -// this.errorCode = errorCode; -// this.plcOutputStatusIo = plcOutputStatusIo; -// this.statusErrorCode = statusErrorCode; -// this.plcInputStatus = plcInputStatus; -// this.currentOrBeforeCode = currentOrBeforeCode; -// this.codeOffsetX = codeOffsetX; -// this.codeOffsetY = codeOffsetY; -// this.currentVoltage = currentVoltage; -// this.currentAnalogValue = currentAnalogValue; -// this.currentLiftServoSpeed = currentLiftServoSpeed; -// this.currentMoveServoSpeed = currentMoveServoSpeed; -// this.currentLiftServoLoad = currentLiftServoLoad; -// this.currentMoveServoLoad = currentMoveServoLoad; -// this.runSpeed = runSpeed; - this.workingMode = workingMode; - this.free = free; - this.speed = speed; - this.loadState = loadState; - this.suspendState = suspendState; - this.liftPosition = liftPosition; - this.runDir = runDir; - this.runDir2 = runDir2; - this.chargState = chargState; - this.powerPercent = powerPercent; - this.maxCellVoltage = maxCellVoltage; - this.minCellVoltage = minCellVoltage; - this.voltage = voltage; - this.chargeCycleTimes = chargeCycleTimes; - this.surplusQuantity = surplusQuantity; - this.countQuantity = countQuantity; - this.point = point; - this.coord = coord; - this.task = task; - this.taskState = taskState; - this.errState = errState; - this.statusSum = statusSum; - this.errTime = errTime; + this.deviceStatus = deviceStatus; } - -// BasShuttle basShuttle = new BasShuttle( -// null, // 鍥涘悜绌挎杞﹀彿[闈炵┖] -// null, // 鐘舵�� -// null, // 褰撳墠灏忚溅鐘舵�侊紙鍐呴儴鑷垜缁存姢锛� -// null, // 浠诲姟鍙� -// null, // 鏆傚瓨搴撲綅 -// null, // 鑷姩鍏呯數 -// null, // 鐢甸噺绾� -// null, // 娣诲姞浜哄憳 -// null, // 娣诲姞鏃堕棿 -// null, // 淇敼浜哄憳 -// null, // 淇敼鏃堕棿 -// null, // 澶囨敞 -// null, // 鎻愬崌鏈哄彿 -// null, // 浣滀笟鏍囪 -// null, // 灏忚溅蹇欑姸鎬佷綅 -// null, // 褰撳墠浜岀淮鐮� -// null, // 鐢垫睜鐢甸噺鐧惧垎姣� -// null, // 鐢垫睜娓╁害 -// null, // 閿欒缂栧彿 -// null, // Plc杈撳嚭鐘舵�両O -// null, // 閿欒淇℃伅鐮� -// null, // PLC杈撳叆鐘舵�� -// null, // 褰撳墠鎴栬�呬箣鍓嶈鍒扮殑浜岀淮鐮佸�� -// null, // 璇诲埌鐨勪簩缁寸爜X鏂瑰悜鍋忕Щ閲� -// null, // 璇诲埌鐨勪簩缁寸爜Y鏂瑰悜鍋忕Щ閲� -// null, // 褰撳墠鐨勭數鍘嬪�� -// null, // 褰撳墠鐨勬ā鎷熼噺鍊� -// null, // 褰撳墠鐨勫崌闄嶄己鏈嶉�熷害 -// null, // 褰撳墠鐨勮璧颁己鏈嶉�熷害 -// null, // 褰撳墠鐨勫崌闄嶄己鏈嶈礋杞界巼 -// null // 褰撳墠鐨勮璧颁己鏈嶈礋杞界巼 -// ); public String getStatus$(){ if (null == this.status){ return null; } -- Gitblit v1.9.1