From 314e894c0d6ce2739344dcd1c94ae7770868a0f1 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期三, 28 五月 2025 14:51:16 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/asrs/domain/vo/LiftStateTableVo.java |  139 +---------------------------------------------
 1 files changed, 3 insertions(+), 136 deletions(-)

diff --git a/src/main/java/com/zy/asrs/domain/vo/LiftStateTableVo.java b/src/main/java/com/zy/asrs/domain/vo/LiftStateTableVo.java
index ad38491..8200e4b 100644
--- a/src/main/java/com/zy/asrs/domain/vo/LiftStateTableVo.java
+++ b/src/main/java/com/zy/asrs/domain/vo/LiftStateTableVo.java
@@ -1,7 +1,6 @@
 package com.zy.asrs.domain.vo;
 
-import com.zy.core.enums.LiftNotReadyType;
-import com.zy.core.enums.LiftProtocolStatusType;
+import com.zy.core.enums.ForkLiftProtocolStatusType;
 import lombok.Data;
 
 @Data
@@ -25,143 +24,11 @@
      */
     private Integer protocolStatus;
 
-    /**
-     * 妯″紡
-     */
-    private Boolean model;
-
-    /**
-     * 蹇欓棽
-     */
-    private Boolean busy;
-
-    /**
-     * 鏈夋墭鐩�
-     */
-    private Boolean hasTray;
-
-    /**
-     * 鏈夊皬杞�
-     */
-    private Boolean hasCar;
-
-    /**
-     * 璁惧鏁呴殰
-     */
-    private Boolean deviceError;
-
-    /**
-     * 鍓嶈秴闄�
-     */
-    private Boolean frontOverrun;
-
-    /**
-     * 鍚庤秴闄�
-     */
-    private Boolean backOverrun;
-
-    /**
-     * 宸﹁秴闄�
-     */
-    private Boolean leftOverrun;
-
-    /**
-     * 鍙宠秴闄�
-     */
-    private Boolean rightOverrun;
-
-    /**
-     * 瓒呴珮
-     */
-    private Boolean overHeight;
-
-    /**
-     * 瓒呴噸
-     */
-    private Boolean overWeight;
-
-    public String getModel$() {
-        if (this.model == null) {
-            return "绂荤嚎";
-        }
-        return this.model ? "鑷姩" : "鎵嬪姩";
-    }
-
-    public String getBusy$() {
-        if (this.busy == null) {
-            return "-";
-        }
-        return this.busy ? "蹇欑" : "绌洪棽";
-    }
-
-    public String getHasTray$() {
-        if (this.hasTray == null) {
-            return "-";
-        }
-        return this.hasTray ? "Y" : "N";
-    }
-
-    public String getHasCar$() {
-        if (this.hasCar == null) {
-            return "N";
-        }
-        return this.hasCar ? "Y" : "N";
-    }
-
-    public String getDeviceError$() {
-        if (this.deviceError == null) {
-            return "N";
-        }
-        return this.deviceError ? "Y" : "N";
-    }
-
-    public String getFrontOverrun$() {
-        if (this.frontOverrun == null) {
-            return "N";
-        }
-        return this.frontOverrun ? "Y" : "N";
-    }
-
-    public String getBackOverrun$() {
-        if (this.backOverrun == null) {
-            return "N";
-        }
-        return this.backOverrun ? "Y" : "N";
-    }
-
-    public String getLeftOverrun$() {
-        if (this.leftOverrun == null) {
-            return "N";
-        }
-        return this.leftOverrun ? "Y" : "N";
-    }
-
-    public String getRightOverrun$() {
-        if (this.rightOverrun == null) {
-            return "N";
-        }
-        return this.rightOverrun ? "Y" : "N";
-    }
-
-    public String getOverHeight$() {
-        if (this.overHeight == null) {
-            return "N";
-        }
-        return this.overHeight ? "Y" : "N";
-    }
-
-    public String getOverWeight$() {
-        if (this.overWeight == null) {
-            return "N";
-        }
-        return this.overWeight ? "Y" : "N";
-    }
-
     public String getProtocolStatus$() {
         if (this.protocolStatus == null) {
-            return LiftProtocolStatusType.OFFLINE.desc;
+            return ForkLiftProtocolStatusType.NONE.desc;
         }
-        return LiftProtocolStatusType.get(this.protocolStatus).desc;
+        return ForkLiftProtocolStatusType.get(this.protocolStatus).desc;
     }
 
 }

--
Gitblit v1.9.1