Skip to content
Snippets Groups Projects
Commit 8c007dcd authored by mathias.chouet's avatar mathias.chouet
Browse files

Travailr sur #189 : ajout du module Passe à bassin - chute

parent 3d73b3a5
No related branches found
No related tags found
1 merge request!42Resolve "Ajout des modules PAB "chute" et "nombre de bassins""
[
{
"id": "fs_chute",
"type": "fieldset",
"option": "cal",
"fields": [
{
"type": "input",
"id": "Z1",
"unit": "m"
},
{
"type": "input",
"id": "Z2",
"unit": "m"
},
{
"type": "input",
"id": "DH",
"unit": "m"
}
]
},
{
"type": "options",
"idCal": "DH",
"help": "pab/chute"
}
]
\ No newline at end of file
{
"fs_chute": "Basin dimensions",
"Z1": "Upstream height",
"Z2": "Downstream height",
"DH": "Fall"
}
\ No newline at end of file
{
"fs_chute": "Dimensions du bassin",
"Z1": "Cote amont",
"Z2": "Cote aval",
"DH": "Chute"
}
\ No newline at end of file
......@@ -173,6 +173,7 @@ export class FormulaireService extends Observable {
let f: FormulaireDefinition;
switch (ct) {
case CalculatorType.ConduiteDistributrice:
case CalculatorType.PabChute:
case CalculatorType.PabDimensions:
case CalculatorType.PabPuissance:
case CalculatorType.MacroRugo:
......@@ -378,6 +379,9 @@ export class FormulaireService extends Observable {
case CalculatorType.MacroRugo:
return "app/calculators/macrorugo/macrorugo.";
case CalculatorType.PabChute:
return "app/calculators/pab-chute/pab-chute.";
default:
throw new Error("FormulaireService.getConfigPathPrefix() : valeur de CalculatorType " + ct + " non implémentée");
}
......
......@@ -155,6 +155,8 @@
"INFO_OPTION_NONE": "None",
"INFO_OPTION_NONE_F": "None",
"INFO_OUVRAGE": "Structure",
"INFO_PABCHUTE_TITRE": "Fish ladder: fall",
"INFO_PABCHUTE_TITRE_COURT": "FL: fall",
"INFO_PABDIMENSIONS_TITRE": "Fish ladder: dimensions",
"INFO_PABDIMENSIONS_TITRE_COURT": "FL: dimensions",
"INFO_PABPUISSANCE_TITRE": "Fish ladder: dissipated power",
......
......@@ -155,6 +155,8 @@
"INFO_OPTION_NONE": "Aucun",
"INFO_OPTION_NONE_F": "Aucune",
"INFO_OUVRAGE": "Ouvrage",
"INFO_PABCHUTE_TITRE": "Passe à bassin : chute",
"INFO_PABCHUTE_TITRE_COURT": "PAB : chute",
"INFO_PABDIMENSIONS_TITRE": "Passe à bassin : dimensions",
"INFO_PABDIMENSIONS_TITRE_COURT": "PAB : dimensions",
"INFO_PABPUISSANCE_TITRE": "Passe à bassin : puissance dissipée",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment