v2.47.1 - ISQ query in OI file name

This commit is contained in:
2022-12-06 08:13:33 -07:00
parent 4875b31723
commit b2fd2a7600
7 changed files with 79 additions and 50 deletions

View File

@ -4,20 +4,16 @@
// self :
// getContextData('2', 'cds.PROCESS_JOBID', '')
getValue(self, self.length, $('dcp.CDE5/RsM/MesEntity', ''), getContextData('2', 'cds.PROCESS_JOBID', ''), $('dcp.CDE5/RsM/Recipe', ''));
getValue(self, self.length, $('dcp.CDE5/RsM/MesEntity', ''), $('dcp.CDE5/RsM/Recipe', ''), getContextData('2', 'cds.PROCESS_JOBID', ''));
function getValue(value, length, mesEntity, recipe, processJobId) {
if (recipe.toUpperCase() === 'SHEET RHO LOW')
if (recipe.toUpperCase() === 'STANDARD \\ RLOW_STD')
return mesEntity;
else if (recipe.toUpperCase() === 'SHEET RHO MID')
else if (recipe.toUpperCase() === 'STANDARD \\ RMID_STD')
return mesEntity;
else if (recipe.toUpperCase() === 'SHEET RHO HIGH')
else if (recipe.toUpperCase() === 'STANDARD \\ RHI_STD')
return mesEntity;
else if (recipe.toUpperCase() === 'SHEET RHO THIN')
return mesEntity;
else if (recipe.toUpperCase() === 'EPRO LOW')
return mesEntity;
else if (recipe.toUpperCase() === 'EPRO HIGH')
else if (recipe.toUpperCase() === 'STANDARD \\ THINSPC')
return mesEntity;
else if (length !== 0 || processJobId === '-')
return value;