接口 AISPositionReportB

所有超级接口:
AISMessage, AISPositionInfo
所有已知子接口:
AISMessage01, AISMessage02, AISMessage03, AISMessage18, AISMessage19, AISMessage27, AISPositionReport

public interface AISPositionReportB extends AISPositionInfo
Common interface for all Class B messages providing position reports.
作者:
Lázár József
  • 方法详细资料

    • getSpeedOverGround

      double getSpeedOverGround()
      Returns the speed over ground. Notice that maximum returned speed is 102.2, even when the actual speed is higher.
      返回:
      Speed in knots 0-102.2 or 102.3 when not available.
    • getCourseOverGround

      double getCourseOverGround()
      Returns the course over ground.
      返回:
      Course in degrees 0-359.9 or 360 when not available (default).
    • getTrueHeading

      int getTrueHeading()
      Returns the true heading.
      返回:
      Heading in degrees 0-359 or 511 when not available (default).
    • getTimeStamp

      int getTimeStamp()
      Returns the time stamp contained in the message, i.e. UTC second when the report was generated by the electronic position system.
      返回:
      0-59 or 60 if time stamp is not available, which should also be the default value. 61 if positioning system is in manual input mode, or 62 if electronic position fixing system operates in estimated (dead reckoning) mode, or 63 if the positioning system is inoperative.
    • hasSpeedOverGround

      boolean hasSpeedOverGround()
      Returns true if speed over ground is available in the message.
      返回:
      true if has SOG, otherwise false.
    • hasCourseOverGround

      boolean hasCourseOverGround()
      Returns true if course over ground is available in the message.
      返回:
      true if has COG, otherwise false.
    • hasTrueHeading

      boolean hasTrueHeading()
      Returns true if true heading is available in the message.
      返回:
      true if has heading, otherwise false.
    • hasTimeStamp

      boolean hasTimeStamp()
      Returns true if timestamp is available in the message.
      返回:
      true if has timestamp, otherwise false.