Commit 4da49c5e authored by Georgios Dagkakis's avatar Georgios Dagkakis

experimentation if Batches could work with Queue and LineClarance instead of...

experimentation if Batches could work with Queue and LineClarance instead of RoutingQueue. Does not work yet
parent e2ffb667
...@@ -43,6 +43,10 @@ class BatchReassemblyBlocking(BatchReassembly): ...@@ -43,6 +43,10 @@ class BatchReassemblyBlocking(BatchReassembly):
if issubclass(previous.__class__, Queue): if issubclass(previous.__class__, Queue):
if previous.expectedSignals['canDispose']: if previous.expectedSignals['canDispose']:
self.sendSignal(receiver=previous, signal=previous.canDispose, sender=station) self.sendSignal(receiver=previous, signal=previous.canDispose, sender=station)
if previous.previous:
if issubclass(previous.previous[0].__class__, Queue):
station=previous
continue
break break
# continue with further previous stations # continue with further previous stations
else: else:
......
This diff is collapsed.
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