[Dive4elements-commits] [PATCH 5 of 7] FixRealizingCompute: Add CrossSectionWaterLineFacet in FixRealizingState

Wald Commits scm-commit at wald.intevation.org
Wed Nov 14 13:43:26 CET 2012


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1352897248 -3600
# Node ID acd7437f66f0dfdaa7e43e235e5deaf48c2dd902
# Parent  03b8d10a99c0b432645f01c5e2d41bef2f677fd6
FixRealizingCompute: Add CrossSectionWaterLineFacet in FixRealizingState.

diff -r 03b8d10a99c0 -r acd7437f66f0 flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/fixation/FixRealizingCompute.java
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/fixation/FixRealizingCompute.java	Wed Nov 14 13:46:50 2012 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/fixation/FixRealizingCompute.java	Wed Nov 14 13:47:28 2012 +0100
@@ -10,6 +10,7 @@
 import de.intevation.flys.artifacts.FLYSArtifact;
 import de.intevation.flys.artifacts.access.FixRealizingAccess;
 import de.intevation.flys.artifacts.model.CalculationResult;
+import de.intevation.flys.artifacts.model.CrossSectionWaterLineFacet;
 import de.intevation.flys.artifacts.model.DataFacet;
 import de.intevation.flys.artifacts.model.FacetTypes;
 import de.intevation.flys.artifacts.model.ReportFacet;
@@ -32,7 +33,6 @@
     /** The logger used in this class. */
     private static Logger logger = Logger.getLogger(FixRealizingCompute.class);
 
-
     public static final String I18N_WQ_CURVE = "fix.vollmer.wq.curve";
 
     public static final String I18N_WQ_OUTLIER = "fix.vollmer.wq.outliers";
@@ -101,9 +101,11 @@
 
             Facet q = new FixWaterlevelFacet(
                 i, LONGITUDINAL_Q, nameQ);
+            Facet csFacet = new CrossSectionWaterLineFacet(i, nameW);
 
             facets.add(w);
             facets.add(q);
+            facets.add(csFacet);
 
             if (wqkms[i] instanceof WQCKms) {
                 String nameC = nameW.replace(


More information about the Dive4elements-commits mailing list