mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
start to work on compare results
This commit is contained in:
1 parent
58f72cfa6b
commit
558085705f
9 files changed
+358
-7
No files matched your search
@@ -95,3 +95,35 @@ class ResultsTranslate(MainTranslate):
|
||||
"min_depth": self._dict["unit_min_depth"],
|
||||
"max_depth": self._dict["unit_max_depth"],
|
||||
}
|
||||
|
||||
class CompareResultsTranslate(ResultsTranslate):
|
||||
def __init__(self):
|
||||
super(CompareResultsTranslate, self).__init__()
|
||||
|
||||
self._dict['label_water'] = u"Δ "+_translate("Results", "Water elevation")
|
||||
self._dict['unit_elevation'] = u"Δ "+self._dict["unit_elevation"]
|
||||
|
||||
self._sub_dict["table_headers_raw_data"] = {
|
||||
"name": _translate("Results", "Profile"),
|
||||
"water_elevation": u"Δ "+self._dict["unit_water_elevation"],
|
||||
"discharge": u"Δ "+self._dict["unit_discharge"],
|
||||
"velocity": u"Δ "+self._dict["unit_velocity"],
|
||||
"width": u"Δ "+self._dict["unit_width"],
|
||||
"depth": u"Δ "+self._dict["unit_depth"],
|
||||
"mean_depth": u"Δ "+self._dict["unit_mean_depth"],
|
||||
"wet_area": u"Δ "+self._dict["unit_wet_area"],
|
||||
"wet_perimeter": u"Δ "+self._dict["unit_wet_perimeter"],
|
||||
"hydraulic_radius": u"Δ "+self._dict["unit_hydraulic_radius"],
|
||||
"froude": u"Δ "+self._dict["unit_froude"],
|
||||
}
|
||||
|
||||
self._sub_dict["values_y"] = {
|
||||
"bed_elevation": u"Δ "+self._dict["unit_bed_elevation"],
|
||||
"water_elevation": u"Δ "+self._dict["unit_water_elevation"],
|
||||
"discharge": u"Δ "+self._dict["unit_discharge"],
|
||||
"velocity": u"Δ "+self._dict["unit_velocity"],
|
||||
"depth": u"Δ "+self._dict["unit_depth"],
|
||||
"mean_depth": u"Δ "+self._dict["unit_mean_depth"],
|
||||
"froude": u"Δ "+self._dict["unit_froude"],
|
||||
"wet_area": u"Δ "+self._dict["unit_wet_area"],
|
||||
}
|
||||
Reference in new issue
Block a user