Mercurial > dive4elements > river
changeset 3293:c15738c831db
SQ relation: Added access to the data of GSIEBSATZ and SSIEBUNG.
flys-artifacts/trunk@4961 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 12 Jul 2012 22:27:50 +0000 |
parents | e06036fdf0c7 |
children | 5e52202302e5 |
files | flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/sq/Measurement.java |
diffstat | 2 files changed, 17 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog Thu Jul 12 22:01:52 2012 +0000 +++ b/flys-artifacts/ChangeLog Thu Jul 12 22:27:50 2012 +0000 @@ -1,3 +1,8 @@ +2012-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de> + + * src/main/java/de/intevation/flys/artifacts/model/sq/Measurement.java: + Added access to the data of GSIEBSATZ and SSIEBUNG. + 2012-07-12 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/artifacts/model/sq/MeasurementFactory.java:
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/sq/Measurement.java Thu Jul 12 22:01:52 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/sq/Measurement.java Thu Jul 12 22:27:50 2012 +0000 @@ -50,6 +50,18 @@ return Double.NaN; } + public double SIEB(int i) { + return get(String.format("SIEB%02d", i)); + } + + public double RSIEB(int i) { + return get(String.format("RSIEB%02d", i)); + } + + public double REST() { + return get("REST"); + } + @Override public String toString() { return "Measurement: " + data;