Permalink
Browse files

Added boolean for logging coordinates

  • Loading branch information...
1 parent 32b5581 commit 968c2c9ab2367e29e121226ee52ffe76b1f56b67 javarobots74 committed Apr 11, 2012
Showing with 12 additions and 0 deletions.
  1. +12 −0 src/gps/data/GpsDataModel.java
View
12 src/gps/data/GpsDataModel.java
@@ -12,6 +12,7 @@
public class GpsDataModel extends Observable {
private SelectedSentences mSelectedSentences;
+ private boolean mLogCoordinate = false;
//From $GPGGA sentence
private UTCTime mGGATime = new UTCTime(0,0,0);
@@ -67,6 +68,17 @@ public void setSelectedSentences(SelectedSentences selectedSentences) {
setChanged();
}
+ public boolean isLogCoordinate() {
+ return mLogCoordinate;
+ }
+
+ public void setLogCoordinate(boolean logCoordinate) {
+ this.mLogCoordinate = logCoordinate;
+ setChanged();
+ }
+
+
+
//---------------------- GGA Getter Setters ----------------------------

0 comments on commit 968c2c9

Please sign in to comment.