Commit 6f26eee5 authored by Tong Li's avatar Tong Li

初始化优化

parent 087659cf
...@@ -242,7 +242,7 @@ public class RoutingDataService { ...@@ -242,7 +242,7 @@ public class RoutingDataService {
List<MachineOption> mos = new ArrayList<>(); List<MachineOption> mos = new ArrayList<>();
for (ProdEquipment e : Equipments) { for (ProdEquipment e : Equipments) {
Double totalprocessTime=e.getSpeed()*entry.getQuantity(); Double totalprocessTime=e.getSpeed()/e.getSingleOut().doubleValue()*entry.getQuantity();
if(machineIds.containsKey(e.getEquipId())) if(machineIds.containsKey(e.getEquipId()))
{ {
if( machineIds.get(e.getEquipId())<totalprocessTime) if( machineIds.get(e.getEquipId())<totalprocessTime)
......
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