Commit e8c9a8a0 authored by Georgios Dagkakis's avatar Georgios Dagkakis

ObjectInterruption may need to set isProcessing and isBlocked of machine to False

parent 1ce60619
...@@ -125,6 +125,9 @@ class ObjectInterruption(ManPyObject): ...@@ -125,6 +125,9 @@ class ObjectInterruption(ManPyObject):
self.sendSignal(receiver=self.victim, signal=self.victim.interruptionStart) self.sendSignal(receiver=self.victim, signal=self.victim.interruptionStart)
# ToDo following is needed for synching, check why # ToDo following is needed for synching, check why
self.victim.expectedSignals['interruptionEnd']=1 self.victim.expectedSignals['interruptionEnd']=1
else:
self.victim.isBlocked = False
self.victim.isProcessing = False
# if the machines are operated by dedicated operators # if the machines are operated by dedicated operators
if self.victim.dedicatedOperator: if self.victim.dedicatedOperator:
# request allocation # request allocation
......
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