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

unused commented code removed from Exit

parent a00cced5
......@@ -55,36 +55,6 @@ class Exit(CoreObject):
CoreObject.initialize(self)
# no predecessorIndex nor successorIndex
# Process.__init__(self)
#
# self.Up=True #Boolean that shows if the object is in failure ("Down") or not ("up")
# self.currentEntity=None
# # ============================== total times ===============================================
# self.totalBlockageTime=0 #holds the total blockage time
# self.totalFailureTime=0 #holds the total failure time
# self.totalWaitingTime=0 #holds the total waiting time
# self.totalWorkingTime=0 #holds the total working time
# self.completedJobs=0 #holds the number of completed jobs
# # ============================== Entity related attributes =================================
# self.timeLastEntityEnded=0 #holds the last time that an entity ended processing in the object
# self.nameLastEntityEnded="" #holds the name of the last entity that ended processing in the object
# self.timeLastEntityEntered=0 #holds the last time that an entity entered in the object
# self.nameLastEntityEntered="" #holds the name of the last entity that entered in the object
# self.timeLastFailure=0 #holds the time that the last failure of the object started
# self.timeLastFailureEnded=0 #holds the time that the last failure of the object Ended
# # ============================== failure related times =====================================
# self.downTimeProcessingCurrentEntity=0 #holds the time that the object was down while
# # processing the current entity
# self.downTimeInTryingToReleaseCurrentEntity=0 #holds the time that the object was down while trying
# # to release the current entity
# self.downTimeInCurrentEntity=0 #holds the total time that the object was
# # down while holding current entity
# self.timeLastEntityLeft=0 #holds the last time that an entity left the object
#
# self.processingTimeOfCurrentEntity=0 #holds the total processing time that the current entity required
# # ============================== waiting flag ==============================================
# self.waitToDispose=False #shows if the object waits to dispose an entity
# initialize the internal Queue (type Resource) of the Exit
self.Res=Resource(capacity=infinity)
# The number of resource that exited through this exit.
......
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