From 23f50c066cce98a8bf9b0d80daf4ec70d6a582d4 Mon Sep 17 00:00:00 2001 From: tqs <56479841@qq.com> Date: 星期五, 17 二月 2023 15:23:55 +0800 Subject: [PATCH] # --- src/main/java/com/zy/core/properties/SlaveProperties.java | 27 ++++++++++++++++++++++----- 1 files changed, 22 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..b40fca2 100644 --- a/src/main/java/com/zy/core/properties/SlaveProperties.java +++ b/src/main/java/com/zy/core/properties/SlaveProperties.java @@ -1,10 +1,15 @@ package com.zy.core.properties; import com.zy.core.Slave; +import com.zy.core.model.CrnSlave; +import com.zy.core.model.DevpSlave; +import com.zy.core.model.LedSlave; +import com.zy.core.model.SteSlave; 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 +20,26 @@ @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<Slave> barcode = new ArrayList<>(); + + private List<LedSlave> led = new ArrayList<>(); + + private List<Slave> scale = new ArrayList<>(); + + private List<Slave> car = new ArrayList<>(); } -- Gitblit v1.9.1