-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
50 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -93,6 +93,5 @@ private void setupForm() { | |
formItems.add(other2Data); | ||
|
||
formBuilder.addFormElements(formItems); | ||
|
||
} | ||
} |
49 changes: 49 additions & 0 deletions
49
app/src/main/java/com/sf/stormwaterutilityandroid/WaterWay/WaterWay.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
package com.sf.stormwaterutilityandroid.WaterWay; | ||
|
||
import java.util.Map; | ||
import java.util.HashMap; | ||
|
||
public class WaterWay { | ||
|
||
private Map<String, Double> WaterWayDoubleFields = new HashMap<String, Double>(); | ||
private Map<String, Boolean> WaterWayBoolFields = new HashMap<String, Boolean>(); | ||
private Map<String, String> WaterWayStringFields = new HashMap<String, String>(); | ||
|
||
public WaterWay() { | ||
//Water Quality Index Data | ||
WaterWayDoubleFields.put("CT_temperature_change", new Double(0.0)); | ||
WaterWayDoubleFields.put("CT_turbidity", new Double(0.0)); | ||
WaterWayDoubleFields.put("CT_pH", new Double(0.0)); | ||
WaterWayDoubleFields.put("CT_nitrate", new Double(0.0)); | ||
WaterWayDoubleFields.put("CT_total_phosphate", new Double(0.0)); | ||
WaterWayDoubleFields.put("CT_dissolved_oxygen", new Double(0.0)); | ||
//PTI Data | ||
WaterWayDoubleFields.put("BM_intolerant", new Double(0.0)); | ||
WaterWayDoubleFields.put("BM_moderately_tolerant", new Double(0.0)); | ||
WaterWayDoubleFields.put("BM_fairly_tolerant", new Double(0.0)); | ||
WaterWayDoubleFields.put("BM_very_tolerant", new Double(0.0)); | ||
//HEI Data | ||
WaterWayDoubleFields.put("QHEI_substrate_size", new Double(0.0)); | ||
WaterWayDoubleFields.put("QHEI_smothering", new Double(0.0)); | ||
WaterWayDoubleFields.put("QHEI_silting", new Double(0.0)); | ||
WaterWayDoubleFields.put("QHEI_rootwads", new Double(0.0)); | ||
WaterWayDoubleFields.put("QHEI_overhanging_veg", new Double(0.0)); | ||
WaterWayDoubleFields.put("QHEI_oxbowsblack_waters", new Double(0.0)); | ||
WaterWayDoubleFields.put("QHEI_downed_treeslogs", new Double(0.0)); | ||
WaterWayDoubleFields.put("QHEI_shallows", new Double(0.0)); | ||
WaterWayDoubleFields.put("QHEI_water_plants", new Double(0.0)); | ||
WaterWayDoubleFields.put("QHEI_deep_pools", new Double(0.0)); | ||
WaterWayDoubleFields.put("QHEI_logswoody_debris", new Double(0.0)); | ||
WaterWayDoubleFields.put("QHEI_boulders", new Double(0.0)); | ||
WaterWayDoubleFields.put("QHEI_undercut_banks", new Double(0.0)); | ||
WaterWayDoubleFields.put("QHEI_sinuosity", new Double(0.0)); | ||
WaterWayDoubleFields.put("QHEI_riparian_width", new Double(0.0)); | ||
WaterWayDoubleFields.put("QHEI_land_use", new Double(0.0)); | ||
WaterWayDoubleFields.put("QHEI_bank_erosion", new Double(0.0)); | ||
WaterWayDoubleFields.put("QHEI_stream_shading", new Double(0.0)); | ||
WaterWayDoubleFields.put("QHEI_deepest_pool", new Double(0.0)); | ||
WaterWayDoubleFields.put("QHEI_velocity", new Double(0.0)); | ||
WaterWayDoubleFields.put("QHEI_rifflerun_depth", new Double(0.0)); | ||
WaterWayDoubleFields.put("QHEI_rifflerun_substrate", new Double(0.0)); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters