comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadData.java @ 8130:bbad52b073a4

Use old names for SedimentloadDataFractions and add average fraction
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 25 Aug 2014 19:58:00 +0200
parents 65a938e4d92f
children 1e8812b996bc
comparison
equal deleted inserted replaced
8129:306a16d3ac2e 8130:bbad52b073a4
29 public static final int GF_SUSP_SAND_BED = 4; 29 public static final int GF_SUSP_SAND_BED = 4;
30 public static final int GF_SUSP_SEDIMENT = 5; 30 public static final int GF_SUSP_SEDIMENT = 5;
31 public static final int GF_TOTAL = 6; 31 public static final int GF_TOTAL = 6;
32 public static final int GF_BED_LOAD = 7; 32 public static final int GF_BED_LOAD = 7;
33 public static final int GF_SUSPENDED_LOAD = 8; 33 public static final int GF_SUSPENDED_LOAD = 8;
34 public static final int GF_MAX = 8; 34 public static final int GF_AVERAGE = 9;
35 public static final int GF_MAX = 9;
35 36
36 public static final int [] MEASUREMENT_STATION_GF = { 37 public static final int [] MEASUREMENT_STATION_GF = {
37 /* GF_COARSE */ Station.BED_LOAD, 38 /* GF_COARSE */ Station.BED_LOAD,
38 /* GF_FINE_MIDDLE */ Station.BED_LOAD, 39 /* GF_FINE_MIDDLE */ Station.BED_LOAD,
39 /* GF_SAND */ Station.BED_LOAD, 40 /* GF_SAND */ Station.BED_LOAD,
59 if ("susp_sand_bed".equals(name)) return GF_SUSP_SAND_BED; 60 if ("susp_sand_bed".equals(name)) return GF_SUSP_SAND_BED;
60 if ("suspended_sediment".equals(name)) return GF_SUSP_SEDIMENT; 61 if ("suspended_sediment".equals(name)) return GF_SUSP_SEDIMENT;
61 if ("total".equals(name)) return GF_TOTAL; 62 if ("total".equals(name)) return GF_TOTAL;
62 if ("bed_load".equals(name)) return GF_BED_LOAD; 63 if ("bed_load".equals(name)) return GF_BED_LOAD;
63 if ("suspended_load".equals(name)) return GF_SUSPENDED_LOAD; 64 if ("suspended_load".equals(name)) return GF_SUSPENDED_LOAD;
65 if ("average".equals(name)) return GF_AVERAGE;
64 return GF_UNKNOWN; 66 return GF_UNKNOWN;
65 } 67 }
66 68
67 public interface Visitor { 69 public interface Visitor {
68 void visit(Station station); 70 void visit(Station station);

http://dive4elements.wald.intevation.org