changeset 8344:840bc78cd333

Use ws in m for duration curve.
author Raimund Renkert <rrenkert@intevation.de>
date Tue, 30 Sep 2014 14:40:02 +0200
parents 42b258294067
children 8089f7af6bb5
files artifacts/src/main/java/org/dive4elements/river/artifacts/MainValuesArtifact.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/MainValuesArtifact.java	Tue Sep 30 13:03:55 2014 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/MainValuesArtifact.java	Tue Sep 30 14:40:02 2014 +0200
@@ -386,7 +386,8 @@
                     }
                 }
                 else if (!(pnpObject instanceof Number) &&
-                    g != null
+                    g != null &&
+                    !"duration_curve".equals(getBoundToOut())
                 ) {
                     if (mv.getMainValue().getType().getName().equals("W")) {
                         filteredList.add(new NamedDouble(

http://dive4elements.wald.intevation.org