From 2816415f539ef54839e331657edae7055c243ad8 Mon Sep 17 00:00:00 2001
From: chen.llin <1442464845@qq.comm>
Date: 星期六, 17 一月 2026 19:27:45 +0800
Subject: [PATCH] agv缓存库位清空和标记功能
---
src/main/java/com/zy/common/properties/AgvProperties.java | 32 ++++++++++++++++++++++++++++++++
1 files changed, 32 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 49d2e30..87b4a4c 100644
--- a/src/main/java/com/zy/common/properties/AgvProperties.java
+++ b/src/main/java/com/zy/common/properties/AgvProperties.java
@@ -49,6 +49,11 @@
private LocationPrefix locationPrefix = new LocationPrefix();
/**
+ * AGV鍛煎彨閲嶈瘯閰嶇疆
+ */
+ private AgvCallRetry callRetry = new AgvCallRetry();
+
+ /**
* whs_type鏄犲皠閰嶇疆鍐呴儴绫�
*/
@Data
@@ -167,4 +172,31 @@
*/
private String cacheArea = "WA";
}
+
+ /**
+ * AGV鍛煎彨閲嶈瘯閰嶇疆鍐呴儴绫�
+ */
+ @Data
+ public static class AgvCallRetry {
+ /**
+ * 鏄惁鍚敤閲嶈瘯鏈哄埗
+ * true: 鍚敤閲嶈瘯锛屽け璐ュ悗浼氳嚜鍔ㄩ噸璇�
+ * false: 涓嶅惎鐢ㄩ噸璇曪紝澶辫触鍚庣洿鎺ュ仠姝紙榛樿锛�
+ */
+ private boolean enabled = false;
+
+ /**
+ * 鏈�澶ч噸璇曟鏁�
+ * 褰撳懠鍙獳GV澶辫触鏃讹紝鏈�澶氶噸璇曞灏戞鍚庡仠姝�
+ * 榛樿鍊硷細3娆�
+ */
+ private int maxRetryCount = 3;
+
+ /**
+ * 閲嶈瘯闂撮殧鏃堕棿锛堢锛�
+ * 姣忔閲嶈瘯涔嬮棿鐨勭瓑寰呮椂闂�
+ * 榛樿鍊硷細5绉�
+ */
+ private int retryIntervalSeconds = 5;
+ }
}
--
Gitblit v1.9.1