|
|
@ -84,8 +84,10 @@ public enum ForgeManager implements Runnable { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public static void submit(WorkOrder workOrder) { |
|
|
|
public static void submit(WorkOrder workOrder) { |
|
|
|
|
|
|
|
|
|
|
|
workOrder.workOrderID = wordOrderCounter.incrementAndGet(); |
|
|
|
workOrder.workOrderID = wordOrderCounter.incrementAndGet(); |
|
|
|
workOrder.completionTime = System.currentTimeMillis() + workOrder.rollingDuration; |
|
|
|
workOrder.completionTime = System.currentTimeMillis() + workOrder.rollingDuration; |
|
|
|
|
|
|
|
workOrder.slotCount = calcAvailableSlots(workOrder); |
|
|
|
|
|
|
|
|
|
|
|
// Single item rolls are total_to_produce of 0;
|
|
|
|
// Single item rolls are total_to_produce of 0;
|
|
|
|
|
|
|
|
|
|
|
|