فهرست منبع

调度排程优化

fangpy 5 ماه پیش
والد
کامیت
312069709c
1فایلهای تغییر یافته به همراه10 افزوده شده و 2 حذف شده
  1. 10 2
      rw-aps-server/src/main/java/com/rongwei/rwapsserver/aps/domain/ProductionProcesses.java

+ 10 - 2
rw-aps-server/src/main/java/com/rongwei/rwapsserver/aps/domain/ProductionProcesses.java

@@ -459,9 +459,17 @@ public class ProductionProcesses implements Serializable {
             }else if(this.processType.equals("铸轧")){
                 maxDelay = 5000;
             } else if (this.processType.equals("冷轧")) {
-                maxDelay = 2000;
+                if("dd".equals(apsOverallConfig.getScheduleType().getScheduleType())){
+                    maxDelay = 800;
+                }else{
+                    maxDelay = 2000;
+                }
             }else if (this.processType.equals("箔轧")) {
-                maxDelay = 2000;
+                if("dd".equals(apsOverallConfig.getScheduleType().getScheduleType())){
+                    maxDelay = 800;
+                }else{
+                    maxDelay = 2000;
+                }
             } else{
                 maxDelay = 500;
             }