|
|
|
|
@ -5,6 +5,8 @@ import lombok.Data;
|
|
|
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
@Component
|
|
|
|
|
@ConfigurationProperties
|
|
|
|
|
@Data
|
|
|
|
|
@ -44,7 +46,15 @@ public class ConfigProperties {
|
|
|
|
|
private VisualSense visualSense;
|
|
|
|
|
private Integer orderTest = 0;
|
|
|
|
|
private String productDoc;
|
|
|
|
|
private List<SmokeBoxType> smokeBoxTypeList;
|
|
|
|
|
|
|
|
|
|
@Data
|
|
|
|
|
public static class SmokeBoxType{
|
|
|
|
|
private Integer type= 1;
|
|
|
|
|
private String name= "古20";
|
|
|
|
|
private Integer numOfLayers= 1;
|
|
|
|
|
private Integer numLayers= 6;
|
|
|
|
|
}
|
|
|
|
|
@Data
|
|
|
|
|
public static class VisualSense{
|
|
|
|
|
//连接视觉控制的url
|
|
|
|
|
|