From 1815bcadb613f8951c02031176d2b54dcfa5a393 Mon Sep 17 00:00:00 2001
From: chen.llin <1442464845@qq.comm>
Date: 星期六, 17 一月 2026 11:09:57 +0800
Subject: [PATCH] agv出入库根据pda扫描库位识别入库站点
---
src/main/java/com/zy/common/properties/AgvProperties.java | 42 ++++++++++++++++++++++++++++++++++++++++++
1 files changed, 42 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/zy/common/properties/AgvProperties.java b/src/main/java/com/zy/common/properties/AgvProperties.java
index 6e41f35..49d2e30 100644
--- a/src/main/java/com/zy/common/properties/AgvProperties.java
+++ b/src/main/java/com/zy/common/properties/AgvProperties.java
@@ -44,6 +44,11 @@
private SiteAllocationStrategy siteAllocation = new SiteAllocationStrategy();
/**
+ * 搴撲綅鍓嶇紑閰嶇疆
+ */
+ private LocationPrefix locationPrefix = new LocationPrefix();
+
+ /**
* whs_type鏄犲皠閰嶇疆鍐呴儴绫�
*/
@Data
@@ -73,6 +78,11 @@
* 绔欑偣鍒楄〃
*/
private List<String> stations = new ArrayList<>();
+
+ /**
+ * 渚ц竟鏄剧ず鍚嶇О锛堢敤浜庢棩蹇楀拰鎻愮ず淇℃伅锛屽"涓滀晶"銆�"瑗夸晶"锛�
+ */
+ private String displayName = "";
}
/**
@@ -106,6 +116,22 @@
}
/**
+ * 鑾峰彇涓滀晶鏄剧ず鍚嶇О
+ */
+ public String getEastDisplayName() {
+ return east != null && east.getDisplayName() != null && !east.getDisplayName().isEmpty()
+ ? east.getDisplayName() : "涓滀晶";
+ }
+
+ /**
+ * 鑾峰彇瑗夸晶鏄剧ず鍚嶇О
+ */
+ public String getWestDisplayName() {
+ return west != null && west.getDisplayName() != null && !west.getDisplayName().isEmpty()
+ ? west.getDisplayName() : "瑗夸晶";
+ }
+
+ /**
* 绔欑偣鍒嗛厤绛栫暐閰嶇疆鍐呴儴绫�
*/
@Data
@@ -125,4 +151,20 @@
*/
private boolean enableRoundRobin = true;
}
+
+ /**
+ * 搴撲綅鍓嶇紑閰嶇疆鍐呴儴绫�
+ */
+ @Data
+ public static class LocationPrefix {
+ /**
+ * CA鍓嶇紑锛氬彧鍋氬叆搴撶殑搴撲綅鍓嶇紑锛堥粯璁�"CA"锛�
+ */
+ private String inboundOnly = "CA";
+
+ /**
+ * WA鍓嶇紑锛氫細琚嚭搴撳垎閰嶇紦瀛樺尯鐨勫簱浣嶅墠缂�锛堥粯璁�"WA"锛�
+ */
+ private String cacheArea = "WA";
+ }
}
--
Gitblit v1.9.1