From 6cbb420754e6e29fa134a6afca4514b8dfd62918 Mon Sep 17 00:00:00 2001
From: vincentlu <t1341870251@gmail.com>
Date: 星期二, 13 一月 2026 16:14:49 +0800
Subject: [PATCH] #

---
 zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/AgvModel.java |  114 +++++++++++++++++++--------------------------------------
 1 files changed, 38 insertions(+), 76 deletions(-)

diff --git a/zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/AgvModel.java b/zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/AgvModel.java
index 4d00ed9..a0d241c 100644
--- a/zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/AgvModel.java
+++ b/zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/AgvModel.java
@@ -125,6 +125,18 @@
     private String mqttTopic;
 
     /**
+     * 鏂紑鍏呯數{1:鏄�,0:鍚
+     */
+    @ApiModelProperty(value= "鏂厖鍔ㄤ綔 1: 鏄�  0: 鍚�  ")
+    private Integer needUndocking;
+
+    /**
+     * 鑳岀瘬鍔ㄤ綔 {1:鏄�,0:鍚
+     */
+    @ApiModelProperty(value= "鑳岀瘬鍔ㄤ綔 1: 鏄�  0: 鍚�  ")
+    private Integer backupAction;
+
+    /**
      * 鐘舵�� 1: 姝e父  0: 绂佺敤  
      */
     @ApiModelProperty(value= "鐘舵�� 1: 姝e父  0: 绂佺敤  ")
@@ -172,89 +184,41 @@
     @ApiModelProperty(value= "澶囨敞")
     private String memo;
 
-    public AgvModel() {}
-
-    public AgvModel(String uuid,String type,String name,Integer length,Integer width,Integer height,Integer liftHeight,Integer diameter,String password,Integer backpack,Integer lowBattery,Integer quaBattery,Integer travelSpeed,Double workDirection,Integer allDirection,String protocol,String mqttTopic,Integer status,Integer deleted,Long tenantId,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) {
-        this.uuid = uuid;
-        this.type = type;
-        this.name = name;
-        this.length = length;
-        this.width = width;
-        this.height = height;
-        this.liftHeight = liftHeight;
-        this.diameter = diameter;
-        this.password = password;
-        this.backpack = backpack;
-        this.lowBattery = lowBattery;
-        this.quaBattery = quaBattery;
-        this.travelSpeed = travelSpeed;
-        this.workDirection = workDirection;
-        this.allDirection = allDirection;
-        this.protocol = protocol;
-        this.mqttTopic = mqttTopic;
-        this.status = status;
-        this.deleted = deleted;
-        this.tenantId = tenantId;
-        this.createBy = createBy;
-        this.createTime = createTime;
-        this.updateBy = updateBy;
-        this.updateTime = updateTime;
-        this.memo = memo;
+    public Boolean getNeedUndockingBool(){
+        if (null == this.needUndocking){ return null; }
+        switch (this.needUndocking){
+            case 1:
+                return true;
+            case 0:
+                return false;
+            default:
+                return false;
+        }
     }
 
-//    AgvModel agvModel = new AgvModel(
-//            null,    // 缂栧彿
-//            null,    // 绫诲瀷
-//            null,    // 鍚嶇О
-//            null,    // 闀垮害
-//            null,    // 瀹藉害
-//            null,    // 楂樺害
-//            null,    // 涓惧崌楂樺害
-//            null,    // 鏃嬭浆鐩村緞
-//            null,    // 璁惧瀵嗙爜
-//            null,    // 鑳岀瘬
-//            null,    // 鏈�浣庣數閲�
-//            null,    // 棰濆畾鐢甸噺
-//            null,    // 璧拌閫熷害
-//            null,    // 浣滀笟鏂瑰悜
-//            null,    // 鍏ㄥ悜
-//            null,    // 鍗忚
-//            null,    // mqtt涓婚
-//            null,    // 鐘舵�乕闈炵┖]
-//            null,    // 鏄惁鍒犻櫎[闈炵┖]
-//            null,    // 绉熸埛
-//            null,    // 娣诲姞浜哄憳
-//            null,    // 娣诲姞鏃堕棿[闈炵┖]
-//            null,    // 淇敼浜哄憳
-//            null,    // 淇敼鏃堕棿
-//            null    // 澶囨敞
-//    );
+    public Boolean getBackupActionBool(){
+        if (null == this.backupAction){ return null; }
+        switch (this.backupAction){
+            case 1:
+                return true;
+            case 0:
+                return false;
+            default:
+                return false;
+        }
+    }
 
-    public String getAllDirection$(){
+    public Boolean getAllDirectionBool(){
         if (null == this.allDirection){ return null; }
         switch (this.allDirection){
-            case 0:
-                return "鍚�";
             case 1:
-                return "鏄�";
+                return true;
+            case 0:
+                return false;
             default:
-                return String.valueOf(this.allDirection);
+                return false;
         }
     }
-
-    public String getStatus$(){
-        if (null == this.status){ return null; }
-        switch (this.status){
-            case 1:
-                return "姝e父";
-            case 0:
-                return "绂佺敤";
-            default:
-                return String.valueOf(this.status);
-        }
-    }
-
-
 
     public Boolean getStatusBool(){
         if (null == this.status){ return null; }
@@ -267,7 +231,5 @@
                 return null;
         }
     }
-
-
 
 }

--
Gitblit v1.9.1