package com.gaotao.config; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; /** * @Description WMS任务限制配置类 - rqrq * @Author rqrq * @Date 2025/11/22 */ @Component @ConfigurationProperties(prefix = "wms.task.limit") public class WmsTaskLimitConfig { /** * 每个区域允许的最大未完成立库取货call料任务数量 - rqrq */ private Integer maxUnfinishedCallTasksPerArea = 3; /** * Z103区域允许的最大入库并行任务数量 - rqrq */ private Integer maxParallelInboundTasksZ103 = 2; public Integer getMaxUnfinishedCallTasksPerArea() { return maxUnfinishedCallTasksPerArea; } public void setMaxUnfinishedCallTasksPerArea(Integer maxUnfinishedCallTasksPerArea) { this.maxUnfinishedCallTasksPerArea = maxUnfinishedCallTasksPerArea; } public Integer getMaxParallelInboundTasksZ103() { return maxParallelInboundTasksZ103; } public void setMaxParallelInboundTasksZ103(Integer maxParallelInboundTasksZ103) { this.maxParallelInboundTasksZ103 = maxParallelInboundTasksZ103; } }