diff artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepth/FlowDepthCalculator.java @ 8997:d5802f22e4f5

Work on uinfo
author gernotbelger
date Thu, 12 Apr 2018 19:14:19 +0200
parents b5600453bb8f
children 740d65e4aa14
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepth/FlowDepthCalculator.java	Thu Apr 12 19:13:39 2018 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepth/FlowDepthCalculator.java	Thu Apr 12 19:14:19 2018 +0200
@@ -13,8 +13,9 @@
 import java.util.Collection;
 
 import org.apache.commons.lang.math.DoubleRange;
+import org.dive4elements.river.artifacts.common.ResultRow;
 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.TkhCalculator;
 import org.dive4elements.river.artifacts.sinfo.tkhstate.BedHeightsFinder;
@@ -25,7 +26,7 @@
  */
 final class FlowDepthCalculator {
 
-    private final Collection<SInfoResultRow> rows = new ArrayList<>();
+    private final Collection<ResultRow> rows = new ArrayList<>();
 
     private final BedHeightsFinder bedHeight;
 
@@ -64,7 +65,7 @@
 
     private void calculateResultRow(final double station) {
 
-        final SInfoResultRow row = SInfoResultRow.create();
+        final ResultRow row = ResultRow.create();
 
         row.putValue(SInfoResultType.waterlevelLabel, this.wstLabel);
         row.putValue(SInfoResultType.soundingLabel, this.bedHeightLabel);

http://dive4elements.wald.intevation.org