Commit 91b211f5 authored by Georgios Dagkakis's avatar Georgios Dagkakis

M3 can accept wip

parent 982a0716
......@@ -289,7 +289,7 @@ def setWIP(entityList):
if G.env.now==0 and entity.currentStation:
if entity.currentStation.class_name:
stationClass=entity.currentStation.__class__.__name__
if stationClass in ['Machine', 'BatchScrapMachine', 'MachineJobShop','BatchDecomposition', 'BatchReassembly']:
if stationClass in ['Machine', 'BatchScrapMachine', 'MachineJobShop','BatchDecomposition', 'BatchReassembly','M3']:
entity.currentStation.currentEntity=entity
# trigger initialWIP event only if it has not been triggered. Otherwise
# if we set more than one entities (e.g. in reassembly) it will crash
......
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