naming for designs and endParts changed

parent cda99a80
...@@ -545,7 +545,7 @@ def getComponets(orderDict,Order): ...@@ -545,7 +545,7 @@ def getComponets(orderDict,Order):
break break
if doCreate: if doCreate:
# initiate the job # initiate the job
M=Mould('M'+id, 'mould'+name, route_list, priority=Order.priority, dueDate=Order.dueDate,orderDate=Order.orderDate, M=Mould(id, name, route_list, priority=Order.priority, dueDate=Order.dueDate,orderDate=Order.orderDate,
isCritical=Order.isCritical, extraPropertyDict=extraPropertyDict, order=Order) isCritical=Order.isCritical, extraPropertyDict=extraPropertyDict, order=Order)
#=============================================================== #===============================================================
# print '_'*90,'>', M.id, 'created' # print '_'*90,'>', M.id, 'created'
...@@ -570,7 +570,7 @@ def getComponets(orderDict,Order): ...@@ -570,7 +570,7 @@ def getComponets(orderDict,Order):
if (id in G.WipIDList) or\ if (id in G.WipIDList) or\
(not id in G.WipIDList and len(Order.auxiliaryComponentsList+Order.secondaryComponentsList+Order.basicComponentsList)==0): (not id in G.WipIDList and len(Order.auxiliaryComponentsList+Order.secondaryComponentsList+Order.basicComponentsList)==0):
# initiate the job # initiate the job
OD=OrderDesign(id, name,route_list,priority=Order.priority,dueDate=Order.dueDate,orderDate=Order.orderDate, OD=OrderDesign(id+'-D', name+' design',route_list,priority=Order.priority,dueDate=Order.dueDate,orderDate=Order.orderDate,
isCritical=Order.isCritical, order=Order,extraPropertyDict=extraPropertyDict) isCritical=Order.isCritical, order=Order,extraPropertyDict=extraPropertyDict)
#=============================================================== #===============================================================
# print '_'*90,'>', OD.id, 'created' # print '_'*90,'>', OD.id, 'created'
......
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