Commit 3bad52d0 authored by Georgios Dagkakis's avatar Georgios Dagkakis

correction in plugin

parent 62fdef25
...@@ -226,7 +226,7 @@ class BatchesWIPSpreadsheet(plugin.InputPreparationPlugin): ...@@ -226,7 +226,7 @@ class BatchesWIPSpreadsheet(plugin.InputPreparationPlugin):
}) })
# if it is a standard BatchScrapMachine # if it is a standard BatchScrapMachine
elif nodes[stationId]['_class'] == 'Dream.BatchScrapMachine': elif nodes[stationId]['_class'] == 'Dream.BatchScrapMachine':
if _class=='Dream.Batch': if _class=='Dream.SubBatch':
nodes[stationId]['wip'].append({ nodes[stationId]['wip'].append({
"_class": _class, "_class": _class,
"id": partId, "id": partId,
...@@ -236,7 +236,7 @@ class BatchesWIPSpreadsheet(plugin.InputPreparationPlugin): ...@@ -236,7 +236,7 @@ class BatchesWIPSpreadsheet(plugin.InputPreparationPlugin):
"unitsToProcess": unitsToProcess, "unitsToProcess": unitsToProcess,
"parentBatchName":'Batch_'+parentBatchId+"_WIP" "parentBatchName":'Batch_'+parentBatchId+"_WIP"
}) })
elif _class=='Dream.SubBatch': elif _class=='Dream.Batch':
nodes[stationId]['wip'].append({ nodes[stationId]['wip'].append({
"_class": _class, "_class": _class,
"id": partId, "id": partId,
......
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