diff --git a/src/app/components/macrorugo-compound-results/macrorugo-compound-results-table.component.ts b/src/app/components/macrorugo-compound-results/macrorugo-compound-results-table.component.ts index 8352c1fa5bc4aaf8e1aa3dbecc1ac4fd9de3067b..5f3e09781863c44d55581968cb7f26ad22390a65 100644 --- a/src/app/components/macrorugo-compound-results/macrorugo-compound-results-table.component.ts +++ b/src/app/components/macrorugo-compound-results/macrorugo-compound-results-table.component.ts @@ -56,7 +56,7 @@ export class MacrorugoCompoundResultsTableComponent extends ResultsComponent { // refresh headers here if language changed this._headers = pr.headers; - // lines 1 - n-1 + // lines 1 - n-1 (aprons) for (let i = 0; i < pr.childrenResults.length; i++) { // @TODO protect loop contents with if(vCalc) ? Will hide erroneous apron results.. const res = pr.childrenResults[i].resultElements[vi].values; @@ -99,6 +99,14 @@ export class MacrorugoCompoundResultsTableComponent extends ResultsComponent { res.xCenter.toFixed(nDigits) ]); } + + // line n (total flow) + this._dataSet.push([ + this.intlService.localizeText("INFO_LIB_TOTAL"), + "", "", + pr.result.resultElements[vi].vCalc.toFixed(nDigits), + "", "", "", "", "", "", "", "", "" + ]); } } diff --git a/src/locale/messages.en.json b/src/locale/messages.en.json index 6be90e4e79af951df777ad36149077b5cbb9da8c..3305a7ddc8c0f851e5b9f0f05560c9b0c3bb62d3 100644 --- a/src/locale/messages.en.json +++ b/src/locale/messages.en.json @@ -230,6 +230,7 @@ "INFO_LIB_STRUCT_CONTAINER": "Devices", "INFO_LIB_TAU0": "Tractive force", "INFO_LIB_TOR": "Supercritical water line", + "INFO_LIB_TOTAL": "Total", "INFO_LIB_V_GUIDETECH": "Technical guide speed", "INFO_LIB_V": "Average speed", "INFO_LIB_VDEB": "Conveyance speed", diff --git a/src/locale/messages.fr.json b/src/locale/messages.fr.json index ba9202669131842939f9eb75b9b6b418ed9d1bbb..5f94ea7acb2425d0cef89b10ea6faacb479268dc 100644 --- a/src/locale/messages.fr.json +++ b/src/locale/messages.fr.json @@ -229,6 +229,7 @@ "INFO_LIB_STRUCT_CONTAINER": "Ouvrages", "INFO_LIB_TAU0": "Force tractrice", "INFO_LIB_TOR": "Ligne d'eau torrentielle", + "INFO_LIB_TOTAL": "Total", "INFO_LIB_V_GUIDETECH": "Vitesse Guide technique", "INFO_LIB_V": "Vitesse moyenne", "INFO_LIB_VDEB": "Vitesse débitante",