dk.navicon.AIS
Class ShipStaticVoyage

java.lang.Object
  |
  +--dk.navicon.AIS.AISMessage
        |
        +--dk.navicon.AIS.ShipStaticVoyage

public class ShipStaticVoyage
extends AISMessage

Ship Static and Voyage related data


Field Summary
 int actual_draught
          Actual draught in 1/10 m, 255 = draught 25.5 m or greater, 0 = not available = default; in accordance with IMO Resolution A.851
 int ais_version
          Version of AIS used
 java.lang.String call_sign
          7 x 6 bit ASCII characters, "@@@@@@@" = not available = default.
 java.lang.String destination
          Max 20 characters using 6-bit ASCII; "@@@@@@@@@@@@@@@@@@@@" = not available.
 int dimension_ref_pos
          Reference point for reported position; Also indicates the dimension of ship in meters (See Figure 15 and 6.3.3.8.2.3.2)
 int DTE
          Data Terminal Ready 0-1
 int ETA
          Estimated Time of Arrival; MMDDHHMM, Bits 19 - 16: month; 1 - 12; 0 = not available = default; Bits 15 -11: day; 1 - 31; 0 = not available = default; Bits 10 - 6: hour; 0 - 23; 24 = not available = default; Bits 5 - 0: minute; 0 - 59; 60 = not available = default
 int imo_nb
          1 - 999999999 ; 0 = not available = default
 int mmsi_nb
          MMSI number of reporting vessel.
 java.lang.String name
          Max 20 characters 6 bit ASCII, "@@@@@@@@@@@@@@@@@@@@" = not available = default.
 int navigation_sensor
          0 = Undefined (default); 1 = GPS, 2 = GLONASS, 3 = Combined GPS/GLONASS, 4 = Loran-C, 5 = Chayka, 6 = Integrated Navigation System, 7 = surveyed (base station) 8 - 15 = not used;
 int spare
          Spare.
 int type_and_cargo
          0 = not available or no ship = default; 1 - 99 = as defined 6.3.3.8.2.3.1; 100 - 199 = preserved, for regional use; 200 - 255 = preserved, for future use.
 
Fields inherited from class dk.navicon.AIS.AISMessage
msg_id, rep_indi
 
Constructor Summary
ShipStaticVoyage()
           
ShipStaticVoyage(java.lang.String s, int fill_bits)
           
 
Method Summary
 dk.navicon.AIS.MessageDescription[] getMessageDescription()
           
 
Methods inherited from class dk.navicon.AIS.AISMessage
decode, encode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mmsi_nb

public int mmsi_nb
MMSI number of reporting vessel.


ais_version

public int ais_version
Version of AIS used


imo_nb

public int imo_nb
1 - 999999999 ; 0 = not available = default


call_sign

public java.lang.String call_sign
7 x 6 bit ASCII characters, "@@@@@@@" = not available = default.


name

public java.lang.String name
Max 20 characters 6 bit ASCII, "@@@@@@@@@@@@@@@@@@@@" = not available = default.


type_and_cargo

public int type_and_cargo
0 = not available or no ship = default; 1 - 99 = as defined 6.3.3.8.2.3.1; 100 - 199 = preserved, for regional use; 200 - 255 = preserved, for future use.


dimension_ref_pos

public int dimension_ref_pos
Reference point for reported position; Also indicates the dimension of ship in meters (See Figure 15 and 6.3.3.8.2.3.2)


navigation_sensor

public int navigation_sensor
0 = Undefined (default); 1 = GPS, 2 = GLONASS, 3 = Combined GPS/GLONASS, 4 = Loran-C, 5 = Chayka, 6 = Integrated Navigation System, 7 = surveyed (base station) 8 - 15 = not used;


ETA

public int ETA
Estimated Time of Arrival; MMDDHHMM, Bits 19 - 16: month; 1 - 12; 0 = not available = default; Bits 15 -11: day; 1 - 31; 0 = not available = default; Bits 10 - 6: hour; 0 - 23; 24 = not available = default; Bits 5 - 0: minute; 0 - 59; 60 = not available = default


actual_draught

public int actual_draught
Actual draught in 1/10 m, 255 = draught 25.5 m or greater, 0 = not available = default; in accordance with IMO Resolution A.851


destination

public java.lang.String destination
Max 20 characters using 6-bit ASCII; "@@@@@@@@@@@@@@@@@@@@" = not available.


DTE

public int DTE
Data Terminal Ready 0-1


spare

public int spare
Spare. Not used. Shall be set to zero.

Constructor Detail

ShipStaticVoyage

public ShipStaticVoyage()

ShipStaticVoyage

public ShipStaticVoyage(java.lang.String s,
                        int fill_bits)
                 throws AISParseException
Method Detail

getMessageDescription

public dk.navicon.AIS.MessageDescription[] getMessageDescription()
Overrides:
getMessageDescription in class AISMessage