From aac6fda1b806e2757909c255284bdaa0fda00baa Mon Sep 17 00:00:00 2001
From: chen.llin <1442464845@qq.comm>
Date: 星期三, 14 一月 2026 19:22:01 +0800
Subject: [PATCH] 注释RFID非必要日志
---
src/main/java/com/zy/core/properties/SlaveProperties.java | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 57 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/zy/core/properties/SlaveProperties.java b/src/main/java/com/zy/core/properties/SlaveProperties.java
index b2e19a4..dcf9f4c 100644
--- a/src/main/java/com/zy/core/properties/SlaveProperties.java
+++ b/src/main/java/com/zy/core/properties/SlaveProperties.java
@@ -4,6 +4,8 @@
import com.zy.core.model.CrnSlave;
import com.zy.core.model.DevpSlave;
import com.zy.core.model.LedSlave;
+import com.zy.core.model.RFIDSlave;
+import com.zy.core.model.RgvSlave;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
@@ -30,6 +32,13 @@
private int groupCount;
+ /**
+ * 妫�鏌ュ爢鍨涙満鍑哄簱绔欑姸鎬�
+ * true: 妫�鏌ュ嚭搴撶珯鐘舵�侊紙榛樿鍊硷級
+ * false: 涓嶆鏌ワ紝榛樿鍑哄簱绔欏彲鐢�
+ */
+ private boolean checkOutStationStatus = true;
+
private List<CrnSlave> crn = new ArrayList<>();
private List<DevpSlave> devp = new ArrayList<>();
@@ -42,4 +51,52 @@
private List<Slave> car = new ArrayList<>();
+ private List<RgvSlave> rgv = new ArrayList<>();
+
+ private List<RFIDSlave> rfid = new ArrayList<>();
+
+ /**
+ * RFID鍏ㄥ眬閰嶇疆
+ */
+ private RFIDConfig rfidConfig = new RFIDConfig();
+
+ @Data
+ public static class RFIDConfig {
+ /**
+ * 閲嶈繛闂撮殧锛堢锛�
+ */
+ private Integer reconnectInterval = 5;
+
+ /**
+ * 鏍囩妫�娴嬮棿闅旓紙姣锛�
+ */
+ private Integer tagScanInterval = 500;
+
+ /**
+ * 鏍囩鎵弿鏃堕棿锛堝崟浣�: 100ms锛岄粯璁�10=1绉掞級
+ */
+ private Integer tagScanTime = 10;
+
+ /**
+ * 鑾峰彇閲嶈繛闂撮殧锛屽鏋滄湭閰嶇疆鍒欒繑鍥為粯璁ゅ��
+ */
+ public Integer getReconnectInterval() {
+ return reconnectInterval != null ? reconnectInterval : 5;
+ }
+
+ /**
+ * 鑾峰彇鏍囩妫�娴嬮棿闅旓紝濡傛灉鏈厤缃垯杩斿洖榛樿鍊�
+ */
+ public Integer getTagScanInterval() {
+ return tagScanInterval != null ? tagScanInterval : 500;
+ }
+
+ /**
+ * 鑾峰彇鏍囩鎵弿鏃堕棿锛屽鏋滄湭閰嶇疆鍒欒繑鍥為粯璁ゅ��
+ */
+ public Integer getTagScanTime() {
+ return tagScanTime != null ? tagScanTime : 10;
+ }
+ }
+
}
--
Gitblit v1.9.1