v2.47.1 - Ready to test IQS query

This commit is contained in:
2022-12-02 14:09:43 -07:00
parent 2467f32867
commit 6e09172646
55 changed files with 1198 additions and 200 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.BIORAD4/Stratus/MesEntity', ''), $('dcp.BIORAD4/Stratus/Recipe', ''), getContextData('2', 'cds.PROCESS_JOBID', ''));
function getValue(value, length, mesEntity, recipe, processJobId) {
if (recipe.toUpperCase() === 'T-LOW')
return mesEntity;
else if (recipe.toUpperCase() === 'T-MID')
return mesEntity;
else if (recipe.toUpperCase() === 'T-HIGH')
return mesEntity;
else if (recipe.toUpperCase() === 'T_LOW')
return mesEntity;
else if (recipe.toUpperCase() === 'T_MID')
return mesEntity;
else if (recipe.toUpperCase() === 'T_HIGH')
return mesEntity;
else if (length !== 0 || processJobId === '-')
return value;
else
return processJobId;
}