Commit 71602134 authored by Ioannis Papagiannopoulos's avatar Ioannis Papagiannopoulos Committed by Jérome Perrin

minor changes made to order, basicsEnded definition changed

parent c3a4181b
...@@ -35,7 +35,7 @@ class Order(Job): ...@@ -35,7 +35,7 @@ class Order(Job):
type="Order" type="Order"
def __init__(self, id=None, name=None, route=[], priority=0, dueDate=None, orderDate=None, isCritical=False, def __init__(self, id=None, name=None, route=[], priority=0, dueDate=None, orderDate=None, isCritical=False,
componentsList=[], manager=None, basicsEnded=False, extraPropertyDict=None): componentsList=[], manager=None, basicsEnded=0, extraPropertyDict=None):
Job. __init__(self, id=id, name=name, route=route, priority=priority, dueDate=dueDate, orderDate=orderDate, Job. __init__(self, id=id, name=name, route=route, priority=priority, dueDate=dueDate, orderDate=orderDate,
extraPropertyDict=extraPropertyDict) extraPropertyDict=extraPropertyDict)
self.isCritical=isCritical # flag to inform weather the order is critical -> preemption self.isCritical=isCritical # flag to inform weather the order is critical -> preemption
......
...@@ -60,7 +60,7 @@ class QueueJobShop(Queue): ...@@ -60,7 +60,7 @@ class QueueJobShop(Queue):
return False return False
# ======================================================================= # =======================================================================
# checks if the Machine can dispose an entity. # checks if the Queue can dispose an entity.
# Returns True only to the potential receiver # Returns True only to the potential receiver
# ======================================================================= # =======================================================================
def haveToDispose(self, callerObject=None): def haveToDispose(self, callerObject=None):
......
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