mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-01 00:30:46 +00:00
Merge branch 'ubilabs--buoy_positioning_app--feature--local_database' into ubilabs--buoy_positioning_app--develop
This commit is contained in:
commit
35f1e7844a
3 files changed
+62
-58
No files matched your search
+13
-11
@@ -1,25 +1,19 @@
|
||||
package com.sap.sailing.android.buoy.positioning.app.valueobjects;
|
||||
|
||||
public class Mark {
|
||||
public class MarkInfo {
|
||||
|
||||
private int id;
|
||||
private int markId;
|
||||
private String name;
|
||||
private String type;
|
||||
private String className;
|
||||
|
||||
public Mark(int id, String name, String type, String className){
|
||||
setId(id);
|
||||
setName(name);
|
||||
setType(type);
|
||||
setClassName(className);
|
||||
}
|
||||
private String checkinDigest;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
return markId;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
this.markId = id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
@@ -45,5 +39,13 @@ public class Mark {
|
||||
public void setClassName(String className) {
|
||||
this.className = className;
|
||||
}
|
||||
|
||||
public String getCheckinDigest() {
|
||||
return checkinDigest;
|
||||
}
|
||||
|
||||
public void setCheckinDigest(String checkinDigest) {
|
||||
this.checkinDigest = checkinDigest;
|
||||
}
|
||||
|
||||
}
|
||||
-47
@@ -1,47 +0,0 @@
|
||||
package com.sap.sailing.android.buoy.positioning.app.valueobjects;
|
||||
|
||||
public class MarkPing {
|
||||
private String type;
|
||||
private String longitude;
|
||||
private String lattitude;
|
||||
private int unixType;
|
||||
|
||||
public MarkPing(String type, String longitude, String lattitude, int unixType){
|
||||
setType(type);
|
||||
setLongitude(longitude);
|
||||
setLattitude(lattitude);
|
||||
setUnixType(unixType);
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public String getLongitude() {
|
||||
return longitude;
|
||||
}
|
||||
|
||||
public void setLongitude(String longitude) {
|
||||
this.longitude = longitude;
|
||||
}
|
||||
|
||||
public String getLattitude() {
|
||||
return lattitude;
|
||||
}
|
||||
|
||||
public void setLattitude(String lattitude) {
|
||||
this.lattitude = lattitude;
|
||||
}
|
||||
|
||||
public int getUnixType() {
|
||||
return unixType;
|
||||
}
|
||||
|
||||
public void setUnixType(int unixType) {
|
||||
this.unixType = unixType;
|
||||
}
|
||||
}
|
||||
+49
@@ -0,0 +1,49 @@
|
||||
package com.sap.sailing.android.buoy.positioning.app.valueobjects;
|
||||
|
||||
public class MarkPingInfo {
|
||||
private int markId;
|
||||
private String longitude;
|
||||
private String lattitude;
|
||||
private double accuracy;
|
||||
private int timestamp;
|
||||
|
||||
public int getMarkId() {
|
||||
return markId;
|
||||
}
|
||||
|
||||
public void setMarkId(int markId) {
|
||||
this.markId = markId;
|
||||
}
|
||||
|
||||
public String getLongitude() {
|
||||
return longitude;
|
||||
}
|
||||
|
||||
public void setLongitude(String longitude) {
|
||||
this.longitude = longitude;
|
||||
}
|
||||
|
||||
public String getLattitude() {
|
||||
return lattitude;
|
||||
}
|
||||
|
||||
public void setLattitude(String lattitude) {
|
||||
this.lattitude = lattitude;
|
||||
}
|
||||
|
||||
public double getAccuracy() {
|
||||
return accuracy;
|
||||
}
|
||||
|
||||
public void setAccuracy(double accuracy) {
|
||||
this.accuracy = accuracy;
|
||||
}
|
||||
|
||||
public int getTimestamp() {
|
||||
return timestamp;
|
||||
}
|
||||
|
||||
public void setTimestamp(int timestamp) {
|
||||
this.timestamp = timestamp;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user