Package AIS

Class AISPositionReport

java.lang.Object
AIS.AISReport
AIS.AISPositionReport
All Implemented Interfaces:
Serializable, ManagedParameters

public class AISPositionReport extends AISReport implements Serializable, ManagedParameters
AIS Position report data
Author:
Doug Gillespie
See Also:
  • 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

      public LatLong 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 - navStatus
      rateOfTurn - rateOfTurn
      speedOverGround - speedOverGround
      latitude - latitude
      longitude - longitude
      courseOverGround - courseOverGround
      trueHeading - trueHeading
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getLatitude

      public double getLatitude()
    • getLongitude

      public double getLongitude()
    • hasTrueHeading

      public boolean hasTrueHeading()
    • getParameterSet

      public PamParameterSet getParameterSet()
      Description copied from interface: ManagedParameters
      Get a set of data that describes all of the parameters in a class
      Specified by:
      getParameterSet in interface ManagedParameters
      Returns:
      description of the parameters in a class.