Mercurial > dive4elements > river
annotate artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flood_duration/InfrastructureResultFacet.java @ 9631:6ecd1a28017f
Nachtrag Pos. 20: Q theme for height chart added, calculator corrected (rows for km without any infrastructure)
author | mschaefer |
---|---|
date | Tue, 15 Oct 2019 12:26:13 +0200 |
parents | 26e113e8224f |
children |
rev | line source |
---|---|
9612 | 1 /** Copyright (C) 2017 by Bundesanstalt für Gewässerkunde |
2 * Software engineering by | |
3 * Björnsen Beratende Ingenieure GmbH | |
4 * Dr. Schumacher Ingenieurbüro für Wasser und Umwelt | |
5 * | |
6 * This file is Free Software under the GNU AGPL (>=v3) | |
7 * and comes with ABSOLUTELY NO WARRANTY! Check out the | |
8 * documentation coming with Dive4Elements River for details. | |
9 */ | |
10 package org.dive4elements.river.artifacts.sinfo.flood_duration; | |
11 | |
12 import org.dive4elements.river.artifacts.common.ResultFacet; | |
13 import org.dive4elements.river.artifacts.states.DefaultState.ComputeType; | |
14 | |
15 /** | |
16 * @author Domenico Nardi Tironi | |
17 * | |
18 */ | |
19 public class InfrastructureResultFacet extends ResultFacet { | |
20 | |
21 private static final long serialVersionUID = 1L; | |
22 | |
9620
26e113e8224f
Nachtrag Pos. 20: flood duration calculation for multiple infrastructure groups/types,
mschaefer
parents:
9612
diff
changeset
|
23 private final FloodDurationInfrastructureChoice m_infrastructure; |
9612 | 24 |
25 public InfrastructureResultFacet(final int facetIndex, final int resultIndex, final String name, final String description, final String axisLabel, | |
9620
26e113e8224f
Nachtrag Pos. 20: flood duration calculation for multiple infrastructure groups/types,
mschaefer
parents:
9612
diff
changeset
|
26 final String id, final String hash, final FloodDurationInfrastructureChoice infrastructure) { |
9612 | 27 super(facetIndex, resultIndex, name, description, axisLabel, ComputeType.ADVANCE, id, hash); |
28 this.m_infrastructure = infrastructure; | |
29 } | |
30 | |
9620
26e113e8224f
Nachtrag Pos. 20: flood duration calculation for multiple infrastructure groups/types,
mschaefer
parents:
9612
diff
changeset
|
31 public FloodDurationInfrastructureChoice getInfrastructure() { |
9612 | 32 return this.m_infrastructure; |
33 } | |
34 } |