接口 AISMessage19
- 所有超级接口:
AISMessage,AISPositionInfo,AISPositionReportB
Extended Class B Equipment Position Report.
- 作者:
- Lázár József
-
方法概要
修饰符和类型方法说明intgetBow()Returns the distance from the reference point to the bow.getName()Returns the name of the transmitting ship.intgetPort()Returns the distance from the reference point to the port side of the ship.intReturns the distance from the reference point to the starboard side of the ship.intgetStern()Returns the distance from the reference point to the stern of the ship.intReturns the type of electronic position fixing device.intReturns the type of ship and cargo.从接口继承的方法 net.sf.marineapi.ais.message.AISMessage
getMessageType, getMMSI, getRepeatIndicator从接口继承的方法 net.sf.marineapi.ais.message.AISPositionInfo
getLatitudeInDegrees, getLongitudeInDegrees, hasLatitude, hasLongitude, isAccurate从接口继承的方法 net.sf.marineapi.ais.message.AISPositionReportB
getCourseOverGround, getSpeedOverGround, getTimeStamp, getTrueHeading, hasCourseOverGround, hasSpeedOverGround, hasTimeStamp, hasTrueHeading
-
方法详细资料
-
getName
String getName()Returns the name of the transmitting ship.- 返回:
- maximum 20 characters, representing the name
-
getTypeOfShipAndCargoType
int getTypeOfShipAndCargoType()Returns the type of ship and cargo.- 返回:
- an integer value representing the type of ship and cargo
-
getBow
int getBow()Returns the distance from the reference point to the bow.- 返回:
- Distance to bow, in meters.
-
getStern
int getStern()Returns the distance from the reference point to the stern of the ship.- 返回:
- Distance to stern, in meters.
-
getPort
int getPort()Returns the distance from the reference point to the port side of the ship.- 返回:
- Distance to port side, in meters.
-
getStarboard
int getStarboard()Returns the distance from the reference point to the starboard side of the ship.- 返回:
- Distance to starboard side, in meters.
-
getTypeOfEPFD
int getTypeOfEPFD()Returns the type of electronic position fixing device.- 返回:
- an integer value the the type of EPFD
-