|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface VDRSentence
Set and drift, true/magnetic direction and speed of current.
Example:
| Field Summary |
|---|
| Fields inherited from interface net.sf.marineapi.nmea.sentence.Sentence |
|---|
ALTERNATIVE_BEGIN_CHAR, BEGIN_CHAR, CHECKSUM_DELIMITER, FIELD_DELIMITER, MAX_LENGTH, TERMINATOR |
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface net.sf.marineapi.nmea.sentence.Sentence |
|---|
getBeginChar, getFieldCount, getSentenceId, getTalkerId, isProprietary, isValid, reset, setBeginChar, setTalkerId, toSentence, toSentence, toString |
| Method Detail |
|---|
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)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||