Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/exports/DeltaWtExporter.java @ 3020:ce796f1db30e
FixA: Store AnalysisPeriods into FixResult now.
flys-artifacts/trunk@4587 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 05 Jun 2012 13:51:42 +0000 |
parents | a2b265b9b2f7 |
children | 65b6e27c6f25 |
comparison
equal
deleted
inserted
replaced
3019:484f3dad4bfd | 3020:ce796f1db30e |
---|---|
92 Object data = ((CalculationResult)d).getData(); | 92 Object data = ((CalculationResult)d).getData(); |
93 if (!(data instanceof FixResult)) { | 93 if (!(data instanceof FixResult)) { |
94 log.warn("Invalid data stored in result."); | 94 log.warn("Invalid data stored in result."); |
95 } | 95 } |
96 FixResult result = (FixResult)data; | 96 FixResult result = (FixResult)data; |
97 deltaWTsKMs.add(result.getDeltaWTsKM()); | 97 // TODO: replace old code |
98 //deltaWTsKMs.add(result.getDeltaWTsKM()); | |
98 } | 99 } |
99 | 100 |
100 @Override | 101 @Override |
101 protected void writeCSVData(CSVWriter writer) throws IOException { | 102 protected void writeCSVData(CSVWriter writer) throws IOException { |
102 | 103 |