接口 RSDSentence


public interface RSDSentence
Radar system data
Contains information about variable range markers (VRM), electronic bearing lines (EBL), the range scale in use, the display rotation, and the current cursor position. Example:
$RARSD,12,90,24,45,6,270,12,315,6.5,118,96,N,N*5A<CR><LF>
作者:
Joshua Sweaney
  • 方法详细资料

    • getOriginOneRange

      double getOriginOneRange()
      Get the range of the origin for VRM1 and EBL1.
      返回:
      double the range of Origin 1
      抛出:
      DataNotAvailableException - If the data is not available.
      ParseException - If the field contains unexpected or illegal value.
    • getOriginOneBearing

      double getOriginOneBearing()
      Get the bearing of the origin for VRM1 and EBL1 (in degrees), from 0 degrees.
      返回:
      double the bearing of Origin 1
      抛出:
      DataNotAvailableException - If the data is not available.
      ParseException - If the field contains unexpected or illegal value.
    • getVRMOneRange

      double getVRMOneRange()
      Get the range of variable range marker 1
      返回:
      double VRM 1 range
      抛出:
      DataNotAvailableException - If the data is not available.
      ParseException - If the field contains unexpected or illegal value.
    • getEBLOneBearing

      double getEBLOneBearing()
      Get the bearing of electronic bearing line 1, from 0 degrees
      返回:
      double EBL 1 bearing
      抛出:
      DataNotAvailableException - If the data is not available.
      ParseException - If the field contains unexpected or illegal value.
    • getOriginTwoRange

      double getOriginTwoRange()
      Get the range of the origin for VRM2 and EBL2.
      返回:
      double the range of Origin 2
      抛出:
      DataNotAvailableException - If the data is not available.
      ParseException - If the field contains unexpected or illegal value.
    • getOriginTwoBearing

      double getOriginTwoBearing()
      Get the bearing of the origin for VRM2 and EBL2 (in degrees), from 0 degrees.
      返回:
      double the bearing of Origin 2
      抛出:
      DataNotAvailableException - If the data is not available.
      ParseException - If the field contains unexpected or illegal value.
    • getVRMTwoRange

      double getVRMTwoRange()
      Get the range of variable range marker 2
      返回:
      double VRM 2 range
      抛出:
      DataNotAvailableException - If the data is not available.
      ParseException - If the field contains unexpected or illegal value.
    • getEBLTwoBearing

      double getEBLTwoBearing()
      Get the bearing of electronic bearing line 2, from 0 degrees
      返回:
      double EBL 2 bearing
      抛出:
      DataNotAvailableException - If the data is not available.
      ParseException - If the field contains unexpected or illegal value.
    • getCursorRange

      double getCursorRange()
      Get current cursor position range
      返回:
      double current cursor range
      抛出:
      DataNotAvailableException - If the data is not available.
      ParseException - If the field contains unexpected or illegal value.
    • getCursorBearing

      double getCursorBearing()
      Get current cursor position bearing
      返回:
      double current cursor bearing
      抛出:
      DataNotAvailableException - If the data is not available.
      ParseException - If the field contains unexpected or illegal value.
    • getRangeScale

      double getRangeScale()
      Get the current selected range scale
      返回:
      double current range scale
      抛出:
      DataNotAvailableException - If the data is not available.
      ParseException - If the field contains unexpected or illegal value.
    • getRangeUnits

      Units getRangeUnits()
      Get the units used for range measurements in this sentence
      返回:
      Units the units used for the ranges (either kilometres, nautical miles, or statute miles)
      抛出:
      DataNotAvailableException - If the data is not available.
      ParseException - If the field contains unexpected or illegal value.
    • getDisplayRotation

      DisplayRotation getDisplayRotation()
      Get the selected display rotation of the radar system
      返回:
      DisplayRotation the display rotation
      抛出:
      DataNotAvailableException - If the data is not available.
      ParseException - If the field contains unexpected or illegal value.
    • setOriginOneRange

      void setOriginOneRange(double range)
      Set the range for origin one
      参数:
      range - the range
    • setOriginOneBearing

      void setOriginOneBearing(double bearing)
      Set the bearing for origin one
      参数:
      bearing - the bearing
    • setVRMOneRange

      void setVRMOneRange(double range)
      Set the range of VRM one
      参数:
      range - the range
    • setEBLOneBearing

      void setEBLOneBearing(double bearing)
      Set the bearing of EBL one
      参数:
      bearing - the bearing
    • setOriginTwoRange

      void setOriginTwoRange(double range)
      Set the range for origin two
      参数:
      range - the range
    • setOriginTwoBearing

      void setOriginTwoBearing(double bearing)
      Set the bearing for origin two
      参数:
      bearing - double the bearing
    • setVRMTwoRange

      void setVRMTwoRange(double range)
      Set the range of VRM two
      参数:
      range - the range
    • setEBLTwoBearing

      void setEBLTwoBearing(double bearing)
      Set the bearing of EBL two
      参数:
      bearing - the bearing
    • setCursorRange

      void setCursorRange(double range)
      Set the cursor range
      参数:
      range - the range
    • setCursorBearing

      void setCursorBearing(double bearing)
      Set the cursor bearing
      参数:
      bearing - the bearing
    • setRangeScale

      void setRangeScale(double rangeScale)
      Set the range scale
      参数:
      rangeScale - the range scale
    • setRangeUnits

      void setRangeUnits(Units units)
      Set the range units
      参数:
      units - the units used for the ranges (either kilometres, nautical miles, or statute miles)
    • setDisplayRotation

      void setDisplayRotation(DisplayRotation rotation)
      Set the display rotation
      参数:
      rotation - the display rotation