Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/minfo/SedimentLoadFraction.java @ 4546:af1938d4e957
New field in sediment load object and calculation.
* Factory reads total load value.
* New field in sediment load object.
* State adds new facet to generate output for this type of data.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Thu, 15 Nov 2012 17:44:07 +0100 |
parents | 19772b414d46 |
children |
comparison
equal
deleted
inserted
replaced
4545:bb8b1c182913 | 4546:af1938d4e957 |
---|---|
10 double fine_middle; | 10 double fine_middle; |
11 double coarse; | 11 double coarse; |
12 double susp_sand; | 12 double susp_sand; |
13 double susp_sand_bed; | 13 double susp_sand_bed; |
14 double susp_sediment; | 14 double susp_sediment; |
15 double loadTotal; | |
15 double total; | 16 double total; |
16 | 17 |
17 public SedimentLoadFraction() { | 18 public SedimentLoadFraction() { |
18 sand = 0d; | 19 sand = 0d; |
19 fine_middle = 0d; | 20 fine_middle = 0d; |
20 coarse = 0d; | 21 coarse = 0d; |
21 susp_sand = 0d; | 22 susp_sand = 0d; |
22 susp_sand_bed = 0d; | 23 susp_sand_bed = 0d; |
23 susp_sediment = 0d; | 24 susp_sediment = 0d; |
25 loadTotal = 0d; | |
24 } | 26 } |
25 | 27 |
26 public double getSand() { | 28 public double getSand() { |
27 return sand; | 29 return sand; |
28 } | 30 } |
76 } | 78 } |
77 | 79 |
78 public void setTotal(double total) { | 80 public void setTotal(double total) { |
79 this.total = total; | 81 this.total = total; |
80 } | 82 } |
83 | |
84 public double getLoadTotal() { | |
85 return loadTotal; | |
86 } | |
87 | |
88 public void setLoadTotal(double total) { | |
89 this.loadTotal = total; | |
90 } | |
81 } | 91 } |