Mould and OrderDesign receive as arguments remainingProcessingTime and remainingSetupTime

parent c0c798e4
...@@ -42,10 +42,14 @@ class Mould(Job): # inherits from the Job class ...@@ -42,10 +42,14 @@ class Mould(Job): # inherits from the Job class
orderDate=0, orderDate=0,
extraPropertyDict=None, extraPropertyDict=None,
order=None, order=None,
remainingProcessingTime={},
remainingSetupTime={},
currentStation=None, currentStation=None,
isCritical=False,**kw): isCritical=False,**kw):
Job.__init__(self, id, name, route=route, priority=priority, dueDate=dueDate, orderDate=orderDate, Job.__init__(self, id, name, route=route, priority=priority, dueDate=dueDate, orderDate=orderDate,
extraPropertyDict=extraPropertyDict, isCritical=isCritical,currentStation=currentStation) extraPropertyDict=extraPropertyDict, isCritical=isCritical,
remainingProcessingTime=remainingProcessingTime, remainingSetupTime=remainingSetupTime,
currentStation=currentStation)
self.order=order # parent order of the order component self.order=order # parent order of the order component
# TODO: in case the order is not given as argument (when the component is given as WIP) have to give a manager as argument # TODO: in case the order is not given as argument (when the component is given as WIP) have to give a manager as argument
# or create the initiate the parent order not as WIP # or create the initiate the parent order not as WIP
......
...@@ -42,11 +42,16 @@ class OrderDesign(Job): # inherits from the Job ...@@ -42,11 +42,16 @@ class OrderDesign(Job): # inherits from the Job
orderDate=0, orderDate=0,
extraPropertyDict=None, extraPropertyDict=None,
order=None, order=None,
remainingProcessingTime={},
remainingSetupTime={},
currentStation=None,
requestingComponent = None, requestingComponent = None,
isCritical=False, isCritical=False,
**kw): **kw):
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, isCritical=isCritical) extraPropertyDict=extraPropertyDict, isCritical=isCritical,
remainingProcessingTime=remainingProcessingTime, remainingSetupTime=remainingSetupTime,
currentStation=currentStation)
self.order=order # parent order of the order component self.order=order # parent order of the order component
# TODO: in case the order is not given as argument (when the component is given as WIP) have to give a manager as argument # TODO: in case the order is not given as argument (when the component is given as WIP) have to give a manager as argument
# or create the initiate the parent order not as WIP # or create the initiate the parent order not as WIP
......
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