Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/bundu/bezugswst/BunduAccess.java @ 9495:bb278c927b66
Datenkorb bezugswasserstände längsschnitte + minor fixes
author | gernotbelger |
---|---|
date | Tue, 25 Sep 2018 16:43:51 +0200 |
parents | be9bd06a1e3f |
children | 967ca59cc11a |
comparison
equal
deleted
inserted
replaced
9494:879c902c4a2d | 9495:bb278c927b66 |
---|---|
70 private String getUd_Q_mode() { | 70 private String getUd_Q_mode() { |
71 return getString("bundu.wst.mode"); | 71 return getString("bundu.wst.mode"); |
72 } | 72 } |
73 | 73 |
74 public Double getMissingVolFrom() { | 74 public Double getMissingVolFrom() { |
75 if (isCalculateMissingValue()) | 75 if (isCalculateMissingVolume()) |
76 return getDouble("ld_from_part"); | 76 return getDouble("ld_from_part"); |
77 else | 77 else |
78 return null; | 78 return null; |
79 } | 79 } |
80 | 80 |
81 public Double getMissingVolTo() { | 81 public Double getMissingVolTo() { |
82 if (isCalculateMissingValue()) | 82 if (isCalculateMissingVolume()) |
83 return getDouble("ld_to_part"); | 83 return getDouble("ld_to_part"); |
84 else | 84 else |
85 return null; | 85 return null; |
86 } | 86 } |
87 | 87 |
88 public boolean isCalculateMissingValue() { | 88 public boolean isCalculateMissingVolume() { |
89 return getBoolean("missing_volume"); | 89 return getBoolean("missing_volume"); |
90 } | 90 } |
91 | 91 |
92 public Integer getBedHeightID() { | 92 public Integer getBedHeightID() { |
93 | 93 |
94 final String data = getString("soundings"); | 94 final String data = getString("soundings"); |
95 | 95 |
96 if (data == null || !isCalculateMissingValue()) { | 96 if (data == null || !isCalculateMissingVolume()) { |
97 log.warn("No 'soundings' parameter specified!"); | 97 log.warn("No 'soundings' parameter specified!"); |
98 return null; | 98 return null; |
99 } else { | 99 } else { |
100 log.debug("getBedHeightIDs(): data=" + data); | 100 log.debug("getBedHeightIDs(): data=" + data); |
101 } | 101 } |