diff 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
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepthdev/FlowDepthDevelopmentCalculationResult.java	Thu Jul 26 11:16:06 2018 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepthdev/FlowDepthDevelopmentCalculationResult.java	Thu Jul 26 15:54:20 2018 +0200
@@ -140,7 +140,7 @@
         lines.add(exportContext.formatRowValue(row, SInfoResultType.bedHeightDifference));
         lines.add(exportContext.formatRowValue(row, SInfoResultType.flowdepthCurrent));
         lines.add(exportContext.formatRowValue(row, SInfoResultType.flowdepthHistorical));
-        lines.add(exportContext.formatRowValue(row, SInfoResultType.location));
+        lines.add(exportContext.formatRowValue(row, GeneralResultType.location));
 
         return lines.toArray(new String[lines.size()]);
     }
@@ -157,7 +157,7 @@
         header.add(exportContextCSV.msgUnitLabel(SInfoResultType.bedHeightDifference, getBedHeightDifferenceLabel()));
         header.add(exportContextCSV.msgUnitLabel(SInfoResultType.flowdepthCurrent, getFlowDepthCurrentLabel()));
         header.add(exportContextCSV.msgUnitLabel(SInfoResultType.flowdepthHistorical, getFlowDepthHistoricalLabel()));
-        header.add(exportContextCSV.formatCsvHeader(SInfoResultType.location));
+        header.add(exportContextCSV.formatCsvHeader(GeneralResultType.location));
 
         exportContextCSV.writeCSVLine(header.toArray(new String[header.size()]));
 
@@ -194,7 +194,7 @@
         exportContextPDF.addJRMetadata(source, "flowdepthhistorical_header", SInfoResultType.flowdepthHistorical);
         exportContextPDF.addJRMetadata(source, "flowdepthhistorical_header2", getFlowDepthHistoricalLabel());
 
-        exportContextPDF.addJRMetadata(source, "location_header", SInfoResultType.location);
+        exportContextPDF.addJRMetadata(source, "location_header", GeneralResultType.location);
 
     }
 }
\ No newline at end of file

http://dive4elements.wald.intevation.org