From 1a1e3398d15027a65e56e0ed82e54f3a4feea0b6 Mon Sep 17 00:00:00 2001 From: ZY <zc857179121@qq.com> Date: 星期五, 25 四月 2025 09:49:25 +0800 Subject: [PATCH] 123 --- src/main/java/com/zy/core/properties/SlaveProperties.java | 19 +++++++++++++++++-- 1 files changed, 17 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/zy/core/properties/SlaveProperties.java b/src/main/java/com/zy/core/properties/SlaveProperties.java index a03469f..b2e19a4 100644 --- a/src/main/java/com/zy/core/properties/SlaveProperties.java +++ b/src/main/java/com/zy/core/properties/SlaveProperties.java @@ -1,7 +1,9 @@ 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 lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.context.annotation.Configuration; @@ -11,20 +13,33 @@ /** * Created by vincent on 2020/8/4 + * + */ + +/** + * 璇ョ被鏁翠釜灏辨槸涓�涓�氳繃閰嶇疆鏂囦欢鏉ュ疄浣撳寲瀵硅薄绫� */ @Data @Configuration @ConfigurationProperties(prefix = "wcs-slave") public class SlaveProperties { - private List<Slave> crn = new ArrayList<>(); + private boolean doubleDeep; + + private List<Integer> doubleLocs = new ArrayList<>(); + + private int groupCount; + + private List<CrnSlave> crn = new ArrayList<>(); private List<DevpSlave> devp = new ArrayList<>(); private List<Slave> barcode = new ArrayList<>(); - private List<Slave> led = new ArrayList<>(); + private List<LedSlave> led = new ArrayList<>(); private List<Slave> scale = new ArrayList<>(); + private List<Slave> car = new ArrayList<>(); + } -- Gitblit v1.9.1