v2.47.1 - Ready to test ISQ query

This commit is contained in:
2022-12-01 13:05:07 -07:00
parent b76b7e0ab1
commit 17c2d78d59
52 changed files with 1170 additions and 238 deletions

22
Adaptation/.vscode/Reactor.js vendored Normal file
View File

@ -0,0 +1,22 @@
// (self.length != 0) ?
// self :
// (getContextData('2', 'cds.PROCESS_JOBID', '') == '-') ?
// self :
// getContextData('2', 'cds.PROCESS_JOBID', '')
getValue(self, self.length, $('dcp.HGCV1/pcl/MesEntity', ''), $('dcp.HGCV1/pcl/Pattern', ''), getContextData('2', 'cds.PROCESS_JOBID', ''));
function getValue(value, length, mesEntity, pattern, processJobId) {
if (pattern === 'ONEPT.PAT' && lot.toUpperCase().indexOf('LOW') > -1)
return mesEntity;
else if (pattern === 'ONEPT.PAT' && lot.toUpperCase().indexOf('MID') > -1)
return mesEntity;
else if (pattern === 'ONEPT.PAT' && lot.toUpperCase().indexOf('HIGH') > -1)
return mesEntity;
else if (pattern === 'ONEPT.PAT' && lot.toUpperCase().indexOf('THIN') > -1)
return mesEntity;
else if (length !== 0 || processJobId === '-')
return value;
else
return processJobId;
}

16
Adaptation/.vscode/psn.js vendored Normal file
View File

@ -0,0 +1,16 @@
// (self.length != 0) ?
// self :
// (getContextData('2', 'cds.PRODUCT', '') == '-') ?
// self :
// getContextData('2', 'cds.PRODUCT', '')
getValue(self, self.length, getContextData('2', 'cds.PRODUCT', ''), $('dcp.HGCV3/pcl/Recipe', ''));
function getValue(value, length, product, recipe) {
if (recipe.toUpperCase() === 'MERCURY PROBE WAFER TYPE HILO')
return 'Mercury Probe Wafer Type HiLo';
else if (length !== 0 || product === '-')
return value;
else
return product;
}