diff --git a/src/app/calculators/rugofondmultiple/config.json b/src/app/calculators/rugofondmultiple/config.json new file mode 100644 index 0000000000000000000000000000000000000000..31d40116ebd5b6f487f643683d0fa0f62772de1e --- /dev/null +++ b/src/app/calculators/rugofondmultiple/config.json @@ -0,0 +1,54 @@ +[ + { + "id": "fs_hydraulique", + "type": "fieldset", + "fields": [ + "Q", + "Z1" + ] + }, + { + "id": "fs_geometry_crete", + "type": "fieldset", + "fields": [ + "L", + "Cd" + ] + }, + { + "id": "fs_geometry_rampe", + "type": "fieldset", + "fields": [ + { + "id": "If", + "help": "hsl/pente.html" + }, + "d65", + "a" + ] + }, + { + "id": "fs_type", + "type": "fieldset", + "fields": [ + { + "id": "select_passtype", + "type": "select", + "property": "rugofondType" + }, + "ZF1", + { + "id": "ZRR", + "allowEmpty": true + }, + { + "id": "ZRL", + "allowEmpty": true + }, + { + "id": "NbT", + "allowEmpty": true + } + ] + } +] diff --git a/src/app/calculators/rugofondmultiple/en.json b/src/app/calculators/rugofondmultiple/en.json new file mode 100644 index 0000000000000000000000000000000000000000..d985c29e9f763236f0903b8fb9689712761a663e --- /dev/null +++ b/src/app/calculators/rugofondmultiple/en.json @@ -0,0 +1,26 @@ +{ + "fs_hydraulique": "Hydraulic parameters", + "fs_geometry_crete": "Crest geometry", + "fs_geometry_rampe": "Ramp geometry", + "fs_type": "Ramp type", + "fs_pass": "Fish pass parameters", + "fs_bloc": "Blocks parameters", + "fs_pass_type": "Pass type", + "macrorugo_container": "Aprons", + "fs_macrorugo": "Apron", + + "select_passtype": "Pass type", + "Q": "Flow", + "If": "Slope", + "a": "Strickler correction factor", + "ZF1": "Upstream ramp bottom elevation", + "ZRR": "Lower upstream ramp bottom elevation", + "ZRL": "Upper upstream ramp bottom elevation", + "NbT": "Number of baffles", + "L": "Total width of ramp", + "Cd": "Discharge coefficient", + "d65": "d65", + + "PASSTYPE_0": "Horizontal aprons", + "PASSTYPE_1": "Inclined apron" +} \ No newline at end of file diff --git a/src/app/calculators/rugofondmultiple/fr.json b/src/app/calculators/rugofondmultiple/fr.json new file mode 100644 index 0000000000000000000000000000000000000000..797c38bb4f8036c102e833cb52597ba16e2e967f --- /dev/null +++ b/src/app/calculators/rugofondmultiple/fr.json @@ -0,0 +1,26 @@ +{ + "fs_hydraulique": "Paramètres hydrauliques", + "fs_geometry_crete": "Géométrie de la crête", + "fs_geometry_rampe": "Géométrie de la rampe", + "fs_type": "Type de rampe", + "fs_pass": "Paramètres de la passe", + "fs_bloc": "Paramètres des blocs", + "fs_pass_type": "Type de passe", + "macrorugo_container": "Radiers", + "fs_macrorugo": "Radier", + + "select_passtype": "Type de passe", + "Q": "Débit", + "If": "Pente", + "a": "Coefficient correcteur du Strickler", + "ZF1": "Cote de fond amont rampe", + "ZRR": "Cote de fond bas amont rampe", + "ZRL": "Cote de fond haut amont rampe", + "NbT": "Nombre de ralentisseurs", + "L": "Largeur totale de la rampe", + "Cd": "Coefficient de débit", + "d65": "d65", + + "PASSTYPE_0": "Radier horizontal", + "PASSTYPE_1": "Radier incliné" +} \ No newline at end of file diff --git a/src/app/config.json b/src/app/config.json index bf12d9f31415e9aa25a2b0b91b2b4351e5ba638c..b21ee7df5e90db4d1a23143756d25f1ae007a4fa 100644 --- a/src/app/config.json +++ b/src/app/config.json @@ -31,7 +31,7 @@ "path": "passe-naturelle.jpg", "credits": "S. Richard / OFB" }, - "calculators": [ 11, 17, 27, 37, 38 ] + "calculators": [ 11, 17, 27, 37, 38, 39 ] }, { "name": "VERIFICATION", diff --git a/src/locale/messages.en.json b/src/locale/messages.en.json index 137f6c6f2783e50072bf53e07949726cb4b9b214..71613dca45dd83d12f8e0aa19a233e19718d6791 100755 --- a/src/locale/messages.en.json +++ b/src/locale/messages.en.json @@ -518,6 +518,8 @@ "INFO_PAR_TITRE": "Baffle fishway: setup", "INFO_RUGOFOND_TITRE": "Bed roughness fishpasses", "INFO_RUGOFOND_TITRE_COURT": "Bed roughness", + "INFO_RUGOFONDMULTIPLE_TITRE": "Multiple bed roughness fishpasses", + "INFO_RUGOFONDMULTIPLE_TITRE_COURT": "Multiple bed roughness", "INFO_PAR_DESCRIPTION": "planes Denil Fatou superactive mixte chevrons canoe", "INFO_PAR_TITRE_COURT": "HF: setup", "INFO_PARSIMULATION_TITRE": "Baffle fishway: simulation", diff --git a/src/locale/messages.fr.json b/src/locale/messages.fr.json index 62d4e610be18727c1bd22fb392f588c72fd7b4d9..fd6fbffb03a48bb56744b00bbd8010d6dcc24cd2 100755 --- a/src/locale/messages.fr.json +++ b/src/locale/messages.fr.json @@ -519,6 +519,8 @@ "INFO_PAR_TITRE": "Passe à ralentisseurs : calage", "INFO_RUGOFOND_TITRE": "Passe à rugosité de fond", "INFO_RUGOFOND_TITRE_COURT": "Rugofond", + "INFO_RUGOFONDMULTIPLE_TITRE": "Passe à rugosité de fond multiple", + "INFO_RUGOFONDMULTIPLE_TITRE_COURT": "Rugofond multiple", "INFO_PAR_DESCRIPTION": "plans Denil Fatou fonds suractifs mixte chevrons canoë", "INFO_PAR_TITRE_COURT": "PAR : calage", "INFO_PARSIMULATION_TITRE": "Passe à ralentisseurs : simulation",