|
|
|
@ -52,4 +52,23 @@ public class WorkOrder implements Delayed {
@@ -52,4 +52,23 @@ public class WorkOrder implements Delayed {
|
|
|
|
|
public int compareTo(@NotNull Delayed o) { |
|
|
|
|
return toIntExact(this.completionTime - ((WorkOrder) o).completionTime); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public String toString() { |
|
|
|
|
String outSTring = "wordOrderID" + this.workOrderID + "\r\n" + |
|
|
|
|
"vendor" + this.vendor.getObjectUUID() + "\r\n" + |
|
|
|
|
"slotCount" + this.slotCount + "\r\n" + |
|
|
|
|
"total_to_produce" + this.total_to_produce + "\r\n" + |
|
|
|
|
"total_produced" + this.total_produced + "\r\n" + |
|
|
|
|
"templateID" + this.templateID + "\r\n" + |
|
|
|
|
"itemName" + this.itemName + "\r\n" + |
|
|
|
|
"prefixToken" + this.prefixToken + "\r\n" + |
|
|
|
|
"suffixToken" + this.suffixToken + "\r\n" + |
|
|
|
|
"rollingDuration" + this.rollingDuration + "\r\n" + |
|
|
|
|
"completionTime" + this.completionTime + "\r\n" + |
|
|
|
|
"runCompleted" + this.runCompleted + "\r\n" + |
|
|
|
|
"runCanceled" + this.runCanceled + "\r\n"; |
|
|
|
|
|
|
|
|
|
return outSTring; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|