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;
}

View File

@ -1,182 +1 @@
[
{
"DocumentId": {
"ProjectId": {
"Id": "d8671d76-c7d6-43f9-b1df-26c88f02f625"
},
"Id": "60949adb-0f09-465d-94a4-88b5934cca95"
},
"FileName": "MET08RESIMAPCDE.cs",
"FilePath": "T:\\MET08RESIMAPCDE\\06_SourceCode\\MET08RESIMAPCDE\\Adaptation\\_Tests\\CreateSelfDescription\\Staging\\v2.43.4\\MET08RESIMAPCDE.cs",
"FileChanges": [
{
"LineNumber": 102,
"CharNumber": 13,
"DiagnosticId": "IDE0002",
"FormatDescription": "warning IDE0002: Name can be simplified."
}
]
},
{
"DocumentId": {
"ProjectId": {
"Id": "d8671d76-c7d6-43f9-b1df-26c88f02f625"
},
"Id": "60949adb-0f09-465d-94a4-88b5934cca95"
},
"FileName": "MET08RESIMAPCDE.cs",
"FilePath": "T:\\MET08RESIMAPCDE\\06_SourceCode\\MET08RESIMAPCDE\\Adaptation\\_Tests\\CreateSelfDescription\\Staging\\v2.43.4\\MET08RESIMAPCDE.cs",
"FileChanges": [
{
"LineNumber": 115,
"CharNumber": 13,
"DiagnosticId": "IDE0002",
"FormatDescription": "warning IDE0002: Name can be simplified."
}
]
},
{
"DocumentId": {
"ProjectId": {
"Id": "d8671d76-c7d6-43f9-b1df-26c88f02f625"
},
"Id": "60949adb-0f09-465d-94a4-88b5934cca95"
},
"FileName": "MET08RESIMAPCDE.cs",
"FilePath": "T:\\MET08RESIMAPCDE\\06_SourceCode\\MET08RESIMAPCDE\\Adaptation\\_Tests\\CreateSelfDescription\\Staging\\v2.43.4\\MET08RESIMAPCDE.cs",
"FileChanges": [
{
"LineNumber": 141,
"CharNumber": 13,
"DiagnosticId": "IDE0002",
"FormatDescription": "warning IDE0002: Name can be simplified."
}
]
},
{
"DocumentId": {
"ProjectId": {
"Id": "d8671d76-c7d6-43f9-b1df-26c88f02f625"
},
"Id": "60949adb-0f09-465d-94a4-88b5934cca95"
},
"FileName": "MET08RESIMAPCDE.cs",
"FilePath": "T:\\MET08RESIMAPCDE\\06_SourceCode\\MET08RESIMAPCDE\\Adaptation\\_Tests\\CreateSelfDescription\\Staging\\v2.43.4\\MET08RESIMAPCDE.cs",
"FileChanges": [
{
"LineNumber": 128,
"CharNumber": 13,
"DiagnosticId": "IDE0002",
"FormatDescription": "warning IDE0002: Name can be simplified."
}
]
},
{
"DocumentId": {
"ProjectId": {
"Id": "d8671d76-c7d6-43f9-b1df-26c88f02f625"
},
"Id": "60949adb-0f09-465d-94a4-88b5934cca95"
},
"FileName": "MET08RESIMAPCDE.cs",
"FilePath": "T:\\MET08RESIMAPCDE\\06_SourceCode\\MET08RESIMAPCDE\\Adaptation\\_Tests\\CreateSelfDescription\\Staging\\v2.43.4\\MET08RESIMAPCDE.cs",
"FileChanges": [
{
"LineNumber": 167,
"CharNumber": 13,
"DiagnosticId": "IDE0002",
"FormatDescription": "warning IDE0002: Name can be simplified."
}
]
},
{
"DocumentId": {
"ProjectId": {
"Id": "d8671d76-c7d6-43f9-b1df-26c88f02f625"
},
"Id": "60949adb-0f09-465d-94a4-88b5934cca95"
},
"FileName": "MET08RESIMAPCDE.cs",
"FilePath": "T:\\MET08RESIMAPCDE\\06_SourceCode\\MET08RESIMAPCDE\\Adaptation\\_Tests\\CreateSelfDescription\\Staging\\v2.43.4\\MET08RESIMAPCDE.cs",
"FileChanges": [
{
"LineNumber": 180,
"CharNumber": 13,
"DiagnosticId": "IDE0002",
"FormatDescription": "warning IDE0002: Name can be simplified."
}
]
},
{
"DocumentId": {
"ProjectId": {
"Id": "d8671d76-c7d6-43f9-b1df-26c88f02f625"
},
"Id": "60949adb-0f09-465d-94a4-88b5934cca95"
},
"FileName": "MET08RESIMAPCDE.cs",
"FilePath": "T:\\MET08RESIMAPCDE\\06_SourceCode\\MET08RESIMAPCDE\\Adaptation\\_Tests\\CreateSelfDescription\\Staging\\v2.43.4\\MET08RESIMAPCDE.cs",
"FileChanges": [
{
"LineNumber": 63,
"CharNumber": 13,
"DiagnosticId": "IDE0002",
"FormatDescription": "warning IDE0002: Name can be simplified."
}
]
},
{
"DocumentId": {
"ProjectId": {
"Id": "d8671d76-c7d6-43f9-b1df-26c88f02f625"
},
"Id": "60949adb-0f09-465d-94a4-88b5934cca95"
},
"FileName": "MET08RESIMAPCDE.cs",
"FilePath": "T:\\MET08RESIMAPCDE\\06_SourceCode\\MET08RESIMAPCDE\\Adaptation\\_Tests\\CreateSelfDescription\\Staging\\v2.43.4\\MET08RESIMAPCDE.cs",
"FileChanges": [
{
"LineNumber": 76,
"CharNumber": 13,
"DiagnosticId": "IDE0002",
"FormatDescription": "warning IDE0002: Name can be simplified."
}
]
},
{
"DocumentId": {
"ProjectId": {
"Id": "d8671d76-c7d6-43f9-b1df-26c88f02f625"
},
"Id": "60949adb-0f09-465d-94a4-88b5934cca95"
},
"FileName": "MET08RESIMAPCDE.cs",
"FilePath": "T:\\MET08RESIMAPCDE\\06_SourceCode\\MET08RESIMAPCDE\\Adaptation\\_Tests\\CreateSelfDescription\\Staging\\v2.43.4\\MET08RESIMAPCDE.cs",
"FileChanges": [
{
"LineNumber": 89,
"CharNumber": 13,
"DiagnosticId": "IDE0002",
"FormatDescription": "warning IDE0002: Name can be simplified."
}
]
},
{
"DocumentId": {
"ProjectId": {
"Id": "d8671d76-c7d6-43f9-b1df-26c88f02f625"
},
"Id": "60949adb-0f09-465d-94a4-88b5934cca95"
},
"FileName": "MET08RESIMAPCDE.cs",
"FilePath": "T:\\MET08RESIMAPCDE\\06_SourceCode\\MET08RESIMAPCDE\\Adaptation\\_Tests\\CreateSelfDescription\\Staging\\v2.43.4\\MET08RESIMAPCDE.cs",
"FileChanges": [
{
"LineNumber": 154,
"CharNumber": 13,
"DiagnosticId": "IDE0002",
"FormatDescription": "warning IDE0002: Name can be simplified."
}
]
}
]
[]

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

@ -0,0 +1,26 @@
// (self.length != 0) ?
// self :
// (getContextData('2', 'cds.PRODUCT', '') == '-') ?
// self :
// getContextData('2', 'cds.PRODUCT', '')
getValue(self, self.length, getContextData('2', 'cds.PRODUCT', ''), $('dcp.CDE5/RsM/Recipe', ''));
function getValue(value, length, product, recipe) {
if (recipe.toUpperCase() === 'SHEET RHO LOW')
return 'Sheet Rho Low';
else if (recipe.toUpperCase() === 'SHEET RHO MID')
return 'Sheet Rho Mid';
else if (recipe.toUpperCase() === 'SHEET RHO HIGH')
return 'Sheet Rho High';
else if (recipe.toUpperCase() === 'SHEET RHO THIN')
return 'Sheet Rho Thin';
else if (recipe.toUpperCase() === 'EPRO LOW')
return 'EPro Low';
else if (recipe.toUpperCase() === 'EPRO HIGH')
return 'EPro High';
else if (length !== 0 || product === '-')
return value;
else
return product;
}