|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.marineapi.nmea.util.SatelliteInfo
public class SatelliteInfo
SatelliteInfo represents the information about a single GPS satellite vehicle.
GSVSentence| Constructor Summary | |
|---|---|
SatelliteInfo(String id,
int elevation,
int azimuth,
int noise)
Creates a new instance of SatelliteInfo |
|
| Method Summary | |
|---|---|
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). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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 signal| Method Detail |
|---|
public int getAzimuth()
public int getElevation()
public String getId()
public int getNoise()
public void setAzimuth(int azimuth)
azimuth - the azimuth to set
IllegalArgumentException - If value is out of bounds 0..360 deg.public void setElevation(int elevation)
elevation - the elevation to set
IllegalArgumentException - 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 set
IllegalArgumentException - If value is out of bounds 0..99 dB.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||