소스 검색

退火调度排程优化

fangpengyuan 3 달 전
부모
커밋
68b8c9c1ad
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      rw-aps-server/src/main/java/com/rongwei/rwapsserver/aps/domain/ProductionProcesses.java

+ 5 - 1
rw-aps-server/src/main/java/com/rongwei/rwapsserver/aps/domain/ProductionProcesses.java

@@ -487,7 +487,11 @@ public class ProductionProcesses implements Serializable {
         Integer maxDelay = 1;
         if(!this.ifLock){
             if(this.processType.equals("成退") || this.processType.equals("中退") || this.processType.equals("小卷成退")){
-                maxDelay = 500;
+                if("dd".equals(apsOverallConfig.getScheduleType().getScheduleType())){
+                    maxDelay = 500;
+                }else{
+                    maxDelay = 800;
+                }
             }else if(this.processType.equals("铸轧")){
                 maxDelay = 5000;
             } else if (this.processType.equals("冷轧")) {