自动化立体仓库 - WCS系统
#
LSH
2024-03-02 a84eadb43f793d74d39cc838b75a1aafd2885be4
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,13 +14,26 @@
/**
 * 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<CrnSlave> crn = new ArrayList<>();
    private List<RgvSlave> rgv = new ArrayList<>();
    private List<DevpSlave> devp = new ArrayList<>();
@@ -29,4 +43,6 @@
    private List<Slave> scale = new ArrayList<>();
    private List<Slave> car = new ArrayList<>();
}