From 936a3f961de4e7de9e2b28d6cb36dadb1efa57e1 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期一, 19 六月 2023 11:20:58 +0800
Subject: [PATCH] 降低小车进出提升机速度

---
 src/main/java/com/zy/asrs/entity/BasShuttle.java |  229 ++++++++++++++++++++++++++++++++++++++++++--------------
 1 files changed, 170 insertions(+), 59 deletions(-)

diff --git a/src/main/java/com/zy/asrs/entity/BasShuttle.java b/src/main/java/com/zy/asrs/entity/BasShuttle.java
index 999eb2b..62f83ef 100644
--- a/src/main/java/com/zy/asrs/entity/BasShuttle.java
+++ b/src/main/java/com/zy/asrs/entity/BasShuttle.java
@@ -41,9 +41,9 @@
     private Integer status;
 
     /**
-     * 浣滀笟鎬�
+     * 褰撳墠灏忚溅鐘舵�侊紙鍐呴儴鑷垜缁存姢锛�
      */
-    @ApiModelProperty(value= "浣滀笟鎬�")
+    @ApiModelProperty(value= "褰撳墠灏忚溅鐘舵�侊紙鍐呴儴鑷垜缁存姢锛�")
     @TableField("shuttle_status")
     private Integer shuttleStatus;
 
@@ -53,45 +53,6 @@
     @ApiModelProperty(value= "浠诲姟鍙�")
     @TableField("wrk_no")
     private Integer wrkNo;
-
-    /**
-     * 鎺�
-     */
-    @ApiModelProperty(value= "鎺�")
-    private Integer row;
-
-    /**
-     * 鍒�
-     */
-    @ApiModelProperty(value= "鍒�")
-    private Integer bay;
-
-    /**
-     * 灞�
-     */
-    @ApiModelProperty(value= "灞�")
-    private Integer lev;
-
-    /**
-     * 鍘嗗彶鎺�
-     */
-    @ApiModelProperty(value= "鍘嗗彶鎺�")
-    @TableField("his_row")
-    private Integer hisRow;
-
-    /**
-     * 鍘嗗彶鍒�
-     */
-    @ApiModelProperty(value= "鍘嗗彶鍒�")
-    @TableField("his_bay")
-    private Integer hisBay;
-
-    /**
-     * 鍘嗗彶灞�
-     */
-    @ApiModelProperty(value= "鍘嗗彶灞�")
-    @TableField("his_lev")
-    private Integer hisLev;
 
     /**
      * 鏆傚瓨搴撲綅
@@ -158,25 +119,145 @@
     private Integer liftNo;
 
     /**
-     * 鏍囪
+     * 浣滀笟鏍囪
      */
-    @ApiModelProperty(value= "鏍囪")
+    @ApiModelProperty(value= "浣滀笟鏍囪")
     @TableField("pak_mk")
-    private String pakMk;
+    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;
+
+    /**
+     * 灏忚溅杩愯閫熷害
+     */
+    @ApiModelProperty(value= "灏忚溅杩愯閫熷害")
+    @TableField("run_speed")
+    private Integer runSpeed;
 
     public BasShuttle() {}
 
-    public BasShuttle(Integer shuttleNo,Integer status,Integer shuttleStatus,Integer wrkNo,Integer row,Integer bay,Integer lev,Integer hisRow,Integer hisBay,Integer hisLev,String idleLoc,Integer autoCharge,Integer chargeLine,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo,Integer liftNo) {
+    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) {
         this.shuttleNo = shuttleNo;
         this.status = status;
         this.shuttleStatus = shuttleStatus;
         this.wrkNo = wrkNo;
-        this.row = row;
-        this.bay = bay;
-        this.lev = lev;
-        this.hisRow = hisRow;
-        this.hisBay = hisBay;
-        this.hisLev = hisLev;
         this.idleLoc = idleLoc;
         this.autoCharge = autoCharge;
         this.chargeLine = chargeLine;
@@ -186,19 +267,31 @@
         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;
     }
 
 //    BasShuttle basShuttle = new BasShuttle(
 //            null,    // 鍥涘悜绌挎杞﹀彿[闈炵┖]
 //            null,    // 鐘舵��
-//            null,    // 浣滀笟鎬�
+//            null,    // 褰撳墠灏忚溅鐘舵�侊紙鍐呴儴鑷垜缁存姢锛�
 //            null,    // 浠诲姟鍙�
-//            null,    // 鎺�
-//            null,    // 鍒�
-//            null,    // 灞�
-//            null,    // 鍘嗗彶鎺�
-//            null,    // 鍘嗗彶鍒�
-//            null,    // 鍘嗗彶灞�
 //            null,    // 鏆傚瓨搴撲綅
 //            null,    // 鑷姩鍏呯數
 //            null,    // 鐢甸噺绾�
@@ -207,7 +300,25 @@
 //            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$(){

--
Gitblit v1.9.1