Queue run method corrected for collection of loadOperatorAvailable event

parent 374674cf
...@@ -111,8 +111,8 @@ class Queue(CoreObject): ...@@ -111,8 +111,8 @@ class Queue(CoreObject):
if self.isDummy: if self.isDummy:
activeObjectQueue[0].startTime=self.env.now activeObjectQueue[0].startTime=self.env.now
# if the queue received an loadOperatorIsAvailable (from Router) with signalparam time # if the queue received an loadOperatorIsAvailable (from Router) with signalparam time
if self.loadOperatorAvailable: if self.loadOperatorAvailable in receivedEvent:
# transmitter, eventTime=self.loadOperatorAvailable.value transmitter, eventTime=self.loadOperatorAvailable.value
self.loadOperatorAvailable=self.env.event() self.loadOperatorAvailable=self.env.event()
# if the queue received an canDispose with signalparam time, this means that the signals was sent from a MouldAssemblyBuffer # if the queue received an canDispose with signalparam time, this means that the signals was sent from a MouldAssemblyBuffer
if self.canDispose in receivedEvent: if self.canDispose in receivedEvent:
......
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