v2.47.1 - Ready to test ISQ query

This commit is contained in:
2022-12-01 13:37:27 -07:00
parent 1515313965
commit 4875b31723
61 changed files with 919 additions and 421 deletions

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

@ -0,0 +1,26 @@
// (self.length != 0) ?
// self :
// (getContextData('2', 'cds.PROCESS_JOBID', '') == '-') ?
// self :
// getContextData('2', 'cds.PROCESS_JOBID', '')
getValue(self, self.length, $('dcp.CDE5/RsM/MesEntity', ''), getContextData('2', 'cds.PROCESS_JOBID', ''), $('dcp.CDE5/RsM/Recipe', ''));
function getValue(value, length, mesEntity, recipe, processJobId) {
if (recipe.toUpperCase() === 'SHEET RHO LOW')
return mesEntity;
else if (recipe.toUpperCase() === 'SHEET RHO MID')
return mesEntity;
else if (recipe.toUpperCase() === 'SHEET RHO HIGH')
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')
return mesEntity;
else if (length !== 0 || processJobId === '-')
return value;
else
return processJobId;
}