public class SatelliteInfo extends Object
GSVSentence| Constructor and Description |
|---|
SatelliteInfo(String id,
int elevation,
int azimuth,
int noise)
Creates a new instance of SatelliteInfo
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAzimuth()
Get satellite azimuth, in degrees from true north (0..359°).
|
int |
getElevation()
Get satellite elevation, in degrees (max. 90°).
|
String |
getId()
Get the ID of satellite vehicle, for example "05".
|
int |
getNoise()
Get satellite the signal noise ratio, in dB (0-99 dB).
|
void |
setAzimuth(int azimuth)
Set satellite azimuth, in degrees from true north (0..359°).
|
void |
setElevation(int elevation)
Set satellite elevation, in degrees (max. 90°).
|
void |
setId(String id)
Set the ID of satellite vehicle, for example "05".
|
void |
setNoise(int noise)
Set the satellite signal noise ratio, in dB (0-99 dB).
|
public SatelliteInfo(String id, int elevation, int azimuth, int noise)
id - Satellite IDelevation - Current elevation of the satelliteazimuth - Current azimuth of the satellitenoise - Current noise ratio of the satellite signalpublic int getAzimuth()
public int getElevation()
public String getId()
public int getNoise()
public void setAzimuth(int azimuth)
azimuth - the azimuth to setIllegalArgumentException - If value is out of bounds 0..360 deg.public void setElevation(int elevation)
elevation - the elevation to setIllegalArgumentException - If value is out of bounds 0..90 deg.public void setId(String id)
id - the id to setpublic void setNoise(int noise)
noise - the noise to setIllegalArgumentException - If value is out of bounds 0..99 dB.Copyright (C) 2010-2017 Java Marine API authors. All Rights Reserved.