changeset 6520:494ff62089b3

Merged
author Sascha L. Teichmann <teichmann@intevation.de>
date Sat, 29 Jun 2013 09:32:44 +0200
parents 862c7f511c35 (diff) 7285f6e1be3d (current diff)
children bfcb513c1fda
files
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/OfficialLineFinder.java	Fri Jun 28 21:57:30 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/OfficialLineFinder.java	Sat Jun 29 09:32:44 2013 +0200
@@ -114,7 +114,9 @@
                 " wstId: " + wstId +
                 " pos: " + columnPos +
                 " source: " + source +
-                " date: " + date +"]";
+                " date: " + date +
+                " from: " + start +
+                " to: " + end + "]";
         }
     }
 
@@ -168,9 +170,8 @@
                     NamedMainValue tnmv = mainValue.getMainValue();
                     if (tnmv.getId().equals(mnvId)) {
                         // found gauge with this main value
-
                         double from  = gauge.getRange().getA().doubleValue();
-                        double to    = gauge.getRange().getA().doubleValue();
+                        double to    = gauge.getRange().getB().doubleValue();
                         double value = mainValue.getValue().doubleValue();
                         int    wstId = wst.getId();
                         int    pos   = wc.getPosition();

http://dive4elements.wald.intevation.org