Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flood_duration/FloodDurationCalculation.java @ 9269:83ebeb620b5a
Station specific main value annotations in S-Info flood duration curve, corrected infrastructure flood duration calculation
author | mschaefer |
---|---|
date | Thu, 19 Jul 2018 08:07:03 +0200 |
parents | 465347d12990 |
children | f318359b81a2 |
comparison
equal
deleted
inserted
replaced
9268:ae9dee74e43e | 9269:83ebeb620b5a |
---|---|
112 final Calculation problems = new Calculation(); | 112 final Calculation problems = new Calculation(); |
113 | 113 |
114 final FloodDurationCalculator calculator = new FloodDurationCalculator(this.context, null); | 114 final FloodDurationCalculator calculator = new FloodDurationCalculator(this.context, null); |
115 return calculator.calcInfrastructureAnnotations(problems, station, result); | 115 return calculator.calcInfrastructureAnnotations(problems, station, result); |
116 } | 116 } |
117 | |
118 /** | |
119 * Calculates the annotations of the W main values of a station | |
120 */ | |
121 public List<StickyAxisAnnotation> calcMainValueWAnnotations(final double station, final FloodDurationCalculationResult result) { | |
122 | |
123 final Calculation problems = new Calculation(); | |
124 | |
125 final FloodDurationCalculator calculator = new FloodDurationCalculator(this.context, null); | |
126 return calculator.calcMainValueWAnnotations(problems, station, result); | |
127 } | |
128 | |
129 /** | |
130 * Calculates the annotations of the Q main values of a station | |
131 */ | |
132 public List<StickyAxisAnnotation> calcMainValueQAnnotations(final double station, final FloodDurationCalculationResult result) { | |
133 | |
134 final Calculation problems = new Calculation(); | |
135 | |
136 final FloodDurationCalculator calculator = new FloodDurationCalculator(this.context, null); | |
137 return calculator.calcMainValueQAnnotations(problems, station, result); | |
138 } | |
117 } | 139 } |