From 123a17c9d50745ea609f91943adca64e5ed12355 Mon Sep 17 00:00:00 2001
From: zhangc <zc@123>
Date: 星期六, 12 四月 2025 09:08:14 +0800
Subject: [PATCH] 1
---
src/main/java/com/zy/asrs/domain/vo/LiftStateTableVo.java | 265 +---------------------------------------------------
1 files changed, 8 insertions(+), 257 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 b29c880..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
@@ -16,268 +15,20 @@
private Short taskNo = 0;
/**
+ * 鍥涘悜绌挎杞﹀彿
+ */
+ private Short shuttleNo = 0;
+
+ /**
* 褰撳墠鎻愬崌鏈虹姸鎬侊紙鍐呴儴鑷垜缁存姢锛�
*/
private Integer protocolStatus;
- /**
- * 鎻愬崌鏈洪攣瀹�
- */
- private Boolean liftLock;
-
- /**
- * 浣嶇疆鍒拌揪鍙嶉
- */
- private Short positionArrivalFeedback;
-
- /**
- * 鍑嗗灏辩华
- * 灏辩华涓�1锛屾湭灏辩华涓�0
- */
- private Boolean ready;
-
- /**
- * 杩愯涓�
- * 杩愯涓负1锛屾湭杩愯涓�0
- */
- private Boolean running;
-
- /**
- * 鑱旀満/鍗曟満
- * 鑱旀満涓�1锛屽崟鏈轰负0
- */
- private Boolean mode;
-
- /**
- * 杈撻�佺嚎鍓嶇鍏夌數鏈夎揣
- * 鏈夎揣涓�1锛屾棤璐т负0锛堝墠绔寚闈犺繎璐ф灦渚э級
- */
- private Boolean lineFrontHasStock;
-
- /**
- * 杈撻�佺嚎姝h浆鍙嶉
- * 姝h浆杩愯涓�1锛屽惁鍒欎负0
- */
- private Boolean forwardRotationFeedback;
-
- /**
- * 杈撻�佺嚎鍙嶈浆鍙嶉
- * 鍙嶈浆杩愯涓�1锛屽惁鍒欎负0
- */
- private Boolean reverseFeedback;
-
- /**
- * 杈撻�佺嚎鐢垫満杩囪浇
- * 杩囪浇涓�0锛屾甯镐负1
- */
- private Boolean motorOverload;
-
- /**
- * 杈撻�佺嚎鏈鍏夌數鏈夎揣
- * 鏈夎揣涓�1锛屾棤璐т负0
- */
- private Boolean lineEndHasStock;
-
- /**
- * 杩涜緭閫佺嚎鍗℃墭鐩樻姤璀�
- * 鎶ヨ涓�1锛屾湭鎶ヨ涓�0
- */
- private Boolean inConveyLineCardTrayAlarm;
-
- /**
- * 鍑鸿緭閫佺嚎鍗℃墭鐩樻姤璀�
- * 鎶ヨ涓�1锛屾湭鎶ヨ涓�0
- */
- private Boolean outConveyLineCardTrayAlarm;
-
- /**
- * 骞冲彴浣嶇疆鍋忓樊鎶ヨ
- * 鎶ヨ涓�1锛屾湭鎶ヨ涓�0
- */
- private Boolean platPositionDeviationAlarm;
-
- /**
- * 骞冲彴鎵煩鍋忓樊鎶ヨ
- * 鎶ヨ涓�1锛屾湭鎶ヨ涓�0
- */
- private Boolean platTorqueDeviationAlarm;
-
- /**
- * 骞冲彴鍥涘悜杞︽娴�
- * 鏈夎溅涓�1锛屾棤杞︿负0
- */
- private Boolean platShuttleCheck;
-
- /**
- * 鏈氨缁姸鎬�
- * 1. 涓嶅湪鎸囧畾灞�
- * 2. 鍥涜酱涓嶅悓姝�
- * 3. 骞冲彴鍓嶉檺鍏夌數琚尅鍒帮紙闈犺繎璐ф灦锛�
- * 4. 骞冲彴鍚庨檺鍏夌數琚尅鍒帮紙杩滅璐ф灦锛�
- * 5. 骞冲彴涓婇檺浣嶆姤璀�
- * 6. 骞冲彴涓嬮檺浣嶆姤璀�
- * 7. 鐢垫煖鎬ュ仠鎶ヨ
- * 8. 杈撻�佺嚎鍓嶉檺浣嶈鎸″埌锛堥潬杩戣揣鏋讹級
- * 9. 杈撻�佺嚎鍚庨檺浣嶈鎸″埌锛堣繙绂昏揣鏋讹級
- * 10. 瑙︽懜灞忕揣鎬ュ仠姝㈣鎸変笅
- * 11. 鍥涜酱鍔ㄥ姏绾挎柇绾�
- * 12. 鍗曟満妯″紡
- * 13. 鍥涜酱鎶ヨ
- * 14. 浣嶇疆鍋忓樊杩囧ぇ
- * 15. 鎵煩鍋忓樊杩囧ぇ
- * 16. 杈撻�佺嚎杩囪浇
- * 17. 杩涙彁鍗囨満鍗℃墭鐩�
- * 18. 鍑烘彁鍗囨満鍗℃墭鐩�
- */
- private Short notReady;
-
- /**
- * 浼烘湇1閿欒
- */
- private Short servoError1;
-
- /**
- * 浼烘湇2閿欒
- */
- private Short servoError2;
-
- /**
- * 浼烘湇3閿欒
- */
- private Short servoError3;
-
- /**
- * 浼烘湇4閿欒
- */
- private Short servoError4;
-
- /**
- * 鎻愬崌鏈哄疄闄呴�熷害鍙嶉
- */
- private Short liftActualSpeed;
-
- /**
- * 浣滀笟鏍囪
- */
- private Boolean pakMk = true;
-
- public String getLiftLock$() {
- if (this.liftLock == null) {
- return "N";
- }
- return this.liftLock ? "Y" : "N";
- }
-
- public String getReady$() {
- if (this.ready == null) {
- return "N";
- }
- return this.ready ? "Y" : "N";
- }
-
- public String getNotReady$() {
- if (this.notReady == null) {
- return "-";
- }
- return LiftNotReadyType.get((int) this.notReady).desc;
- }
-
- public String getRunning$() {
- if (this.running == null) {
- return "N";
- }
- return this.running ? "Y" : "N";
- }
-
- public String getMode$() {
- if (this.mode == null) {
- return "N";
- }
- return this.mode ? "Y" : "N";
- }
-
- public String getLineFrontHasStock$() {
- if (this.lineFrontHasStock == null) {
- return "N";
- }
- return this.lineFrontHasStock ? "Y" : "N";
- }
-
- public String getForwardRotationFeedback$() {
- if (this.forwardRotationFeedback == null) {
- return "N";
- }
- return this.forwardRotationFeedback ? "Y" : "N";
- }
-
- public String getReverseFeedback$() {
- if (this.reverseFeedback == null) {
- return "N";
- }
- return this.reverseFeedback ? "Y" : "N";
- }
-
- public String getMotorOverload$() {
- if (this.motorOverload == null) {
- return "N";
- }
- return this.motorOverload ? "Y" : "N";
- }
-
- public String getLineEndHasStock$() {
- if (this.lineEndHasStock == null) {
- return "N";
- }
- return this.lineEndHasStock ? "Y" : "N";
- }
-
- public String getInConveyLineCardTrayAlarm$() {
- if (this.inConveyLineCardTrayAlarm == null) {
- return "N";
- }
- return this.inConveyLineCardTrayAlarm ? "Y" : "N";
- }
-
- public String getOutConveyLineCardTrayAlarm$() {
- if (this.outConveyLineCardTrayAlarm == null) {
- return "N";
- }
- return this.outConveyLineCardTrayAlarm ? "Y" : "N";
- }
-
- public String getPlatPositionDeviationAlarm$() {
- if (this.platPositionDeviationAlarm == null) {
- return "N";
- }
- return this.platPositionDeviationAlarm ? "Y" : "N";
- }
-
- public String getPlatTorqueDeviationAlarm$() {
- if (this.platTorqueDeviationAlarm == null) {
- return "N";
- }
- return this.platTorqueDeviationAlarm ? "Y" : "N";
- }
-
- public String getPlatShuttleCheck$() {
- if (this.platShuttleCheck == null) {
- return "N";
- }
- return this.platShuttleCheck ? "Y" : "N";
- }
-
- public String getPakMk$() {
- if (this.pakMk == null) {
- return "N";
- }
- return this.pakMk ? "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