MouldAssembly added to stations that can receive intialWIP signal

parent e0957a65
...@@ -286,7 +286,7 @@ def setWIP(entityList): ...@@ -286,7 +286,7 @@ def setWIP(entityList):
if G.env.now==0 and entity.currentStation: if G.env.now==0 and entity.currentStation:
if entity.currentStation.class_name: if entity.currentStation.class_name:
stationClass=entity.currentStation.__class__.__name__ stationClass=entity.currentStation.__class__.__name__
if stationClass in ['Machine', 'BatchScrapMachine', 'MachineJobShop','BatchDecomposition', 'BatchReassembly','M3', if stationClass in ['Machine', 'BatchScrapMachine', 'MachineJobShop','BatchDecomposition', 'BatchReassembly','M3','MouldAssembly',
'BatchReassemblyBlocking','BatchDecompositionBlocking','BatchScrapMachineAfterDecompose', 'BatchReassemblyBlocking','BatchDecompositionBlocking','BatchScrapMachineAfterDecompose',
'BatchDecompositionStartTime']: 'BatchDecompositionStartTime']:
entity.currentStation.currentEntity=entity entity.currentStation.currentEntity=entity
......
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