Commit ca09828e authored by Georgios Dagkakis's avatar Georgios Dagkakis

Merge branch 'OperatorExamples'

parents 70cfe089 1f431ab7
......@@ -74,6 +74,9 @@ class Machine(CoreObject):
# check whether the operators are provided with a skills set
# check whether the operators are provided with a skills set
self.dedicatedOperator=self.checkForDedicatedOperators()
if operatorPool and not (operatorPool=='None'):
self.operatorPool=operatorPool
else:
if len(G.OperatorPoolsList)>0:
for operatorPool in G.OperatorPoolsList: # find the operatorPool assigned to the machine
if(self.id in operatorPool.coreObjectIds): # and add it to the machine's operatorPool
......
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