Commit 4ebe42b8 authored by Ioannis Papagiannopoulos's avatar Ioannis Papagiannopoulos Committed by Sebastien Robin

getEntity of CoreObject now returns the activeEntity

parent 32691060
...@@ -100,6 +100,7 @@ class CoreObject(Process): ...@@ -100,6 +100,7 @@ class CoreObject(Process):
# the entity enters a new object # the entity enters a new object
activeEntity.schedule.append([activeObject.id,now()]) activeEntity.schedule.append([activeObject.id,now()])
activeEntity.currentStation=self activeEntity.currentStation=self
return activeEntity
# ========================== actions to be taken after the simulation ends ====================== # ========================== actions to be taken after the simulation ends ======================
def postProcessing(self, MaxSimtime=None): def postProcessing(self, MaxSimtime=None):
......
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