接口 AISMessage05
- 所有超级接口:
AISMessage
Static and Voyage Related Data.
- 作者:
- Lázár József
-
方法概要
修饰符和类型方法说明intReturns the AIS version indicator for the current message.intgetBow()Returns the distance from the reference point to the bow.Returns the call sign of the transmitting ship.Returns the destination.intReturns the day of estimated time of arrival.intReturns the hour of estimated time of arrival.intReturn the minute of estimated time of arrival.intReturns the month of the estimated time of arrival.intReturns the IMO number of the transmitting ship.doubleReturns the maximum draught.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.booleanReturns the Data Terminal Equipment (DTE) ready flag.从接口继承的方法 net.sf.marineapi.ais.message.AISMessage
getMessageType, getMMSI, getRepeatIndicator
-
方法详细资料
-
getAISVersionIndicator
int getAISVersionIndicator()Returns the AIS version indicator for the current message.- 返回:
- AIS version indicator
-
getIMONumber
int getIMONumber()Returns the IMO number of the transmitting ship.- 返回:
- an integer value representing the IMO number (1-999999999)
-
getCallSign
String getCallSign()Returns the call sign of the transmitting ship.- 返回:
- at most 7 characters, representing the call sign
-
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, in meters.
-
getTypeOfEPFD
int getTypeOfEPFD()Returns the type of electronic position fixing device.- 返回:
- an integer value the the type of EPFD
-
getETAMonth
int getETAMonth()Returns the month of the estimated time of arrival.- 返回:
- month 1..12 (0 for n/a)
-
getETADay
int getETADay()Returns the day of estimated time of arrival.- 返回:
- day number 1..31 (0 for n/a)
-
getETAHour
int getETAHour()Returns the hour of estimated time of arrival.- 返回:
- hour 0..23 (24 for n/a)
-
getETAMinute
int getETAMinute()Return the minute of estimated time of arrival.- 返回:
- minute 0..59 (60 for n/a)
-
getMaximumDraught
double getMaximumDraught()Returns the maximum draught.- 返回:
- an integer value of the maximum static draught in 1/10 m
-
getDestination
String getDestination()Returns the destination.- 返回:
- maximum 20 characters, representing the destination
-
isDteReady
boolean isDteReady()Returns the Data Terminal Equipment (DTE) ready flag.- 返回:
- boolean
trueif ready, otherwisefalse.
-