Commit fc042153 authored by Georgios Dagkakis's avatar Georgios Dagkakis

in start of break or in the end of shift set that the operatoris not dedicated to a machine anymore

parent 65eaabaf
...@@ -1206,6 +1206,7 @@ class Machine(CoreObject): ...@@ -1206,6 +1206,7 @@ class Machine(CoreObject):
operator.timeLastBreakStarted=self.env.now operator.timeLastBreakStarted=self.env.now
operator.unAssign() # set the flag operatorAssignedTo to None operator.unAssign() # set the flag operatorAssignedTo to None
operator.workingStation=None operator.workingStation=None
operator.operatorDedicatedTo=None
self.toBeOperated = False self.toBeOperated = False
self.outputTrace(operator.name, "released from "+ self.objName) self.outputTrace(operator.name, "released from "+ self.objName)
# XXX in case of skilled operators which stay at the same station should that change # XXX in case of skilled operators which stay at the same station should that change
......
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