comparison artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepthdev/FlowDepthDevelopmentCalculationResult.java @ 9312:740d65e4aa14

Q [m³/s] one message
author gernotbelger
date Thu, 26 Jul 2018 15:54:20 +0200
parents a4121ec450d6
children
comparison
equal deleted inserted replaced
9311:7c7f73e5e01e 9312:740d65e4aa14
138 lines.add(exportContext.formatRowValue(row, SInfoResultType.flowdepthDevelopmentPerYear)); 138 lines.add(exportContext.formatRowValue(row, SInfoResultType.flowdepthDevelopmentPerYear));
139 lines.add(exportContext.formatRowValue(row, SInfoResultType.waterlevelDifference)); 139 lines.add(exportContext.formatRowValue(row, SInfoResultType.waterlevelDifference));
140 lines.add(exportContext.formatRowValue(row, SInfoResultType.bedHeightDifference)); 140 lines.add(exportContext.formatRowValue(row, SInfoResultType.bedHeightDifference));
141 lines.add(exportContext.formatRowValue(row, SInfoResultType.flowdepthCurrent)); 141 lines.add(exportContext.formatRowValue(row, SInfoResultType.flowdepthCurrent));
142 lines.add(exportContext.formatRowValue(row, SInfoResultType.flowdepthHistorical)); 142 lines.add(exportContext.formatRowValue(row, SInfoResultType.flowdepthHistorical));
143 lines.add(exportContext.formatRowValue(row, SInfoResultType.location)); 143 lines.add(exportContext.formatRowValue(row, GeneralResultType.location));
144 144
145 return lines.toArray(new String[lines.size()]); 145 return lines.toArray(new String[lines.size()]);
146 } 146 }
147 147
148 @Override 148 @Override
155 header.add(exportContextCSV.msgUnitCSV(SInfoResultType.flowdepthDevelopmentPerYear, SInfoResultType.flowdepthDevelopmentPerYear.getUnit())); 155 header.add(exportContextCSV.msgUnitCSV(SInfoResultType.flowdepthDevelopmentPerYear, SInfoResultType.flowdepthDevelopmentPerYear.getUnit()));
156 header.add(exportContextCSV.msgUnitLabel(SInfoResultType.waterlevelDifference, getWaterlevelDifferenceLabel())); 156 header.add(exportContextCSV.msgUnitLabel(SInfoResultType.waterlevelDifference, getWaterlevelDifferenceLabel()));
157 header.add(exportContextCSV.msgUnitLabel(SInfoResultType.bedHeightDifference, getBedHeightDifferenceLabel())); 157 header.add(exportContextCSV.msgUnitLabel(SInfoResultType.bedHeightDifference, getBedHeightDifferenceLabel()));
158 header.add(exportContextCSV.msgUnitLabel(SInfoResultType.flowdepthCurrent, getFlowDepthCurrentLabel())); 158 header.add(exportContextCSV.msgUnitLabel(SInfoResultType.flowdepthCurrent, getFlowDepthCurrentLabel()));
159 header.add(exportContextCSV.msgUnitLabel(SInfoResultType.flowdepthHistorical, getFlowDepthHistoricalLabel())); 159 header.add(exportContextCSV.msgUnitLabel(SInfoResultType.flowdepthHistorical, getFlowDepthHistoricalLabel()));
160 header.add(exportContextCSV.formatCsvHeader(SInfoResultType.location)); 160 header.add(exportContextCSV.formatCsvHeader(GeneralResultType.location));
161 161
162 exportContextCSV.writeCSVLine(header.toArray(new String[header.size()])); 162 exportContextCSV.writeCSVLine(header.toArray(new String[header.size()]));
163 163
164 } 164 }
165 165
192 exportContextPDF.addJRMetadata(source, "flowdepthcurrent_header2", getFlowDepthCurrentLabel()); 192 exportContextPDF.addJRMetadata(source, "flowdepthcurrent_header2", getFlowDepthCurrentLabel());
193 193
194 exportContextPDF.addJRMetadata(source, "flowdepthhistorical_header", SInfoResultType.flowdepthHistorical); 194 exportContextPDF.addJRMetadata(source, "flowdepthhistorical_header", SInfoResultType.flowdepthHistorical);
195 exportContextPDF.addJRMetadata(source, "flowdepthhistorical_header2", getFlowDepthHistoricalLabel()); 195 exportContextPDF.addJRMetadata(source, "flowdepthhistorical_header2", getFlowDepthHistoricalLabel());
196 196
197 exportContextPDF.addJRMetadata(source, "location_header", SInfoResultType.location); 197 exportContextPDF.addJRMetadata(source, "location_header", GeneralResultType.location);
198 198
199 } 199 }
200 } 200 }

http://dive4elements.wald.intevation.org