#
Junjie
7 天以前 318cd2e6c1f6764a0147af5b8d35366d6950611d
src/main/java/com/zy/core/properties/SlaveProperties.java
@@ -4,6 +4,7 @@
import com.zy.core.model.CrnSlave;
import com.zy.core.model.DevpSlave;
import com.zy.core.model.LedSlave;
import com.zy.core.model.RgvSlave;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
@@ -13,6 +14,11 @@
/**
 * Created by vincent on 2020/8/4
 *
 */
/**
 * 该类整个就是一个通过配置文件来实体化对象类
 */
@Data
@Configuration
@@ -22,6 +28,16 @@
    private boolean doubleDeep;
    private List<Integer> doubleLocs = new ArrayList<>();
    // 左深库位排号
    private List<Integer> doubleLocsLeft = new ArrayList<>();
    // 右深库位排号
    private List<Integer> doubleLocsRight = new ArrayList<>();
    // 左浅库位排号
    private List<Integer> shallowLocsLeft = new ArrayList<>();
    // 右浅库位排号
    private List<Integer> shallowLocsRight = new ArrayList<>();
    private int groupCount;
@@ -37,4 +53,6 @@
    private List<Slave> car = new ArrayList<>();
    private List<RgvSlave> rgv = new ArrayList<>();
}