diff --git a/src/app/calculators/regime-uniforme/regime-uniforme.config.json b/src/app/calculators/regime-uniforme/regime-uniforme.config.json index ddd0c099aae18b9ec09bac2be70d0570513f1dac..a5623b0006f2e80f9b4cdcc2c44facdeaa9ce527 100644 --- a/src/app/calculators/regime-uniforme/regime-uniforme.config.json +++ b/src/app/calculators/regime-uniforme/regime-uniforme.config.json @@ -7,96 +7,43 @@ { "id": "select_section", "type": "select", - "select": [ - { - "id": "select_section_trapez", - "enum": "ComputeNodeType.SectionTrapeze" - }, - { - "id": "select_section_rect", - "enum": "ComputeNodeType.SectionRectangle" - }, - { - "id": "select_section_circ", - "enum": "ComputeNodeType.SectionCercle" - }, - { - "id": "select_section_puiss", - "enum": "ComputeNodeType.SectionPuissance" - } - ] + "source": "acsection_available_sections" }, { "type": "input", "id": "LargeurFond", "nodeType": "SectionTrapeze", - "unit": "m", - "dep_exist": [ - { - "refid": "select_section", - "refvalue": "select_section_trapez" - } - ] + "unit": "m" }, { "type": "input", "id": "Fruit", "nodeType": "SectionTrapeze", - "unit": "m/m", - "dep_exist": [ - { - "refid": "select_section", - "refvalue": "select_section_trapez" - } - ] + "unit": "m/m" }, { "type": "input", "id": "LargeurBerge", "nodeType": "SectionRectangle", - "unit": "m", - "dep_exist": [ - { - "refid": "select_section", - "refvalue": "select_section_rect" - } - ] + "unit": "m" }, { "type": "input", "id": "D", "nodeType": "SectionCercle", - "unit": "m", - "dep_exist": [ - { - "refid": "select_section", - "refvalue": "select_section_circ" - } - ] + "unit": "m" }, { "type": "input", "id": "k", "nodeType": "SectionPuissance", - "unit": "", - "dep_exist": [ - { - "refid": "select_section", - "refvalue": "select_section_puiss" - } - ] + "unit": "" }, { "type": "input", "id": "LargeurBerge", "nodeType": "SectionPuissance", - "unit": "m", - "dep_exist": [ - { - "refid": "select_section", - "refvalue": "select_section_puiss" - } - ] + "unit": "m" } ] },