Commit ff9aa735 authored by Georgios Dagkakis's avatar Georgios Dagkakis

BatchDecompositionStartTime can accept wip

parent 37d4047e
...@@ -290,7 +290,8 @@ def setWIP(entityList): ...@@ -290,7 +290,8 @@ def setWIP(entityList):
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',
'BatchReassemblyBlocking','BatchDecompositionBlocking','BatchScrapMachineAfterDecompose']: 'BatchReassemblyBlocking','BatchDecompositionBlocking','BatchScrapMachineAfterDecompose',
'BatchDecompositionStartTime']:
entity.currentStation.currentEntity=entity entity.currentStation.currentEntity=entity
# trigger initialWIP event only if it has not been triggered. Otherwise # 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 # 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