Mercurial > dive4elements > river
view artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepth/FlowDepthRow.java @ 8916:5d5d0051723f
Working on outputmodes of tkh calculation
author | gernotbelger |
---|---|
date | Wed, 28 Feb 2018 18:55:39 +0100 |
parents | d9dbf0b74bc2 |
children | 82998242ba84 |
line wrap: on
line source
/* Copyright (C) 2017 by Bundesanstalt für Gewässerkunde * Software engineering by * Björnsen Beratende Ingenieure GmbH * Dr. Schumacher Ingenieurbüro für Wasser und Umwelt * * This file is Free Software under the GNU AGPL (>=v3) * and comes with ABSOLUTELY NO WARRANTY! Check out the * documentation coming with Dive4Elements River for details. */ package org.dive4elements.river.artifacts.sinfo.flowdepth; import org.dive4elements.river.artifacts.sinfo.common.AbstractSInfoResultRow; import org.dive4elements.river.artifacts.sinfo.tkhcalculation.Tkh; /** * Part of {@link FlowDepthCalculationResult} which represents one calculated row of flow depth data. * * @author Gernot Belger */ final class FlowDepthRow extends AbstractSInfoResultRow { private static final long serialVersionUID = 1L; private final double flowDepth; private final double flowDepthWithTkh; private final String soundingLabel; public FlowDepthRow(final double flowDepth, final double flowDepthWithTkh, final Tkh tkh, final String waterlevelLabel, final String gauge, final String soundingLabel, final String location) { super(tkh, waterlevelLabel, gauge, location); this.flowDepth = flowDepth; this.flowDepthWithTkh = flowDepthWithTkh; this.soundingLabel = soundingLabel; } public double getFlowDepth() { return this.flowDepth; } public double getFlowDepthWithTkh() { return this.flowDepthWithTkh; } public String getSoundageLabel() { return this.soundingLabel; } }