接口 AISMessage21

所有超级接口:
AISMessage, AISPositionInfo

public interface AISMessage21 extends AISPositionInfo
Aid-to-Navigation Report Identification and location message to be emitted by aids to navigation such as buoys and lighthouses. This message is unusual in that it varies in length depending on the presence and size of the Name Extension field. May vary between 272 and 360 bits
作者:
Henri Laurent
  • 方法详细资料

    • getAidType

      int getAidType()
      Returns the Aid type for the current message.
      返回:
      Aid type
    • getName

      String getName()
      Returns the name of the transmitting ship.
      返回:
      maximum 20 characters, representing the name
    • getBow

      int getBow()
      Returns the distance from the reference point to the bow.
      返回:
      Distance to bow, in meters.
    • getStern

      int getStern()
      Returns the distance from the reference point to the stern of the ship.
      返回:
      Distance to stern, in meters.
    • getPort

      int getPort()
      Returns the distance from the reference point to the port side of the ship.
      返回:
      Distance to port side, in meters.
    • getStarboard

      int getStarboard()
      Returns the distance from the reference point to the starboard side of the ship.
      返回:
      Distance to starboard side, in meters.
    • getTypeOfEPFD

      int getTypeOfEPFD()
      Returns the type of electronic position fixing device.
      返回:
      an integer value of the position device
    • getUtcSecond

      int getUtcSecond()
      Returns the UTC second.
      返回:
      an integer value representing the UTC second (0-59)
    • getOffPositionIndicator

      boolean getOffPositionIndicator()
      Returns the Off-position indicator: 0 means on position; 1 means off position. Only valid if UTC second is equal to or below 59.
      返回:
      true if off-position, otherwise false.
    • getRegional

      int getRegional()
      Returns a Regional integer (reserved)
      返回:
      an integer value
    • getRAIMFlag

      boolean getRAIMFlag()
      Returns the RAIM flag
      返回:
      true if RAIM in use, otherwise false.
    • getVirtualAidFlag

      boolean getVirtualAidFlag()
      Returns the Virtual-aid flag
      返回:
      true if virtual, otherwise false
    • getAssignedModeFlag

      boolean getAssignedModeFlag()
      Returns the Assigned-mode flag
      返回:
      true if assigned, otherwise false.
    • getNameExtension

      String getNameExtension()
      Returns the name extension.
      返回:
      maximum 14 characters, representing the name extension