接口 TLLSentence

所有超级接口:
PositionSentence, Sentence

public interface TLLSentence extends PositionSentence
Sent by the Radar (ARPA / MARPA) and handled by the AIS Decoder in the same way as an AIS target example ($RATLL,01,3731.51052,N,02436.00000,E,TEST1,161617.88,T,*0C
作者:
Epameinondas Pantzopoulos
  • 方法详细资料

    • getNumber

      int getNumber()
      Get the number assigned to this target by the radar.
      返回:
      Target number in the range 0 - 999.
      抛出:
      DataNotAvailableException - If the data is not available.
    • getName

      String getName()
      Get the name of the target as assigned by the radar.
      返回:
      Name.
    • getTime

      Time getTime()
      Get the time of day.
      返回:
      Time
    • getStatus

      TargetStatus getStatus()
      Get the status of the target. A target is first in state QUERY while the radar works out firm data of the target. At first the calculated course and speed are rough and varies a lot; with time they settle at which point the target becomes TRACKING. A target no longer detected becomes LOST before TTM sentences will not be sent at all for the target.
      返回:
      The state (QUERY, TRACKING, LOST)
    • getReference

      boolean getReference()
      A target may be used to calculate own ship position.
      返回:
      True if this target is used to calculate own ship position.
    • setNumber

      void setNumber(int number)
      Set the number of the target. Uniquely identifies the target.
      参数:
      number - The number in the range 0 to 99 inclusive.
    • setName

      void setName(String name)
      Set the name of the target.
      参数:
      name - The name as a string, probably not too long...
    • setTime

      void setTime(Time t)
      Set the time of day.
      参数:
      t - Time to set
    • setStatus

      void setStatus(TargetStatus status)
      Set the Status of the target.
      参数:
      status - The status
      另请参阅:
    • setReference

      void setReference(boolean isReference)
      A target may be used to calculate own ship position.
      参数:
      isReference - True if this target is used to calculate own ship position.