Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flood_duration/FloodDurationMainValuesQFacet.java @ 9620:26e113e8224f
Nachtrag Pos. 20: flood duration calculation for multiple infrastructure groups/types,
local class FloodDurationCalculationResult.Infrastructure renamed and extracted into own class
author | mschaefer |
---|---|
date | Thu, 10 Oct 2019 17:11:54 +0200 |
parents | f8308db94634 |
children |
comparison
equal
deleted
inserted
replaced
9619:63bbd5e45839 | 9620:26e113e8224f |
---|---|
17 import org.dive4elements.artifacts.Artifact; | 17 import org.dive4elements.artifacts.Artifact; |
18 import org.dive4elements.artifacts.CallContext; | 18 import org.dive4elements.artifacts.CallContext; |
19 import org.dive4elements.river.artifacts.D4EArtifact; | 19 import org.dive4elements.river.artifacts.D4EArtifact; |
20 import org.dive4elements.river.artifacts.model.Calculation; | 20 import org.dive4elements.river.artifacts.model.Calculation; |
21 import org.dive4elements.river.artifacts.model.CalculationResult; | 21 import org.dive4elements.river.artifacts.model.CalculationResult; |
22 import org.dive4elements.river.artifacts.sinfo.flood_duration.FloodDurationCalculationResult.Infrastructure; | |
23 import org.dive4elements.river.artifacts.states.DefaultState.ComputeType; | 22 import org.dive4elements.river.artifacts.states.DefaultState.ComputeType; |
24 import org.dive4elements.river.exports.fixings.FixChartGenerator; | 23 import org.dive4elements.river.exports.fixings.FixChartGenerator; |
25 import org.dive4elements.river.jfree.RiverAnnotation; | 24 import org.dive4elements.river.jfree.RiverAnnotation; |
26 import org.dive4elements.river.jfree.StickyAxisAnnotation; | 25 import org.dive4elements.river.jfree.StickyAxisAnnotation; |
27 | 26 |
33 private static final long serialVersionUID = 1L; | 32 private static final long serialVersionUID = 1L; |
34 | 33 |
35 /** Own log. */ | 34 /** Own log. */ |
36 private static Logger log = Logger.getLogger(FloodDurationMainValuesQFacet.class); | 35 private static Logger log = Logger.getLogger(FloodDurationMainValuesQFacet.class); |
37 | 36 |
38 private final Infrastructure m_infrastructure; | 37 private final FloodDurationInfrastructureChoice m_infrastructure; |
39 | 38 |
40 /** Trivial Constructor. */ | 39 /** Trivial Constructor. */ |
41 public FloodDurationMainValuesQFacet(final String name, final String description, final int facetIndex, final Infrastructure infrastructure) { | 40 public FloodDurationMainValuesQFacet(final String name, final String description, final int facetIndex, |
41 final FloodDurationInfrastructureChoice infrastructure) { | |
42 this.description = description; | 42 this.description = description; |
43 this.name = name; | 43 this.name = name; |
44 this.index = facetIndex; | 44 this.index = facetIndex; |
45 this.m_infrastructure = infrastructure; | 45 this.m_infrastructure = infrastructure; |
46 } | 46 } |