From 46d68076bfa7b706549e0420dfe09314024e3696 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期五, 22 十一月 2024 21:02:39 +0800
Subject: [PATCH] #读取地图文件优化
---
src/main/java/com/zy/core/properties/SlaveProperties.java | 32 +++++++++++++++++++++++++++-----
1 files changed, 27 insertions(+), 5 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..7bf463d 100644
--- a/src/main/java/com/zy/core/properties/SlaveProperties.java
+++ b/src/main/java/com/zy/core/properties/SlaveProperties.java
@@ -1,10 +1,12 @@
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;
/**
@@ -15,14 +17,34 @@
@ConfigurationProperties(prefix = "wcs-slave")
public class SlaveProperties {
- private List<Slave> crn;
+ private boolean doubleDeep;
- private List<Slave> devp;
+ private List<Integer> doubleLocs = new ArrayList<>();
- private List<Slave> barcode;
+ private int groupCount;
- private List<Slave> led;
+ private List<String> channel = new ArrayList<>();
- private List<Slave> scale;
+ private List<CrnSlave> crn = new ArrayList<>();
+
+ private List<SteSlave> ste = new ArrayList<>();
+
+ private List<DevpSlave> devp = new ArrayList<>();
+
+ private List<Devp2Slave> devp2 = new ArrayList<>();
+
+ private List<Devp2Slave> devp3 = new ArrayList<>();
+
+ private List<Slave> barcode = new ArrayList<>();
+
+ private List<LedSlave> led = new ArrayList<>();
+
+ private List<Slave> scale = new ArrayList<>();
+
+ private List<Slave> car = new ArrayList<>();
+
+ private List<ShuttleSlave> shuttle = new ArrayList<>();
+
+ private List<LiftSlave> lift = new ArrayList<>();
}
--
Gitblit v1.9.1