annotate artifacts/src/main/java/org/dive4elements/river/artifacts/bundu/BunduResultType.java @ 9451:fd6621f47a72

Bundu bzws density calculation completed
author mschaefer
date Thu, 23 Aug 2018 10:57:40 +0200
parents 7e1fb8d0cb0d
children 9e471031cc1e
rev   line source
9318
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
1 /** Copyright (C) 2017 by Bundesanstalt für Gewässerkunde
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
2 * Software engineering by
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
3 * Björnsen Beratende Ingenieure GmbH
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
4 * Dr. Schumacher Ingenieurbüro für Wasser und Umwelt
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
5 *
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
6 * This file is Free Software under the GNU AGPL (>=v3)
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
7 * and comes with ABSOLUTELY NO WARRANTY! Check out the
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
8 * documentation coming with Dive4Elements River for details.
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
9 */
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
10 package org.dive4elements.river.artifacts.bundu;
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
11
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
12 import java.text.NumberFormat;
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
13
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
14 import org.dive4elements.artifacts.CallContext;
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
15 import org.dive4elements.river.artifacts.common.AbstractResultType;
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
16 import org.dive4elements.river.artifacts.common.I18NStrings;
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
17 import org.dive4elements.river.utils.Formatter;
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
18
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
19 /**
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
20 * @author Domenico Nardi Tironi
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
21 *
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
22 */
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
23 public abstract class BunduResultType extends AbstractResultType {
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
24
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
25 protected BunduResultType(final String unit, final String csvHeader, final String pdfHeader) {
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
26 super(unit, csvHeader, pdfHeader);
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
27 }
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
28
9330
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
29 protected BunduResultType(final String unit, final String csvHeader) {
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
30 super(unit, csvHeader, csvHeader);
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
31 }
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
32
9318
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
33 private static final long serialVersionUID = 1L;
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
34
9330
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
35 public static final BunduResultType bezugswst = new BunduResultType(I18NStrings.UNIT_NONE, "bundu.wst.export.csv.meta.header.bezugswst",
9432
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
36 "bundu.wst.export.pdf.meta.header.bezugswst") { // Unit dynamic
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
37
9318
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
38 private static final long serialVersionUID = 1L;
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
39
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
40 @Override
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
41 public String exportValue(final CallContext context, final Object value) {
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
42 final double doubleValue = asDouble(value);
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
43 return exportDoubleValue(context, doubleValue);
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
44 }
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
45
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
46 @Override
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
47 protected NumberFormat createFormatter(final CallContext context) {
9432
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
48 return Formatter.getFlowDepth(context); // REMARK same as SInfoResultType.waterlevel
9318
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
49 }
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
50 };
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
51
9330
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
52 public static final BunduResultType sounding = new BunduResultType(I18NStrings.UNIT_NONE, "bundu.export.bezugswst.csv.meta.miss.sounding") {
9432
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
53
9330
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
54 private static final long serialVersionUID = 1L;
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
55
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
56 @Override
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
57 public String exportValue(final CallContext context, final Object value) {
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
58 return exportStringValue(value);
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
59 }
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
60
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
61 @Override
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
62 protected NumberFormat createFormatter(final CallContext context) {
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
63 throw new UnsupportedOperationException();
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
64 }
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
65 };
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
66
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
67 public static final BunduResultType channelLowerEdge = new BunduResultType(I18NStrings.UNIT_NONE, "bundu.export.bezugswst.csv.meta.miss.channel.lower_edge",
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
68 "bundu.export.bezugswst.pdf.meta.miss.channel.lower_edge") { // Unit dynamic
9432
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
69
9330
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
70 private static final long serialVersionUID = 1L;
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
71
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
72 @Override
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
73 public String exportValue(final CallContext context, final Object value) {
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
74 final double doubleValue = asDouble(value);
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
75 return exportDoubleValue(context, doubleValue);
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
76 }
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
77
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
78 @Override
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
79 protected NumberFormat createFormatter(final CallContext context) {
9432
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
80 return Formatter.getFlowDepth(context); // REMARK same as SInfoResultType.waterlevel
9330
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
81 }
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
82 };
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
83
9432
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
84 public static final BunduResultType channelDepth = new BunduResultType(I18NStrings.UNIT_M, "bundu.export.bezugswst.csv.meta.miss.channel.min_depth",
9330
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
85 "bundu.export.bezugswst.pdf.meta.miss.channel.min_depth") {
9432
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
86
9330
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
87 private static final long serialVersionUID = 1L;
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
88
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
89 @Override
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
90 public String exportValue(final CallContext context, final Object value) {
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
91 final double doubleValue = asDouble(value);
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
92 return exportDoubleValue(context, doubleValue);
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
93 }
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
94
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
95 @Override
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
96 protected NumberFormat createFormatter(final CallContext context) {
9450
7e1fb8d0cb0d Bundu bzws calculation nearly completed, some corrections with csv output, started with linking the minfo density calculation
mschaefer
parents: 9448
diff changeset
97 return Formatter.getFlowDepth(context);
9330
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
98 }
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
99 };
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
100
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
101 public static final BunduResultType hasMissingDepth = new BunduResultType(I18NStrings.UNIT_NONE, "bundu.export.bezugswst.csv.meta.miss.exists",
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
102 "bundu.export.bezugswst.pdf.meta.miss.exists") {
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
103 private static final long serialVersionUID = 1L;
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
104
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
105 @Override
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
106 public String exportValue(final CallContext context, final Object value) {
9448
d32b11d585cd CSV-Export bundu.wst fehlvolumen
gernotbelger
parents: 9446
diff changeset
107 return exportBooleanValue(context, value);
9330
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
108 }
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
109
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
110 @Override
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
111 protected NumberFormat createFormatter(final CallContext context) {
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
112 throw new UnsupportedOperationException();
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
113 }
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
114 };
9432
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
115 public static final BunduResultType missVolumeTotal = new BunduResultType(I18NStrings.UNIT_CUBIC_M, "bundu.export.bezugswst.csv.meta.miss.volume.total") {
9330
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
116 private static final long serialVersionUID = 1L;
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
117
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
118 @Override
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
119 public String exportValue(final CallContext context, final Object value) {
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
120 final double doubleValue = asDouble(value);
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
121 return exportDoubleValue(context, doubleValue);
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
122 }
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
123
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
124 @Override
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
125 protected NumberFormat createFormatter(final CallContext context) {
9432
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
126 return Formatter.getIntegerFormatter(context);
9330
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
127 }
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
128 };
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
129
9432
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
130 public static final BunduResultType missMassTotal = new BunduResultType(I18NStrings.UNIT_TON, "bundu.export.bezugswst.csv.meta.miss.mass.total",
9330
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
131 "bundu.export.bezugswst.csv.meta.miss.mass") {
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
132 private static final long serialVersionUID = 1L;
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
133
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
134 @Override
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
135 public String exportValue(final CallContext context, final Object value) {
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
136 final double doubleValue = asDouble(value);
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
137 return exportDoubleValue(context, doubleValue);
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
138 }
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
139
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
140 @Override
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
141 protected NumberFormat createFormatter(final CallContext context) {
9432
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
142 return Formatter.getMassFormat(context);
9330
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
143 }
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
144 };
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
145
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
146 public static final BunduResultType excavationVolume = new BunduResultType(I18NStrings.UNIT_CUBIC_M, "bundu.export.bezugswst.csv.meta.miss.excavation",
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
147 "bundu.export.bezugswst.pdf.meta.miss.excavation") {
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
148 private static final long serialVersionUID = 1L;
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
149
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
150 @Override
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
151 public String exportValue(final CallContext context, final Object value) {
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
152 final double doubleValue = asDouble(value);
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
153 return exportDoubleValue(context, doubleValue);
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
154 }
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
155
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
156 @Override
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
157 protected NumberFormat createFormatter(final CallContext context) {
9432
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
158 return Formatter.getIntegerFormatter(context);
9330
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
159 }
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
160 };
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
161
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
162 public static final BunduResultType excavationCosts = new BunduResultType(I18NStrings.UNIT_EURO, "bundu.export.bezugswst.csv.meta.miss.costs",
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
163 "bundu.export.bezugswst.pdf.meta.miss.costs") {
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
164 private static final long serialVersionUID = 1L;
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
165
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
166 @Override
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
167 public String exportValue(final CallContext context, final Object value) {
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
168 final double doubleValue = asDouble(value);
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
169 return exportDoubleValue(context, doubleValue);
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
170 }
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
171
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
172 @Override
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
173 protected NumberFormat createFormatter(final CallContext context) {
9432
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
174 return Formatter.getCurrencyFormat(context);
9330
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
175 }
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
176 };
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
177
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
178 public static final BunduResultType channelWidth = new BunduResultType(I18NStrings.UNIT_M, "bundu.export.bezugswst.csv.meta.miss.channel.width",
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
179 "bundu.export.bezugswst.pdf.meta.miss.channel.width") {
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
180 private static final long serialVersionUID = 1L;
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
181
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
182 @Override
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
183 public String exportValue(final CallContext context, final Object value) {
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
184 final double doubleValue = asDouble(value);
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
185 return exportDoubleValue(context, doubleValue);
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
186 }
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
187
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
188 @Override
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
189 protected NumberFormat createFormatter(final CallContext context) {
9432
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
190 return Formatter.getChannelWidth(context);
9330
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
191 }
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
192 };
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
193
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
194 public static final BunduResultType density = new BunduResultType(I18NStrings.UNIT_M, "bundu.export.bezugswst.csv.meta.miss.density",
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
195 "bundu.export.bezugswst.pdf.meta.miss.density") {
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
196 private static final long serialVersionUID = 1L;
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
197
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
198 @Override
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
199 public String exportValue(final CallContext context, final Object value) {
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
200 final double doubleValue = asDouble(value);
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
201 return exportDoubleValue(context, doubleValue);
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
202 }
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
203
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
204 @Override
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
205 protected NumberFormat createFormatter(final CallContext context) {
9432
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
206 return Formatter.getDensityFormat(context);
9330
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
207 }
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
208 };
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
209
9450
7e1fb8d0cb0d Bundu bzws calculation nearly completed, some corrections with csv output, started with linking the minfo density calculation
mschaefer
parents: 9448
diff changeset
210 public static final BunduResultType missDepthMeanBed = new BunduResultType(I18NStrings.UNIT_NONE, null) {
7e1fb8d0cb0d Bundu bzws calculation nearly completed, some corrections with csv output, started with linking the minfo density calculation
mschaefer
parents: 9448
diff changeset
211
7e1fb8d0cb0d Bundu bzws calculation nearly completed, some corrections with csv output, started with linking the minfo density calculation
mschaefer
parents: 9448
diff changeset
212 private static final long serialVersionUID = 1L;
7e1fb8d0cb0d Bundu bzws calculation nearly completed, some corrections with csv output, started with linking the minfo density calculation
mschaefer
parents: 9448
diff changeset
213
7e1fb8d0cb0d Bundu bzws calculation nearly completed, some corrections with csv output, started with linking the minfo density calculation
mschaefer
parents: 9448
diff changeset
214 @Override
7e1fb8d0cb0d Bundu bzws calculation nearly completed, some corrections with csv output, started with linking the minfo density calculation
mschaefer
parents: 9448
diff changeset
215 public String exportValue(final CallContext context, final Object value) {
7e1fb8d0cb0d Bundu bzws calculation nearly completed, some corrections with csv output, started with linking the minfo density calculation
mschaefer
parents: 9448
diff changeset
216 final double doubleValue = asDouble(value);
7e1fb8d0cb0d Bundu bzws calculation nearly completed, some corrections with csv output, started with linking the minfo density calculation
mschaefer
parents: 9448
diff changeset
217 return exportDoubleValue(context, doubleValue);
7e1fb8d0cb0d Bundu bzws calculation nearly completed, some corrections with csv output, started with linking the minfo density calculation
mschaefer
parents: 9448
diff changeset
218 }
7e1fb8d0cb0d Bundu bzws calculation nearly completed, some corrections with csv output, started with linking the minfo density calculation
mschaefer
parents: 9448
diff changeset
219
7e1fb8d0cb0d Bundu bzws calculation nearly completed, some corrections with csv output, started with linking the minfo density calculation
mschaefer
parents: 9448
diff changeset
220 @Override
7e1fb8d0cb0d Bundu bzws calculation nearly completed, some corrections with csv output, started with linking the minfo density calculation
mschaefer
parents: 9448
diff changeset
221 protected NumberFormat createFormatter(final CallContext context) {
7e1fb8d0cb0d Bundu bzws calculation nearly completed, some corrections with csv output, started with linking the minfo density calculation
mschaefer
parents: 9448
diff changeset
222 return Formatter.getFlowDepth(context);
7e1fb8d0cb0d Bundu bzws calculation nearly completed, some corrections with csv output, started with linking the minfo density calculation
mschaefer
parents: 9448
diff changeset
223 }
7e1fb8d0cb0d Bundu bzws calculation nearly completed, some corrections with csv output, started with linking the minfo density calculation
mschaefer
parents: 9448
diff changeset
224 };
7e1fb8d0cb0d Bundu bzws calculation nearly completed, some corrections with csv output, started with linking the minfo density calculation
mschaefer
parents: 9448
diff changeset
225
7e1fb8d0cb0d Bundu bzws calculation nearly completed, some corrections with csv output, started with linking the minfo density calculation
mschaefer
parents: 9448
diff changeset
226 public static final BunduResultType missAreaMeanBed = new BunduResultType(I18NStrings.UNIT_NONE, null) {
7e1fb8d0cb0d Bundu bzws calculation nearly completed, some corrections with csv output, started with linking the minfo density calculation
mschaefer
parents: 9448
diff changeset
227
7e1fb8d0cb0d Bundu bzws calculation nearly completed, some corrections with csv output, started with linking the minfo density calculation
mschaefer
parents: 9448
diff changeset
228 private static final long serialVersionUID = 1L;
7e1fb8d0cb0d Bundu bzws calculation nearly completed, some corrections with csv output, started with linking the minfo density calculation
mschaefer
parents: 9448
diff changeset
229
7e1fb8d0cb0d Bundu bzws calculation nearly completed, some corrections with csv output, started with linking the minfo density calculation
mschaefer
parents: 9448
diff changeset
230 @Override
7e1fb8d0cb0d Bundu bzws calculation nearly completed, some corrections with csv output, started with linking the minfo density calculation
mschaefer
parents: 9448
diff changeset
231 public String exportValue(final CallContext context, final Object value) {
7e1fb8d0cb0d Bundu bzws calculation nearly completed, some corrections with csv output, started with linking the minfo density calculation
mschaefer
parents: 9448
diff changeset
232 final double doubleValue = asDouble(value);
7e1fb8d0cb0d Bundu bzws calculation nearly completed, some corrections with csv output, started with linking the minfo density calculation
mschaefer
parents: 9448
diff changeset
233 return exportDoubleValue(context, doubleValue);
7e1fb8d0cb0d Bundu bzws calculation nearly completed, some corrections with csv output, started with linking the minfo density calculation
mschaefer
parents: 9448
diff changeset
234 }
7e1fb8d0cb0d Bundu bzws calculation nearly completed, some corrections with csv output, started with linking the minfo density calculation
mschaefer
parents: 9448
diff changeset
235
7e1fb8d0cb0d Bundu bzws calculation nearly completed, some corrections with csv output, started with linking the minfo density calculation
mschaefer
parents: 9448
diff changeset
236 @Override
7e1fb8d0cb0d Bundu bzws calculation nearly completed, some corrections with csv output, started with linking the minfo density calculation
mschaefer
parents: 9448
diff changeset
237 protected NumberFormat createFormatter(final CallContext context) {
7e1fb8d0cb0d Bundu bzws calculation nearly completed, some corrections with csv output, started with linking the minfo density calculation
mschaefer
parents: 9448
diff changeset
238 return Formatter.getMassFormat(context);
7e1fb8d0cb0d Bundu bzws calculation nearly completed, some corrections with csv output, started with linking the minfo density calculation
mschaefer
parents: 9448
diff changeset
239 }
7e1fb8d0cb0d Bundu bzws calculation nearly completed, some corrections with csv output, started with linking the minfo density calculation
mschaefer
parents: 9448
diff changeset
240 };
7e1fb8d0cb0d Bundu bzws calculation nearly completed, some corrections with csv output, started with linking the minfo density calculation
mschaefer
parents: 9448
diff changeset
241
9432
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
242 public static final BunduResultType missVolumeMeanBed = new BunduResultType(I18NStrings.UNIT_NONE, "bundu.export.bezugswst.csv.meta.miss.volume.mean_bed") {
9330
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
243
9432
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
244 private static final long serialVersionUID = 1L;
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
245
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
246 @Override
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
247 public String exportValue(final CallContext context, final Object value) {
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
248 final double doubleValue = asDouble(value);
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
249 return exportDoubleValue(context, doubleValue);
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
250 }
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
251
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
252 @Override
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
253 protected NumberFormat createFormatter(final CallContext context) {
9450
7e1fb8d0cb0d Bundu bzws calculation nearly completed, some corrections with csv output, started with linking the minfo density calculation
mschaefer
parents: 9448
diff changeset
254 return Formatter.getMassFormat(context);
9432
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
255 }
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
256 };
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
257
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
258 public static final BunduResultType missMassMeanBed = new BunduResultType(I18NStrings.UNIT_NONE, "bundu.export.bezugswst.csv.meta.miss.mass.mean_bed") {
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
259
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
260 private static final long serialVersionUID = 1L;
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
261
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
262 @Override
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
263 public String exportValue(final CallContext context, final Object value) {
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
264 final double doubleValue = asDouble(value);
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
265 return exportDoubleValue(context, doubleValue);
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
266 }
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
267
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
268 @Override
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
269 protected NumberFormat createFormatter(final CallContext context) {
9450
7e1fb8d0cb0d Bundu bzws calculation nearly completed, some corrections with csv output, started with linking the minfo density calculation
mschaefer
parents: 9448
diff changeset
270 return Formatter.getMassFormat(context);
9432
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
271 }
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
272 };
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
273
9444
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
274 /**
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
275 * List of bed height values of the 10 fields of a cross section
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
276 */
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
277 public static final BunduResultType bedHeightFields = new BunduResultType(null, null) {
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
278
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
279 private static final long serialVersionUID = 1L;
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
280
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
281 @Override
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
282 public String exportValue(final CallContext context, final Object value) {
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
283 final double doubleValue = asDouble(value);
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
284 return exportDoubleValue(context, doubleValue);
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
285 }
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
286
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
287 @Override
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
288 protected NumberFormat createFormatter(final CallContext context) {
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
289 throw new UnsupportedOperationException();
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
290 }
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
291 };
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
292
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
293 /**
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
294 * List of depth values of the 10 fields of a cross section
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
295 */
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
296 public static final BunduResultType depthFields = new BunduResultType(I18NStrings.UNIT_NONE, null) {
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
297
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
298 private static final long serialVersionUID = 1L;
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
299
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
300 @Override
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
301 public String exportValue(final CallContext context, final Object value) {
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
302 final double doubleValue = asDouble(value);
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
303 return exportDoubleValue(context, doubleValue);
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
304 }
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
305
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
306 @Override
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
307 protected NumberFormat createFormatter(final CallContext context) {
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
308 throw new UnsupportedOperationException();
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
309 }
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
310 };
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
311
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
312 /**
9446
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
313 * List of missing depth values of the 10 fields of a cross section
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
314 */
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
315 public static final BunduResultType missDepthFields = new BunduResultType(I18NStrings.UNIT_NONE, null) {
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
316
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
317 private static final long serialVersionUID = 1L;
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
318
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
319 @Override
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
320 public String exportValue(final CallContext context, final Object value) {
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
321 final double doubleValue = asDouble(value);
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
322 return exportDoubleValue(context, doubleValue);
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
323 }
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
324
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
325 @Override
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
326 protected NumberFormat createFormatter(final CallContext context) {
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
327 throw new UnsupportedOperationException();
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
328 }
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
329 };
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
330
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
331 /**
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
332 * List of missing width values of the 10 fields of a cross section
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
333 */
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
334 public static final BunduResultType missWidthFields = new BunduResultType(I18NStrings.UNIT_NONE, null) {
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
335
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
336 private static final long serialVersionUID = 1L;
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
337
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
338 @Override
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
339 public String exportValue(final CallContext context, final Object value) {
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
340 final double doubleValue = asDouble(value);
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
341 return exportDoubleValue(context, doubleValue);
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
342 }
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
343
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
344 @Override
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
345 protected NumberFormat createFormatter(final CallContext context) {
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
346 throw new UnsupportedOperationException();
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
347 }
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
348 };
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
349
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
350 /**
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
351 * List of missing area values of the 10 fields of a cross section
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
352 */
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
353 public static final BunduResultType missAreaFields = new BunduResultType(I18NStrings.UNIT_NONE, null) {
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
354
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
355 private static final long serialVersionUID = 1L;
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
356
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
357 @Override
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
358 public String exportValue(final CallContext context, final Object value) {
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
359 final double doubleValue = asDouble(value);
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
360 return exportDoubleValue(context, doubleValue);
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
361 }
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
362
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
363 @Override
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
364 protected NumberFormat createFormatter(final CallContext context) {
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
365 throw new UnsupportedOperationException();
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
366 }
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
367 };
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
368
e60584f2a531 Added bundu bzws calculation for missing volumes (masses still not yet ready) and results1/2/3
mschaefer
parents: 9444
diff changeset
369 /**
9444
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
370 * List of volume values of the 10 fields of a cross section
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
371 */
9432
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
372 public static final BunduResultType missVolumeFields = new BunduResultType(I18NStrings.UNIT_NONE, "bundu.export.bezugswst.csv.meta.miss.volume.field") {
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
373
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
374 private static final long serialVersionUID = 1L;
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
375
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
376 @Override
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
377 public String exportValue(final CallContext context, final Object value) {
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
378 final double doubleValue = asDouble(value);
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
379 return exportDoubleValue(context, doubleValue);
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
380 }
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
381
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
382 @Override
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
383 protected NumberFormat createFormatter(final CallContext context) {
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
384 return Formatter.getMassFormat(context);
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
385 }
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
386 };
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
387
9444
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
388 /**
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
389 * List of mass values of the 10 fields of a cross section
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
390 */
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
391 public static final BunduResultType missMassFields = new BunduResultType(I18NStrings.UNIT_NONE, "bundu.export.bezugswst.csv.meta.miss.mass.field") {
9432
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
392
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
393 private static final long serialVersionUID = 1L;
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
394
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
395 @Override
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
396 public String exportValue(final CallContext context, final Object value) {
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
397 final double doubleValue = asDouble(value);
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
398 return exportDoubleValue(context, doubleValue);
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
399 }
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
400
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
401 @Override
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
402 protected NumberFormat createFormatter(final CallContext context) {
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
403 return Formatter.getMassFormat(context);
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
404 }
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
405 };
d194c5b24bf8 Added bundu bzws w calculation and longitudinal sections of wspl and depth
mschaefer
parents: 9332
diff changeset
406
9451
fd6621f47a72 Bundu bzws density calculation completed
mschaefer
parents: 9450
diff changeset
407 public static final BunduResultType missStationRangeFrom = new BunduResultType(I18NStrings.UNIT_KM, "bundu.export.bezugswst.csv.meta.miss.km_from") {
9444
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
408
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
409 private static final long serialVersionUID = 1L;
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
410
9330
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
411 @Override
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
412 public String exportValue(final CallContext context, final Object value) {
9444
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
413 final double doubleValue = asDouble(value);
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
414 return exportDoubleValue(context, doubleValue);
9330
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
415 }
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
416
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
417 @Override
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
418 protected NumberFormat createFormatter(final CallContext context) {
9444
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
419 return Formatter.getWaterlevelKM(context);
9330
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
420 }
0a0937f33bb5 bundu.bezugswst first result for missing volume added
gernotbelger
parents: 9318
diff changeset
421 };
9331
127638669052 bundu bezugswst result 2
gernotbelger
parents: 9330
diff changeset
422
9451
fd6621f47a72 Bundu bzws density calculation completed
mschaefer
parents: 9450
diff changeset
423 public static final BunduResultType missStationRangeTo = new BunduResultType(I18NStrings.UNIT_KM, "bundu.export.bezugswst.csv.meta.miss.km_to") {
9444
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
424
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
425 private static final long serialVersionUID = 1L;
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
426
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
427 @Override
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
428 public String exportValue(final CallContext context, final Object value) {
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
429 final double doubleValue = asDouble(value);
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
430 return exportDoubleValue(context, doubleValue);
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
431 }
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
432
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
433 @Override
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
434 protected NumberFormat createFormatter(final CallContext context) {
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
435 return Formatter.getWaterlevelKM(context);
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
436 }
ecadc9ed0ba0 Added heights and depths of cross section fields in the bundu bzws calculation and longitudinal section charts
mschaefer
parents: 9432
diff changeset
437 };
9318
7b2b086e45f0 collision pdf details, ResultType refactoring, bezugswst result
gernotbelger
parents:
diff changeset
438 }

http://dive4elements.wald.intevation.org