json and string methods updated
This commit is contained in:
@@ -195,7 +195,7 @@ public class WorkOrder implements Delayed {
|
||||
|
||||
jsonWorkOrder.put("workOrderID", workOrder.workOrderID);
|
||||
jsonWorkOrder.put("vendor", workOrder.vendor.getObjectUUID());
|
||||
jsonWorkOrder.put("slots_used", workOrder.slots_used);
|
||||
jsonWorkOrder.put("slots_used", workOrder.slots_used.get());
|
||||
jsonWorkOrder.put("total_to_produce", workOrder.total_to_produce);
|
||||
jsonWorkOrder.put("total_produced", workOrder.total_produced);
|
||||
jsonWorkOrder.put("multiple_slot_request", workOrder.multiple_slot_request);
|
||||
@@ -207,7 +207,7 @@ public class WorkOrder implements Delayed {
|
||||
jsonWorkOrder.put("suffixToken", workOrder.suffixToken);
|
||||
jsonWorkOrder.put("rollingDuration", workOrder.rollingDuration);
|
||||
jsonWorkOrder.put("completionTime", workOrder.completionTime);
|
||||
jsonWorkOrder.put("runCompleted", workOrder.runCompleted);
|
||||
jsonWorkOrder.put("runCompleted", workOrder.runCompleted.get());
|
||||
|
||||
ArrayList<Integer[]> cookingTokens = new ArrayList<>();
|
||||
|
||||
@@ -227,7 +227,7 @@ public class WorkOrder implements Delayed {
|
||||
|
||||
String outSTring = "\r\nwordOrderID: " + this.workOrderID + "\r\n" +
|
||||
"vendor: " + this.vendor.getObjectUUID() + "\r\n" +
|
||||
"slots_used: " + this.slots_used + "\r\n" +
|
||||
"slots_used: " + this.slots_used.get() + "\r\n" +
|
||||
"total_to_produce: " + this.total_to_produce + "\r\n" +
|
||||
"total_produced: " + this.total_produced + "\r\n" +
|
||||
"templateID: " + this.templateID + "\r\n" +
|
||||
@@ -236,7 +236,7 @@ public class WorkOrder implements Delayed {
|
||||
"suffixToken: " + this.suffixToken + "\r\n" +
|
||||
"rollingDuration: " + duration + "\r\n" +
|
||||
"completionTime: " + localDateTime + "\r\n" +
|
||||
"runCompleted: " + this.runCompleted + "\r\n" +
|
||||
"runCompleted: " + this.runCompleted.get() + "\r\n" +
|
||||
"productionCost: " + this.production_cost.toString() + "\r\n" +
|
||||
"totalProductionCost:: " + this.production_cost_total.toString();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user