ALTERNATIVE_BEGIN_CHAR, BEGIN_CHAR, CHECKSUM_DELIMITER, FIELD_DELIMITER, MAX_LENGTH, TERMINATOR
Modifier and Type | Method and Description |
---|---|
double |
getMagneticDirection()
Returns the magnetic current direction.
|
double |
getSpeed()
Returns the current flow speed.
|
double |
getTrueDirection()
Returns the true direction of current.
|
void |
setMagneticDirection(double direction)
Sets the magnetic direction of current.
|
void |
setSpeed(double speed)
Sets the current flow speed.
|
void |
setTrueDirection(double direction)
Sets the true direction of current.
|
getBeginChar, getFieldCount, getSentenceId, getTalkerId, isAISSentence, isProprietary, isValid, reset, setBeginChar, setTalkerId, toSentence, toSentence, toString
double getMagneticDirection()
getTrueDirection()
double getSpeed()
double getTrueDirection()
getMagneticDirection()
void setMagneticDirection(double direction)
direction
- void setSpeed(double speed)
speed
- Speed in knotsvoid setTrueDirection(double direction)
direction
- Direction in degreessetMagneticDirection(double)
Copyright (C) 2010-2017 Java Marine API authors. All Rights Reserved.