|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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 intspeed - - vehicle speed as doubletimestamp - - time stamp as Calendarlatitude - - latitude as doublelongitude - - longitude as doublecountInfoAlgorythm - - count info algorithm as int| Method Detail |
|---|
public int getEvent()
intpublic double getSpeed()
doublepublic Calendar getTimestamp()
Calendarpublic double getLatitude()
doublepublic double getLongitude()
doublepublic int getCountInfoAlgorythm()
int
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||