Browse Source

退火调度排程优化

fangpengyuan 3 tháng trước cách đây
mục cha
commit
68b8c9c1ad

+ 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("冷轧")) {