view artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedDiameterData.java @ 6687:641f93a5fa9e

Do not translate river annotations twice. (issue1370) This fixes mainvaluesW at gauge becuase they are already translated when fetched from the artifact. I hope this is not necessary for other annotations. I could not see any.
author Andre Heinecke <aheinecke@intevation.de>
date Mon, 29 Jul 2013 10:14:32 +0200
parents 267119b38779
children a805211690f7
line wrap: on
line source
package org.dive4elements.river.artifacts.model.minfo;

import gnu.trove.TDoubleArrayList;


public class BedDiameterData
extends BedQualityDiameterResult
{

    private TDoubleArrayList data;

    public BedDiameterData() {
        super();
    }

    public BedDiameterData (
        String type,
        TDoubleArrayList kms,
        TDoubleArrayList data) {
        super(type, kms);
        this.data = data;
    }

    public double[][] getDiameterData() {
        return new double[][]{kms.toNativeArray(), data.toNativeArray()};
    }
}

http://dive4elements.wald.intevation.org