接口 AISMessage24
- 所有超级接口:
AISMessage
Static Data Report
Equivalent of a Type 5 message for ships using Class B equipment
- 作者:
- Henri Laurent
-
方法概要
修饰符和类型方法说明intgetBow()Returns the distance from the reference point to the bow.Returns the call sign of the transmitting ship.getName()Returns the name of the transmitting ship.intReturns the Part Number indicator for the current message.intgetPort()Returns the distance from the reference point to the port side of the ship.intReturns the Serial NumberintReturns 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 ship and cargo.intReturns the Unit Model codeReturns the Vendor id从接口继承的方法 net.sf.marineapi.ais.message.AISMessage
getMessageType, getMMSI, getRepeatIndicator
-
方法详细资料
-
getPartNumber
int getPartNumber()Returns the Part Number indicator for the current message.- 返回:
- Part Number indicator
-
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
-
getVendorId
String getVendorId()Returns the Vendor id- 返回:
- maximum 3 characters, representing the vendor id
-
getUnitModelCode
int getUnitModelCode()Returns the Unit Model code- 返回:
- model code int
-
getSerialNumber
int getSerialNumber()Returns the Serial Number- 返回:
- serial number int
-
getCallSign
String getCallSign()Returns the call sign of the transmitting ship.- 返回:
- at most 7 characters, representing the call sign
-
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 starborad side, in meters.
-