mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
LC: Add specific Lateral contribution types.
This commit is contained in:
1 parent
906ea621b6
commit
b786bb44e2
6 files changed
+24
-48
No files matched your search
@@ -3,18 +3,16 @@
|
||||
from PyQt5.QtCore import QCoreApplication
|
||||
|
||||
from Model.LateralContribution.LateralContributionTypes import (
|
||||
NotDefined, PonctualContribution,
|
||||
TimeOverZ, TimeOverDebit, ZOverDebit
|
||||
NotDefined, LateralContrib, Rain, Evaporation,
|
||||
)
|
||||
|
||||
_translate = QCoreApplication.translate
|
||||
|
||||
long_types = {
|
||||
"ND": _translate("LateralContribution", "Not defined"),
|
||||
"PC": _translate("LateralContribution", "Ponctual contribution"),
|
||||
"TZ": _translate("LateralContribution", "Time over Z"),
|
||||
"TD": _translate("LateralContribution", "Time over Debit"),
|
||||
"ZD": _translate("LateralContribution", "Z over Debit"),
|
||||
"LC": _translate("LateralContribution", "Lateral contribution"),
|
||||
"RA": _translate("LateralContribution", "Rain"),
|
||||
"EV": _translate("LateralContribution", "Evaporation"),
|
||||
}
|
||||
|
||||
table_headers = {
|
||||
@@ -25,8 +23,7 @@ table_headers = {
|
||||
|
||||
LC_types = {
|
||||
"ND": NotDefined,
|
||||
"PC": PonctualContribution,
|
||||
"TZ": TimeOverZ,
|
||||
"TD": TimeOverDebit,
|
||||
"ZD": ZOverDebit
|
||||
"LC": LateralContrib,
|
||||
"RA": Rain,
|
||||
"EV": Evaporation,
|
||||
}
|
||||
Reference in new issue
Block a user