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 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<LedSlave> led = new ArrayList<>();
|
|
private List<Slave> scale = new ArrayList<>();
|
|
private List<Slave> car = new ArrayList<>();
|
|
private List<ShuttleSlave> shuttle = new ArrayList<>();
|
|
}
|