chen.llin
8 天以前 a4602aa0d0afbbc5e89e7dff8d02927186ead170
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
@@ -25,6 +31,13 @@
    private int groupCount;
    /**
     * 检查堆垛机出库站状态
     * true: 检查出库站状态(默认值)
     * false: 不检查,默认出库站可用
     */
    private boolean checkOutStationStatus = true;
    private List<CrnSlave> crn = new ArrayList<>();
    private List<DevpSlave> devp = new ArrayList<>();
@@ -37,4 +50,6 @@
    private List<Slave> car = new ArrayList<>();
    private List<RgvSlave> rgv = new ArrayList<>();
}