Commit d7f8254c authored by Georgios Dagkakis's avatar Georgios Dagkakis Committed by Jérome Perrin

correction in OrderComponent

parent 2b880b65
...@@ -34,7 +34,7 @@ class OrderComponent(Job): # inherits from the ...@@ -34,7 +34,7 @@ class OrderComponent(Job): # inherits from the
def __init__(self, id=None, name=None, route=[], priority=0, dueDate=None, orderDate=None, extraPropertyDict=None, def __init__(self, id=None, name=None, route=[], priority=0, dueDate=None, orderDate=None, extraPropertyDict=None,
componentType='Basic', order=None, isCritical=False): componentType='Basic', order=None, isCritical=False):
Job.__init__(self, id=None, name=None, route=[], priority=0, dueDate=None, orderDate=None, extraPropertyDict=None) Job.__init__(self, id, name, route, priority, dueDate, orderDate, extraPropertyDict)
self.auxiliaryList=[] self.auxiliaryList=[]
self.order=order self.order=order
self.isCritical=isCritical #this should be self.order.isCritical. Added now for testing self.isCritical=isCritical #this should be self.order.isCritical. Added now for testing
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