Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepthdev/FlowDepthDevelopmentState.java @ 9150:23945061daec
gigantic refactoring: exporter, result, results
to support multiple jaspers -> collisions
author | gernotbelger |
---|---|
date | Thu, 14 Jun 2018 16:56:31 +0200 |
parents | 3828c7d820ef |
children | 740d65e4aa14 |
comparison
equal
deleted
inserted
replaced
9149:5be112fba832 | 9150:23945061daec |
---|---|
76 return res; | 76 return res; |
77 | 77 |
78 final FlowDepthDevelopmentCalculationResults results = (FlowDepthDevelopmentCalculationResults) res.getData(); | 78 final FlowDepthDevelopmentCalculationResults results = (FlowDepthDevelopmentCalculationResults) res.getData(); |
79 final FlowDepthDevelopmentCalculationResult result = results.getResult(); | 79 final FlowDepthDevelopmentCalculationResult result = results.getResult(); |
80 if (result != null) { | 80 if (result != null) { |
81 // final FlowDepthDevelopmentCalculationResult result = (FlowDepthDevelopmentCalculationResult) resultList.get(0); | |
81 /* add themes for chart, for each result */ | 82 /* add themes for chart, for each result */ |
82 final int index = 0; | 83 final int index = 0; |
83 | 84 |
84 // /* filtered (zoom dependent mean) flow depth development */ | 85 // /* filtered (zoom dependent mean) flow depth development */ |
85 facets.add(FlowDepthDevelopmentProcessor.createFlowDepthDevelopmentFilteredFacet(context, hash, this.id, result, index)); | 86 facets.add(FlowDepthDevelopmentProcessor.createFlowDepthDevelopmentFilteredFacet(context, hash, this.id, result, index)); |