mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
HS: Fix hs section set and display.
This commit is contained in:
1 parent
fc7d732e0a
commit
a072a28929
5 files changed
+10
-8
No files matched your search
@@ -355,13 +355,15 @@ class HydraulicStructure(SQLSubModel):
|
||||
def input_rk(self):
|
||||
if self._input_section is None:
|
||||
return None
|
||||
return self._input_section.rk
|
||||
|
||||
return self._input_section
|
||||
|
||||
@property
|
||||
def output_rk(self):
|
||||
if self._output_section is None:
|
||||
return None
|
||||
return self._output_section.rk
|
||||
|
||||
return self._output_section
|
||||
|
||||
@property
|
||||
def input_section(self):
|
||||
|
||||
Reference in new issue
Block a user