Commit eefef70a authored by Georgios Dagkakis's avatar Georgios Dagkakis Committed by Jérome Perrin

batch decomposition updated so that it assigns the newly created subbatch currentStation as self

parent 8155ffef
......@@ -127,8 +127,10 @@ class BatchDecomposition(CoreObject):
subBatch=SubBatch(str(activeEntity.id)+'_'+str(i), activeEntity.name+"_SB_"\
+str(i), numberOfUnits=numberOfSubBatchUnits,
parentBatch=activeEntity) #create the sub-batch
G.EntityList.append(subBatch)
activeObjectQueue.append(subBatch) #append the sub-batch to the active object Queue
activeEntity.subBatchList.append(subBatch)
subBatch.currentStation=self
activeEntity.numberOfSubBatches=self.numberOfSubBatches
self.timeLastEntityEnded=now()
......
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