Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java @ 2706:d8444fcb4e44
Create chart facets for flow velocity calculation and a chart generator for this.
flys-artifacts/trunk@4424 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 16 May 2012 12:39:13 +0000 |
parents | 14188f8daefb |
children | b60751cfdd6c |
comparison
equal
deleted
inserted
replaced
2705:71f072d8b3d8 | 2706:d8444fcb4e44 |
---|---|
28 public static boolean Q(String type) { | 28 public static boolean Q(String type) { |
29 return type.equals(LONGITUDINAL_Q) | 29 return type.equals(LONGITUDINAL_Q) |
30 || type.equals(DISCHARGE_LONGITUDINAL_Q) | 30 || type.equals(DISCHARGE_LONGITUDINAL_Q) |
31 || type.equals(DURATION_Q) | 31 || type.equals(DURATION_Q) |
32 || type.equals(STATIC_WQKMS_Q); | 32 || type.equals(STATIC_WQKMS_Q); |
33 } | |
34 public static boolean V(String type) { | |
35 return type.equals(FLOW_VELOCITY_MAINCHANNEL) | |
36 || type.equals(FLOW_VELOCITY_TOTALCHANNEL); | |
37 } | |
38 public static boolean T(String type) { | |
39 return type.equals(FLOW_VELOCITY_TAU); | |
33 } | 40 } |
34 public static boolean MANUALPOINTS(String type) { | 41 public static boolean MANUALPOINTS(String type) { |
35 return type.endsWith("manualpoints"); | 42 return type.endsWith("manualpoints"); |
36 } | 43 } |
37 }; | 44 }; |
133 String HISTORICAL_DISCHARGE_Q = "historical_discharge.historicalq"; | 140 String HISTORICAL_DISCHARGE_Q = "historical_discharge.historicalq"; |
134 String HISTORICAL_DISCHARGE_Q_DIFF = "historical_discharge.historicalq.diff"; | 141 String HISTORICAL_DISCHARGE_Q_DIFF = "historical_discharge.historicalq.diff"; |
135 | 142 |
136 String REFERENCE_CURVE = "reference_curve"; | 143 String REFERENCE_CURVE = "reference_curve"; |
137 String REFERENCE_CURVE_NORMALIZED = "reference_curve_normalized"; | 144 String REFERENCE_CURVE_NORMALIZED = "reference_curve_normalized"; |
145 | |
146 String FLOW_VELOCITY_MAINCHANNEL = "flow_velocity.mainchannel"; | |
147 String FLOW_VELOCITY_TOTALCHANNEL = "flow_velocity.totalchannel"; | |
148 String FLOW_VELOCITY_TAU = "flow_velocity.tau"; | |
149 String FLOW_VELOCITY_ANNOTATION = "flow_velocity.annotation"; | |
138 } | 150 } |
139 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : | 151 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : |