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

BatchDecomposition and BatchReassembly editted in order to update timeLastEntityEnded correctly

parent a78ede31
......@@ -130,6 +130,7 @@ class BatchDecomposition(CoreObject):
activeObjectQueue.append(subBatch) #append the sub-batch to the active object Queue
activeEntity.subBatchList.append(subBatch)
activeEntity.numberOfSubBatches=self.numberOfSubBatches
self.timeLastEntityEnded=now()
......
......@@ -125,6 +125,7 @@ class BatchReassembly(CoreObject):
batchToBeReassembled.numberOfSubBatches = 1
batchToBeReassembled.numberOfUnits=numberOfUnits
activeObjectQueue.append(batchToBeReassembled)
self.timeLastEntityEnded=now()
def canAccept(self,callerObject=None):
activeObject=self.getActiveObject()
......
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