v2.47.1 - ISQ query in OI file name
This commit is contained in:
16
Adaptation/.vscode/Reactor.js
vendored
Normal file
16
Adaptation/.vscode/Reactor.js
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
// (self.length != 0) ?
|
||||
// self :
|
||||
// (getContextData('2', 'cds.PROCESS_JOBID', '') == '-') ?
|
||||
// self :
|
||||
// getContextData('2', 'cds.PROCESS_JOBID', '')
|
||||
|
||||
getValue(self, self.length, $('dcp.TENCOR1/pcl/MesEntity', ''), $('dcp.TENCOR1/pcl/asdf', ''), getContextData('2', 'cds.PROCESS_JOBID', ''));
|
||||
|
||||
function getValue(value, length, mesEntity, recipe, processJobId) {
|
||||
if (recipe.toUpperCase() === 'adsf')
|
||||
return mesEntity;
|
||||
else if (length !== 0 || processJobId === '-')
|
||||
return value;
|
||||
else
|
||||
return processJobId;
|
||||
}
|
16
Adaptation/.vscode/psn.js
vendored
Normal file
16
Adaptation/.vscode/psn.js
vendored
Normal 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.TENCOR1/pcl/asdf', ''));
|
||||
|
||||
function getValue(value, length, product, recipe) {
|
||||
if (recipe.toUpperCase() === 'asdf')
|
||||
return 'asdf';
|
||||
else if (length !== 0 || product === '-')
|
||||
return value;
|
||||
else
|
||||
return product;
|
||||
}
|
Reference in New Issue
Block a user