Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/W.java @ 7650:d24d95b0e1f9
Doc.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 05 Dec 2013 17:33:02 +0100 |
parents | 3c4efd4b2c19 |
children | 839032ac1523 |
comparison
equal
deleted
inserted
replaced
7649:27aabee53f63 | 7650:d24d95b0e1f9 |
---|---|
49 super(name); | 49 super(name); |
50 this.referenceSystem = referenceSystem; | 50 this.referenceSystem = referenceSystem; |
51 ws = new TDoubleArrayList(capacity); | 51 ws = new TDoubleArrayList(capacity); |
52 } | 52 } |
53 | 53 |
54 /** Sets the used reference system for W. | |
55 * If the W's refer to values in meters over a reference | |
56 * point (e.g. NN+m) they are in meter. If they are | |
57 * relative to the PNP of a gauge they are in centimeter. */ | |
54 public void setReferenceSystem(int val) { | 58 public void setReferenceSystem(int val) { |
55 referenceSystem = val; | 59 referenceSystem = val; |
56 } | 60 } |
57 | 61 |
58 /** Return the used reference system for W. | 62 /** Return the used reference system for W. |
59 * If the W's refer to values in meters over a reference | 63 * If the W's refer to values in meters over a reference |
60 * point (e.g. NN+m) they are in meter. If they are | 64 * point (e.g. NN+m) they are in meter. If they are |
61 * relative to the PNP of a gauge they are in centimeter*/ | 65 * relative to the PNP of a gauge they are in centimeter. */ |
62 public int getReferenceSystem() { | 66 public int getReferenceSystem() { |
63 return referenceSystem; | 67 return referenceSystem; |
64 } | 68 } |
65 | 69 |
66 /** Convenience function to get the correct unit for W values. */ | 70 /** Convenience function to get the correct unit for W values. */ |