MainWindow: Checker: Minor change and fixes.

This commit is contained in:
Pierre-Antoine Rouby committed 2024-03-27 09:57:53 +01:00
1 parent 9d9a8a7ced
commit e7e1582836
5 files changed
+87 -94

No files matched your search

+14
View File
@@ -79,3 +79,17 @@ class Modules(Flag):
cls.RESERVOIR,
cls.SEDIMENT_LAYER,
]
@classmethod
def modelling_display_name(cls):
return {
cls.NETWORK: "Network",
cls.GEOMETRY: "Geometry",
cls.BOUNDARY_CONDITION: "Boundary condition",
cls.LATERAL_CONTRIBUTION: "Lateral contribution",
cls.FRICTION: "Friction",
cls.INITIAL_CONDITION: "Initial condition",
cls.HYDRAULIC_STRUCTURES: "Hydraulic structures",
cls.RESERVOIR: "Reservoir",
cls.SEDIMENT_LAYER: "Sediment layer",
}