Package AIS
Class AISPositionReport
java.lang.Object
AIS.AISReport
AIS.AISPositionReport
- All Implemented Interfaces:
Serializable
,ManagedParameters
AIS Position report data
- Author:
- Doug Gillespie
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionint
double
int
int
int
int
int
double
int
boolean
static final long
double
long
double
int
int
int
-
Constructor Summary
ConstructorDescriptionAISPositionReport
(long timeMillis, int navStatus, double rateOfTurn, double speedOverGround, double latitude, double longitude, double courseOverGround, double trueHeading) Constructor to use when reading back from database. -
Method Summary
Modifier and TypeMethodDescriptiondouble
double
Get a set of data that describes all of the parameters in a classboolean
toString()
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
messageId
public int messageId -
dataTerminalReady
public int dataTerminalReady -
dataIndicator
public int dataIndicator -
rateOfTurn
public double rateOfTurn -
speedOverGround
public double speedOverGround -
positionAccuracy
public int positionAccuracy -
latLong
-
courseOverGround
public double courseOverGround -
trueHeading
public double trueHeading -
utcSeconds
public int utcSeconds -
utcMinutes
public int utcMinutes -
utcHours
public int utcHours -
repeatIndicator
public int repeatIndicator -
commsState
public int commsState -
timeMilliseconds
public long timeMilliseconds -
reportOk
public boolean reportOk
-
-
Constructor Details
-
AISPositionReport
public AISPositionReport(long timeMillis, int navStatus, double rateOfTurn, double speedOverGround, double latitude, double longitude, double courseOverGround, double trueHeading) Constructor to use when reading back from database.- Parameters:
navStatus
- navStatusrateOfTurn
- rateOfTurnspeedOverGround
- speedOverGroundlatitude
- latitudelongitude
- longitudecourseOverGround
- courseOverGroundtrueHeading
- trueHeading
-
-
Method Details
-
toString
-
getLatitude
public double getLatitude() -
getLongitude
public double getLongitude() -
hasTrueHeading
public boolean hasTrueHeading() -
getParameterSet
Description copied from interface:ManagedParameters
Get a set of data that describes all of the parameters in a class- Specified by:
getParameterSet
in interfaceManagedParameters
- Returns:
- description of the parameters in a class.
-