v2.47.1 - ISQ query in OI file name
This commit is contained in:
14
Adaptation/.vscode/psn.js
vendored
14
Adaptation/.vscode/psn.js
vendored
@ -4,11 +4,17 @@
|
||||
// self :
|
||||
// getContextData('2', 'cds.PRODUCT', '')
|
||||
|
||||
getValue(self, self.length, getContextData('2', 'cds.PRODUCT', ''), $('dcp.HGCV3/pcl/Recipe', ''));
|
||||
getValue(self, self.length, getContextData('2', 'cds.PRODUCT', ''), $('dcp.HGCV3/pcl/Pattern', ''), $('dcp.HGCV3/pcl/Lot', ''));
|
||||
|
||||
function getValue(value, length, product, recipe) {
|
||||
if (recipe.toUpperCase() === 'MERCURY PROBE WAFER TYPE HILO')
|
||||
return 'Mercury Probe Wafer Type HiLo';
|
||||
function getValue(value, length, product, pattern, lot) {
|
||||
if (pattern === 'ONEPT.PAT' && lot.toUpperCase().indexOf('LOW') > -1)
|
||||
return 'Low';
|
||||
else if (pattern === 'ONEPT.PAT' && lot.toUpperCase().indexOf('MID') > -1)
|
||||
return 'Mid';
|
||||
else if (pattern === 'ONEPT.PAT' && lot.toUpperCase().indexOf('HIGH') > -1)
|
||||
return 'High';
|
||||
else if (pattern === 'ONEPT.PAT' && lot.toUpperCase().indexOf('THIN') > -1)
|
||||
return 'Thin';
|
||||
else if (length !== 0 || product === '-')
|
||||
return value;
|
||||
else
|
||||
|
Reference in New Issue
Block a user