[Dive4elements-commits] [PATCH 4 of 7] Added new fraction 'unknown' to SedimentLoadFractions

Wald Commits scm-commit at wald.intevation.org
Fri Jun 21 15:38:16 CEST 2013


# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1371821586 -7200
# Node ID ec537afacac2638147e972cc7ead6637f91c6aa2
# Parent  94f7e1a4736bb15d3dd9f9003dbf0fe6a3212c43
Added new fraction 'unknown' to SedimentLoadFractions.

diff -r 94f7e1a4736b -r ec537afacac2 artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadFraction.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadFraction.java	Fri Jun 21 15:31:07 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadFraction.java	Fri Jun 21 15:33:06 2013 +0200
@@ -23,6 +23,7 @@
     double suspSediment;
     double loadTotal;
     double total;
+    double unknown;
     /** Values are valid within this km range. */
     Range sandRange = null;
     Range fineMiddleRange = null;
@@ -32,7 +33,7 @@
     Range suspSedimentRange = null;
     Range loadTotalRange = null;
     Range totalRange = null;
-
+    Range unknownRange = null;
 
     public SedimentLoadFraction() {
         sand = 0d;
@@ -42,6 +43,7 @@
         suspSandBed = 0d;
         suspSediment = 0d;
         loadTotal = 0d;
+        unknown = 0d;
     }
 
     public double getSand() {
@@ -167,5 +169,21 @@
     public void setLoadTotalRange(Range range) {
         this.loadTotalRange = range;
     }
+
+    public double getUnknown() {
+        return unknown;
+    }
+
+    public void setUnknown(double unknown) {
+        this.unknown = unknown;
+    }
+
+    public Range getUnknownRange() {
+        return unknownRange;
+    }
+
+    public void setUnknownRange(Range unknownRange) {
+        this.unknownRange = unknownRange;
+    }
 }
 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :


More information about the Dive4elements-commits mailing list