Untitled

mail@pastecode.io avatar
unknown
pascal
2 years ago
2.2 kB
4
Indexable
           //TO:
           
            #txPlasmoCase2Finish := (#txPlasmoLevel2 AND (("DB_FG11StW1".ProArresterWeld[#tiIStOffset, #tiMapWeld1stW1].S.xFinishedAll OR "DB_FG11StW1".ProArresterWeld[#tiIStOffset, #tiMapWeld1stW1].S.xOff)
            AND ((NOT #txRework AND "DB_10CSPartProcData".stCss01.stProRew.arudtRCV[1].arStZSAWeld[#tiIxArrSt, #tcOne] = 'N')
            OR (#txRework AND ("DB_10CSPartProcData".stCss01.stProRew.arudtRCV[1].arStZSAWeld[#tiIxArrSt, #tcOne] = 'N' AND "DB_10CSPartProcData".stCss01.stRework.arudtRCV[1].arStZSAWeldST2892[#tiIxArrSt, #tcOne] = 'N'))
            OR #txPlasmoOK (*assuming that Worker NIO*))));
            
            #txPlasmoCase3Finish := (#txPlasmoLevel3 AND ((NOT #txRework AND "DB_10CSPartProcData".stCss01.stProRew.arudtRCV[1].arStZSAWeld[#tiIxArrSt, #tcOne] = 'N')
            OR (#txRework AND ("DB_10CSPartProcData".stCss01.stProRew.arudtRCV[1].arStZSAWeld[#tiIxArrSt, #tcOne] = 'N' AND "DB_10CSPartProcData".stCss01.stRework.arudtRCV[1].arStZSAWeldST2892[#tiIxArrSt, #tcOne] = 'N'))));
            
            //NA TO:
            
            #txPlasmoCase2Finish := (#txPlasmoLevel2 AND (("DB_FG11StW1".ProArresterWeld[#tiIStOffset, #tiMapWeld1stW1].S.xFinishedAll OR "DB_FG11StW1".ProArresterWeld[#tiIStOffset, #tiMapWeld1stW1].S.xOff)
            AND ((NOT #txRework AND NOT "DB_10CSPartProcData".stCss01.stProRew.arudtRCV[1].arStZSAWeld[#tiIxArrSt, #tcOne] = 'I')
            OR (#txRework AND (NOT "DB_10CSPartProcData".stCss01.stProRew.arudtRCV[1].arStZSAWeld[#tiIxArrSt, #tcOne] = 'I' AND NOT "DB_10CSPartProcData".stCss01.stRework.arudtRCV[1].arStZSAWeldST2892[#tiIxArrSt, #tcOne] = 'I'))
            OR #txPlasmoOK (*assuming that Worker NIO*))));
            
            #txPlasmoCase3Finish := (#txPlasmoLevel3 AND ((NOT #txRework AND NOT "DB_10CSPartProcData".stCss01.stProRew.arudtRCV[1].arStZSAWeld[#tiIxArrSt, #tcOne] = 'I')
            OR (#txRework AND (NOT "DB_10CSPartProcData".stCss01.stProRew.arudtRCV[1].arStZSAWeld[#tiIxArrSt, #tcOne] = 'I' AND NOT "DB_10CSPartProcData".stCss01.stRework.arudtRCV[1].arStZSAWeldST2892[#tiIxArrSt, #tcOne] = 'I'))));