#check operation's name and if is one of the three in the list; create the actually non-existing dictionary that holds the WIP - buffered just before the PPASB assembly operation
#check operation's name and if is one of the three in the list; create the actually non-existing dictionary that holds the WIP - buffered just before the PPASB assembly operation
#check capacity required for each task - if it's 0 then delete this task from WIP
#check capacity required for each task - if it's 0 then delete this task from WIP
ifdata['WIP'][task]['Capacity required']==0:
ifdata['WIP'][task]['Capacity required']==0:
deldata['WIP'][task]
deldata['WIP'][task]
#if it's SMF and capacity finished then delete the fake dictionary created to hold the WIP just before WELD
#if it's SMF and capacity finished then delete the fake dictionary created to hold the WIP just before WELD
ifind5.Operation_Name=='SMF':
# if ind5.Operation_Name == 'SMF':
deldata['WIP']['WELD_id'+orderID]
# try:
# del data['WIP']['WELD_id' + orderID]
# except KeyError:
# continue
ifind5.Operation_Namenotinappended:
ifind5.Operation_Namenotinappended:
appended.append(ind5.Operation_Name)
appended.append(ind5.Operation_Name)
#try syntax to check if the operation finished is one of the following three; if yes delete the fake dictionary created to hold the WIP just before PPASB assembly station
#try syntax to check if the operation finished is one of the following three; if yes delete the fake dictionary created to hold the WIP just before PPASB assembly station
#check and if operation is WELD calculate first the finished capacity and then based on the status of CNC and MCH operations, the capacity buffered before the assembly station PPASB
#check and if operation is WELD calculate first the finished capacity and then based on the status of CNC and MCH operations, the capacity buffered before the assembly station PPASB