From 4375805e5769179d7684a3af3e9132be68c38321 Mon Sep 17 00:00:00 2001
From: lsh <lsh@163.com>
Date: 星期二, 10 九月 2024 09:21:20 +0800
Subject: [PATCH] #fs
---
src/main/java/com/zy/core/properties/SlaveProperties.java | 27 +++++++++++++++++++++------
1 files changed, 21 insertions(+), 6 deletions(-)
diff --git a/src/main/java/com/zy/core/properties/SlaveProperties.java b/src/main/java/com/zy/core/properties/SlaveProperties.java
index ad23f6a..b1d3ee9 100644
--- a/src/main/java/com/zy/core/properties/SlaveProperties.java
+++ b/src/main/java/com/zy/core/properties/SlaveProperties.java
@@ -1,28 +1,43 @@
package com.zy.core.properties;
import com.zy.core.Slave;
+import com.zy.core.model.*;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
+import java.util.ArrayList;
import java.util.List;
/**
* Created by vincent on 2020/8/4
+ *
+ */
+
+/**
+ * 璇ョ被鏁翠釜灏辨槸涓�涓�氳繃閰嶇疆鏂囦欢鏉ュ疄浣撳寲瀵硅薄绫�
*/
@Data
@Configuration
@ConfigurationProperties(prefix = "wcs-slave")
-public class SlaveProperties {
+public class SlaveProperties{
- private List<Slave> crn;
+ private List<CrnSlave> crn = new ArrayList<>();
- private List<Slave> devp;
+ private List<RgvSlave> rgv = new ArrayList<>();
- private List<Slave> barcode;
+ private List<DevpSlave> devp = new ArrayList<>();
- private List<Slave> led;
+ private List<Slave> barcode = new ArrayList<>();
- private List<Slave> scale;
+ private List<LedSlave> led = new ArrayList<>();
+
+ private List<Slave> scale = new ArrayList<>();
+
+ private List<Slave> car = new ArrayList<>();
+
+ private List<JarSlave> jar = new ArrayList<>();
+
+ private List<SteSlave> Ste = new ArrayList<>();
}
--
Gitblit v1.9.1