类 SatelliteInfoEvent
java.lang.Object
java.util.EventObject
net.sf.marineapi.provider.event.ProviderEvent
net.sf.marineapi.provider.event.SatelliteInfoEvent
- 所有已实现的接口:
Serializable
SatelliteInfoEvent contains the satellite information collected by
SatelliteInfoProvider.- 作者:
- Kimmo Tuukkanen
- 另请参阅:
-
字段概要
从类继承的字段 java.util.EventObject
source -
构造器概要
构造器构造器说明SatelliteInfoEvent(Object source, GSASentence gsa, List<SatelliteInfo> info) Creates a new satellite info event. -
方法概要
修饰符和类型方法说明Returns the GPS fix status as reported by GSA sentence.Returns the GPS mode of operation as reported in GSA sentence.doubleReturns the horizontal precision of GPS fix.doubleReturns the overall precision of GPS fix.String[]Returns the list of GPS satellites used for GPS fix.Returns the current detailed satellite information.doubleReturns the vertical precision of GPS fix.从类继承的方法 java.util.EventObject
getSource, toString
-
构造器详细资料
-
SatelliteInfoEvent
Creates a new satellite info event. GSA and GSV satellite info assumed to be from same NMEA update sequence/cycle.- 参数:
source- The object that sends the event.gsa- GSA sentenceinfo- GSV satellite info
-
-
方法详细资料
-
getSatelliteIds
Returns the list of GPS satellites used for GPS fix.- 返回:
- Satellite ids list as reported by GSA sentence.
-
getSatelliteInfo
Returns the current detailed satellite information.- 返回:
- List of SatelliteInfo objects from latest GSV sequence.
-
getHorizontalPrecision
public double getHorizontalPrecision()Returns the horizontal precision of GPS fix.- 返回:
- HDOP value as reported by GSA sentence.
-
getVerticalPrecision
public double getVerticalPrecision()Returns the vertical precision of GPS fix.- 返回:
- VDOP as reported by GSA sentence.
-
getPositionPrecision
public double getPositionPrecision()Returns the overall precision of GPS fix.- 返回:
- PDOP as reported by GSA sentence.
-
getGpsMode
Returns the GPS mode of operation as reported in GSA sentence.- 返回:
- FaaMode enum value
-
getGpsFixStatus
Returns the GPS fix status as reported by GSA sentence.- 返回:
- GpsFixStatus enum value
-