Commit dff4e081 authored by Georgios Dagkakis's avatar Georgios Dagkakis

wip can now be defined as batches

parent 398b9e5f
...@@ -181,7 +181,7 @@ def setWIP(entityList): ...@@ -181,7 +181,7 @@ def setWIP(entityList):
# for all the entities in the entityList # for all the entities in the entityList
for entity in entityList: for entity in entityList:
# if the entity is of type Part # if the entity is of type Part
if entity.type=='Part': if entity.type=='Part' or entity.type=='Batch':
object=entity.currentStation #identify the object object=entity.currentStation #identify the object
object.getActiveObjectQueue().append(entity) #append the entity to its Queue object.getActiveObjectQueue().append(entity) #append the entity to its Queue
entity.schedule.append([object,now()]) #append the time to schedule so that it can be read in the result entity.schedule.append([object,now()]) #append the time to schedule so that it can be read in the result
......
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