|
|
@@ -1,86 +1,86 @@ |
|
|
|
package de.edotzlaff.schockwelle; |
|
|
|
|
|
|
|
import java.time.LocalDateTime; |
|
|
|
|
|
|
|
public class Devices { |
|
|
|
private String ip; |
|
|
|
private boolean vibration; |
|
|
|
private long timestamp; |
|
|
|
private double breitengrad; |
|
|
|
private double laengengrad; |
|
|
|
private int amplitude; |
|
|
|
private String localdatetime; |
|
|
|
private boolean idvergeben; |
|
|
|
private String androidid; |
|
|
|
|
|
|
|
public Devices() { |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
public Devices(String ip, boolean vibration, long timestamp, double breitengrad, double laengengrad, int amplitude, String localdatetime, String androidid) { |
|
|
|
this.ip = ip; |
|
|
|
this.vibration = vibration; |
|
|
|
this.timestamp = timestamp; |
|
|
|
this.breitengrad = breitengrad; |
|
|
|
this.laengengrad = laengengrad; |
|
|
|
this.amplitude = amplitude; |
|
|
|
this.localdatetime = localdatetime; |
|
|
|
this.androidid = androidid; |
|
|
|
} |
|
|
|
|
|
|
|
public String getIp() { |
|
|
|
return ip; |
|
|
|
} |
|
|
|
public void setIp(String ip) { |
|
|
|
this.ip = ip; |
|
|
|
} |
|
|
|
|
|
|
|
public boolean isVibration() { |
|
|
|
return vibration; |
|
|
|
} |
|
|
|
public void setVibration(boolean vibration) { |
|
|
|
this.vibration = vibration; |
|
|
|
} |
|
|
|
|
|
|
|
public long getTimestamp() { |
|
|
|
return timestamp; |
|
|
|
} |
|
|
|
public void setTimestamp(long timestamp) { |
|
|
|
this.timestamp = timestamp; |
|
|
|
} |
|
|
|
|
|
|
|
public double getBreitengrad() { |
|
|
|
return breitengrad; |
|
|
|
} |
|
|
|
public void setBreitengrad(double breitengrad) { |
|
|
|
this.breitengrad = breitengrad; |
|
|
|
} |
|
|
|
|
|
|
|
public double getLaengengrad() { |
|
|
|
return laengengrad; |
|
|
|
} |
|
|
|
public void setLaengengrad(double laengengrad) { |
|
|
|
this.laengengrad = laengengrad; |
|
|
|
} |
|
|
|
|
|
|
|
public int getAmplitude() { |
|
|
|
return amplitude; |
|
|
|
} |
|
|
|
public void setAmplitude(int amplitude) { |
|
|
|
this.amplitude = amplitude; |
|
|
|
} |
|
|
|
|
|
|
|
public String getLocaldatetime() { |
|
|
|
return localdatetime; |
|
|
|
} |
|
|
|
public void setLocaldatetime(String localdatetime) { |
|
|
|
this.localdatetime = localdatetime; |
|
|
|
} |
|
|
|
|
|
|
|
public String getAndroidid() { |
|
|
|
return androidid; |
|
|
|
} |
|
|
|
public void setAndroidid(String androidid) { |
|
|
|
this.androidid = androidid; |
|
|
|
} |
|
|
|
} |
|
|
|
package de.edotzlaff.schockwelle;
|
|
|
|
|
|
|
|
import java.time.LocalDateTime;
|
|
|
|
|
|
|
|
public class Devices {
|
|
|
|
private String ip;
|
|
|
|
private boolean vibration;
|
|
|
|
private long timestamp;
|
|
|
|
private double breitengrad;
|
|
|
|
private double laengengrad;
|
|
|
|
private int amplitude;
|
|
|
|
private String localdatetime;
|
|
|
|
private boolean idvergeben;
|
|
|
|
private String androidid;
|
|
|
|
|
|
|
|
public Devices() {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
public Devices(String ip, boolean vibration, long timestamp, double breitengrad, double laengengrad, int amplitude, String localdatetime, String androidid) {
|
|
|
|
this.ip = ip;
|
|
|
|
this.vibration = vibration;
|
|
|
|
this.timestamp = timestamp;
|
|
|
|
this.breitengrad = breitengrad;
|
|
|
|
this.laengengrad = laengengrad;
|
|
|
|
this.amplitude = amplitude;
|
|
|
|
this.localdatetime = localdatetime;
|
|
|
|
this.androidid = androidid;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getIp() {
|
|
|
|
return ip;
|
|
|
|
}
|
|
|
|
public void setIp(String ip) {
|
|
|
|
this.ip = ip;
|
|
|
|
}
|
|
|
|
|
|
|
|
public boolean isVibration() {
|
|
|
|
return vibration;
|
|
|
|
}
|
|
|
|
public void setVibration(boolean vibration) {
|
|
|
|
this.vibration = vibration;
|
|
|
|
}
|
|
|
|
|
|
|
|
public long getTimestamp() {
|
|
|
|
return timestamp;
|
|
|
|
}
|
|
|
|
public void setTimestamp(long timestamp) {
|
|
|
|
this.timestamp = timestamp;
|
|
|
|
}
|
|
|
|
|
|
|
|
public double getBreitengrad() {
|
|
|
|
return breitengrad;
|
|
|
|
}
|
|
|
|
public void setBreitengrad(double breitengrad) {
|
|
|
|
this.breitengrad = breitengrad;
|
|
|
|
}
|
|
|
|
|
|
|
|
public double getLaengengrad() {
|
|
|
|
return laengengrad;
|
|
|
|
}
|
|
|
|
public void setLaengengrad(double laengengrad) {
|
|
|
|
this.laengengrad = laengengrad;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int getAmplitude() {
|
|
|
|
return amplitude;
|
|
|
|
}
|
|
|
|
public void setAmplitude(int amplitude) {
|
|
|
|
this.amplitude = amplitude;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getLocaldatetime() {
|
|
|
|
return localdatetime;
|
|
|
|
}
|
|
|
|
public void setLocaldatetime(String localdatetime) {
|
|
|
|
this.localdatetime = localdatetime;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getAndroidid() {
|
|
|
|
return androidid;
|
|
|
|
}
|
|
|
|
public void setAndroidid(String androidid) {
|
|
|
|
this.androidid = androidid;
|
|
|
|
}
|
|
|
|
}
|