|  |  |  | 
|---|
|  |  |  | package com.zy.core.properties; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.zy.core.Slave; | 
|---|
|  |  |  | import com.zy.core.model.DevpSlave; | 
|---|
|  |  |  | import com.zy.core.model.*; | 
|---|
|  |  |  | import lombok.Data; | 
|---|
|  |  |  | import org.springframework.boot.context.properties.ConfigurationProperties; | 
|---|
|  |  |  | import org.springframework.context.annotation.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<String> channel = new ArrayList<>(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 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<Slave> led = 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<>(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|