From bcdf9207ddc69ca996a1d97d2c9e74d4482e9d85 Mon Sep 17 00:00:00 2001 From: yxFwq <1> Date: 星期一, 21 十月 2024 08:36:39 +0800 Subject: [PATCH] # --- src/main/java/com/zy/core/properties/SlaveProperties.java | 33 ++++++++++++++++++++++++++++----- 1 files changed, 28 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..b026c1b 100644 --- a/src/main/java/com/zy/core/properties/SlaveProperties.java +++ b/src/main/java/com/zy/core/properties/SlaveProperties.java @@ -1,28 +1,51 @@ 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 { - private List<Slave> crn; + private boolean doubleDeep; - private List<Slave> devp; + private List<Integer> doubleLocs = new ArrayList<>(); + private List<Integer> doubleLocsLeft = new ArrayList<>(); + private List<Integer> doubleLocsRight = new ArrayList<>(); - private List<Slave> barcode; + private int groupCount; - private List<Slave> led; + private List<CrnSlave> crn = new ArrayList<>(); - private List<Slave> scale; + private List<RgvSlave> rgv = 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<>(); + + private List<JarSlave> jar = new ArrayList<>(); + + private List<SteSlave> Ste = new ArrayList<>(); } -- Gitblit v1.9.1