|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.eurotech.framework.protocol.pcn.VehicleMotionEvent
public class VehicleMotionEvent
Defines vehicle motion event.
Field Summary | |
---|---|
static int |
NONE
|
static int |
START
|
static int |
STOP
|
Constructor Summary | |
---|---|
VehicleMotionEvent(int event,
double speed,
Calendar timestamp,
double latitude,
double longitude,
int countInfoAlgorythm)
VehicleMotionEvent constructor |
Method Summary | |
---|---|
int |
getCountInfoAlgorythm()
Reports 'count information' algorithm used. |
int |
getEvent()
Reports vehicle motion event. |
double |
getLatitude()
Reports latitude. |
double |
getLongitude()
Reports longitude. |
double |
getSpeed()
Reports vehicle speed. |
Calendar |
getTimestamp()
Reports time stamp. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int NONE
public static final int STOP
public static final int START
Constructor Detail |
---|
public VehicleMotionEvent(int event, double speed, Calendar timestamp, double latitude, double longitude, int countInfoAlgorythm)
event
- - vehicle movement event as int
speed
- - vehicle speed as double
timestamp
- - time stamp as Calendar
latitude
- - latitude as double
longitude
- - longitude as double
countInfoAlgorythm
- - count info algorithm as int
Method Detail |
---|
public int getEvent()
int
public double getSpeed()
double
public Calendar getTimestamp()
Calendar
public double getLatitude()
double
public double getLongitude()
double
public int getCountInfoAlgorythm()
int
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |