Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added boolean for logging coordinates

  • Loading branch information...
commit 968c2c9ab2367e29e121226ee52ffe76b1f56b67 1 parent 32b5581
javarobots74 authored
Showing with 12 additions and 0 deletions.
  1. +12 −0 src/gps/data/GpsDataModel.java
12 src/gps/data/GpsDataModel.java
View
@@ -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 ----------------------------
Please sign in to comment.
Something went wrong with that request. Please try again.