Mercurial > dive4elements > river
diff artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/tkhstate/TkhCalculation.java @ 9312:740d65e4aa14
Q [m³/s] one message
author | gernotbelger |
---|---|
date | Thu, 26 Jul 2018 15:54:20 +0200 |
parents | 3dae6b78e1da |
children | 7b2b086e45f0 |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/tkhstate/TkhCalculation.java Thu Jul 26 11:16:06 2018 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/tkhstate/TkhCalculation.java Thu Jul 26 15:54:20 2018 +0200 @@ -23,6 +23,7 @@ import org.apache.commons.lang.math.NumberRange; import org.dive4elements.artifacts.CallContext; import org.dive4elements.river.artifacts.WINFOArtifact; +import org.dive4elements.river.artifacts.common.GeneralResultType; import org.dive4elements.river.artifacts.common.ResultRow; import org.dive4elements.river.artifacts.model.Calculation; import org.dive4elements.river.artifacts.model.Calculation.Problem; @@ -182,7 +183,7 @@ row.putValue(SInfoResultType.waterlevelLabel, waterlevelLabel); row.putValue(SInfoResultType.gaugeLabel, riverInfoProvider.findGauge(station)); - row.putValue(SInfoResultType.location, riverInfoProvider.getLocation(station)); + row.putValue(GeneralResultType.location, riverInfoProvider.getLocation(station)); if (tkhCalculator.calculateTkh(station, row)) rows.add(row);