You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.2 KiB

3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
  1. package com.gaotao.config;
  2. import org.springframework.boot.context.properties.ConfigurationProperties;
  3. import org.springframework.stereotype.Component;
  4. /**
  5. * @Description WMS任务限制配置类 - rqrq
  6. * @Author rqrq
  7. * @Date 2025/11/22
  8. */
  9. @Component
  10. @ConfigurationProperties(prefix = "wms.task.limit")
  11. public class WmsTaskLimitConfig {
  12. /**
  13. * 每个区域允许的最大未完成立库取货call料任务数量 - rqrq
  14. */
  15. private Integer maxUnfinishedCallTasksPerArea = 3;
  16. /**
  17. * Z103区域允许的最大入库并行任务数量 - rqrq
  18. */
  19. private Integer maxParallelInboundTasksZ103 = 2;
  20. public Integer getMaxUnfinishedCallTasksPerArea() {
  21. return maxUnfinishedCallTasksPerArea;
  22. }
  23. public void setMaxUnfinishedCallTasksPerArea(Integer maxUnfinishedCallTasksPerArea) {
  24. this.maxUnfinishedCallTasksPerArea = maxUnfinishedCallTasksPerArea;
  25. }
  26. public Integer getMaxParallelInboundTasksZ103() {
  27. return maxParallelInboundTasksZ103;
  28. }
  29. public void setMaxParallelInboundTasksZ103(Integer maxParallelInboundTasksZ103) {
  30. this.maxParallelInboundTasksZ103 = maxParallelInboundTasksZ103;
  31. }
  32. }