Mercurial > dive4elements > river
diff artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/tkhstate/TkhCalculation.java @ 8996:fb9430250899
Work on uinfo
author | gernotbelger |
---|---|
date | Thu, 12 Apr 2018 19:13:39 +0200 |
parents | b194fa64506a |
children | 5488166d32ee |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/tkhstate/TkhCalculation.java Thu Apr 12 19:11:11 2018 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/tkhstate/TkhCalculation.java Thu Apr 12 19:13:39 2018 +0200 @@ -22,6 +22,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.ResultRow; import org.dive4elements.river.artifacts.model.Calculation; import org.dive4elements.river.artifacts.model.Calculation.Problem; import org.dive4elements.river.artifacts.model.CalculationResult; @@ -29,7 +30,6 @@ import org.dive4elements.river.artifacts.resources.Resources; import org.dive4elements.river.artifacts.sinfo.SINFOArtifact; import org.dive4elements.river.artifacts.sinfo.common.RiverInfoProvider; -import org.dive4elements.river.artifacts.sinfo.common.SInfoResultRow; import org.dive4elements.river.artifacts.sinfo.common.SInfoResultType; import org.dive4elements.river.artifacts.sinfo.tkhcalculation.DischargeValuesFinder; import org.dive4elements.river.artifacts.sinfo.tkhcalculation.TkhCalculator; @@ -151,7 +151,7 @@ return null; } - final Collection<SInfoResultRow> rows = new ArrayList<>(); + final Collection<ResultRow> rows = new ArrayList<>(); for (final Double stationDbl : allStations) { @@ -162,7 +162,7 @@ if (tkhCalculator == null) continue; - final SInfoResultRow row = SInfoResultRow.create(); + final ResultRow row = ResultRow.create(); row.putValue(SInfoResultType.waterlevelLabel, descBuilder.getDesc(wkms)); row.putValue(SInfoResultType.gaugeLabel, riverInfoProvider.findGauge(station));