接口 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:
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
-
方法概要
修饰符和类型方法说明doubleGet current cursor position bearingdoubleGet current cursor position rangeGet the selected display rotation of the radar systemdoubleGet the bearing of electronic bearing line 1, from 0 degreesdoubleGet the bearing of electronic bearing line 2, from 0 degreesdoubleGet the bearing of the origin for VRM1 and EBL1 (in degrees), from 0 degrees.doubleGet the range of the origin for VRM1 and EBL1.doubleGet the bearing of the origin for VRM2 and EBL2 (in degrees), from 0 degrees.doubleGet the range of the origin for VRM2 and EBL2.doubleGet the current selected range scaleGet the units used for range measurements in this sentencedoubleGet the range of variable range marker 1doubleGet the range of variable range marker 2voidsetCursorBearing(double bearing) Set the cursor bearingvoidsetCursorRange(double range) Set the cursor rangevoidsetDisplayRotation(DisplayRotation rotation) Set the display rotationvoidsetEBLOneBearing(double bearing) Set the bearing of EBL onevoidsetEBLTwoBearing(double bearing) Set the bearing of EBL twovoidsetOriginOneBearing(double bearing) Set the bearing for origin onevoidsetOriginOneRange(double range) Set the range for origin onevoidsetOriginTwoBearing(double bearing) Set the bearing for origin twovoidsetOriginTwoRange(double range) Set the range for origin twovoidsetRangeScale(double rangeScale) Set the range scalevoidsetRangeUnits(Units units) Set the range unitsvoidsetVRMOneRange(double range) Set the range of VRM onevoidsetVRMTwoRange(double range) Set the range of VRM two
-
方法详细资料
-
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
Set the range units- 参数:
units- the units used for the ranges (either kilometres, nautical miles, or statute miles)
-
setDisplayRotation
Set the display rotation- 参数:
rotation- the display rotation
-