Mercurial > dive4elements > river
diff artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepthdev/FlowDepthDevelopmentCalculationResult.java @ 8953:c40db8e8dcae
SINFO - Flow depth development - implemented exporters
author | gernotbelger |
---|---|
date | Mon, 19 Mar 2018 14:01:21 +0100 |
parents | 322b0e6298ea |
children | d5802f22e4f5 |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepthdev/FlowDepthDevelopmentCalculationResult.java Mon Mar 19 09:12:17 2018 +0100 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepthdev/FlowDepthDevelopmentCalculationResult.java Mon Mar 19 14:01:21 2018 +0100 @@ -60,4 +60,36 @@ public BedHeightInfo getHistoricalSounding() { return this.historicalSounding; } + + public String getWaterlevelDifferenceLabel() { + return new StringBuilder(). // + append(this.currentWst.getLabel()). // + append(" - "). // + append(this.historicalWst.getLabel()). // + toString(); + } + + public String getBedHeightDifferenceLabel() { + return new StringBuilder(). // + append(this.currentSounding.getDescription()). // + append(" - "). // + append(this.historicalSounding.getDescription()). // + toString(); + } + + public String getFlowDepthCurrentLabel() { + return new StringBuilder(). // + append(this.currentWst.getLabel()). // + append(" - "). // + append(this.currentSounding.getDescription()). // + toString(); + } + + public String getFlowDepthHistoricalLabel() { + return new StringBuilder(). // + append(this.historicalWst.getLabel()). // + append(" - "). // + append(this.historicalSounding.getDescription()). // + toString(); + } } \ No newline at end of file