修改工单订单设备

parent bc3adbc4
......@@ -129,7 +129,7 @@ public class KpiCalculator {
.mapToLong(GAScheduleResult::getChangeOverTime)
.filter(changeOverTime -> changeOverTime > 0)
.count();
addKpi(kpiMetrics,"换型次数", changeOverTimeCount, "总的换型次数", 2, 1);
addKpi(kpiMetrics,"换型次数", changeOverTimeCount, "总的换型次数", 1, 1);
}
......
......@@ -444,7 +444,7 @@ order.setDueDate(LocalDateTime.of(2025, 12, 1,0,0,0));
}
GlobalParam globalParam=new GlobalParam();
ScheduleOperationService ScheduleOperation=new ScheduleOperationService();
System.out.println(operation.getSelectMachineID());
ScheduleOperation.editMachineOption(chromosome,operation,operation.getSelectMachineID(),globalParam);
return redecodeChromosome(chromosome,SceneId);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment