-
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.
Merge pull request #16 from EPICSGroup/Samuel2
added WaterWayReport and layout of the report page
- Loading branch information
Showing
7 changed files
with
70 additions
and
17 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
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
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
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
45 changes: 45 additions & 0 deletions
45
app/src/main/java/com/sf/stormwaterutilityandroid/WaterWay/WaterWayReport.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,45 @@ | ||
package com.sf.stormwaterutilityandroid.WaterWay; | ||
|
||
import com.google.firebase.Timestamp; | ||
import com.google.firebase.firestore.GeoPoint; | ||
|
||
import java.util.HashMap; | ||
import java.util.Map; | ||
|
||
public class WaterWayReport { | ||
String H_date; | ||
String H_inspector_name; | ||
String H_site_name; | ||
Timestamp SortTimeStamp; | ||
GeoPoint location; | ||
Map<String,Boolean> boolFields = new HashMap<>(); | ||
Map<String, Double> doubleFields = new HashMap<>(); | ||
Map<String,String> stringFields = new HashMap<>(); | ||
|
||
public WaterWayReport(String h_date, String h_inspector_name, String h_site_name, Timestamp sortTimeStamp, GeoPoint location, Map<String, Boolean> boolFields, Map<String, Double> doubleFields, Map<String, String> stringFields) { | ||
H_date = h_date; | ||
H_inspector_name = h_inspector_name; | ||
H_site_name = h_site_name; | ||
SortTimeStamp = sortTimeStamp; | ||
this.location = location; | ||
this.boolFields = boolFields; | ||
this.doubleFields = doubleFields; | ||
this.stringFields = stringFields; | ||
} | ||
|
||
public Timestamp getSortTimeStamp() { | ||
return SortTimeStamp; | ||
} | ||
|
||
public String getH_date() { | ||
return H_date; | ||
} | ||
|
||
public String getH_inspector_name() { | ||
return H_inspector_name; | ||
} | ||
|
||
public String getH_site_name() { | ||
return H_site_name; | ||
} | ||
} |
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
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