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

some trace output added to BatchDecomposition/Reassembly

parent 610cf71e
......@@ -118,6 +118,7 @@ class BatchDecomposition(CoreObject):
subBatch=SubBatch(str(activeEntity.id)+'_'+str(i), activeEntity.name+"_SB_"\
+str(i), numberOfUnits=numberOfSubBatchUnits,
parentBatch=activeEntity) #create the sub-batch
self.outputTrace(subBatch.name,'was created from '+ activeEntity.name)
G.EntityList.append(subBatch)
activeObjectQueue.append(subBatch) #append the sub-batch to the active object Queue
activeEntity.subBatchList.append(subBatch)
......
......@@ -133,6 +133,7 @@ class BatchReassembly(CoreObject):
activeObjectQueue.append(batchToBeReassembled)
batchToBeReassembled.currentStation=self
self.timeLastEntityEnded=now()
self.outputTrace(batchToBeReassembled.name, 'was reassembled')
# =======================================================================
# returns True if the object doensn't hold entities of type Batch
......
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