Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added boolean for logging coordinates

  • Loading branch information...
commit 968c2c9ab2367e29e121226ee52ffe76b1f56b67 1 parent 32b5581
javarobots74 authored

Showing 1 changed file with 12 additions and 0 deletions. Show diff stats Hide diff stats

  1. +12 0 src/gps/data/GpsDataModel.java
12 src/gps/data/GpsDataModel.java
@@ -12,6 +12,7 @@
12 12 public class GpsDataModel extends Observable {
13 13
14 14 private SelectedSentences mSelectedSentences;
  15 + private boolean mLogCoordinate = false;
15 16
16 17 //From $GPGGA sentence
17 18 private UTCTime mGGATime = new UTCTime(0,0,0);
@@ -67,6 +68,17 @@ public void setSelectedSentences(SelectedSentences selectedSentences) {
67 68 setChanged();
68 69 }
69 70
  71 + public boolean isLogCoordinate() {
  72 + return mLogCoordinate;
  73 + }
  74 +
  75 + public void setLogCoordinate(boolean logCoordinate) {
  76 + this.mLogCoordinate = logCoordinate;
  77 + setChanged();
  78 + }
  79 +
  80 +
  81 +
70 82
71 83 //---------------------- GGA Getter Setters ----------------------------
72 84

0 comments on commit 968c2c9

Please sign in to comment.
Something went wrong with that request. Please try again.