Show / Hide Table of Contents

Struct NmeaAisStaticAndVoyageRelatedDataParser

Enables fields to be extracted from an AIS Static and Voyage Related Data payload in an NMEA sentence.

Namespace: Ais.Net
Assembly: Ais.Net.dll
Syntax
public struct NmeaAisStaticAndVoyageRelatedDataParser

Constructors

| Improve this Doc View Source

NmeaAisStaticAndVoyageRelatedDataParser(ReadOnlySpan<Byte>, UInt32)

Create an NmeaAisStaticAndVoyageRelatedDataParser.

Declaration
public NmeaAisStaticAndVoyageRelatedDataParser(ReadOnlySpan<byte> ascii, uint padding)
Parameters
Type Name Description
ReadOnlySpan<System.Byte> ascii

The ASCII-encoded message payload.

System.UInt32 padding

The number of bits of padding in this payload.

Properties

| Improve this Doc View Source

AisVersion

Gets the AIS Version field at bit offset 38.

Declaration
public uint AisVersion { get; }
Property Value
Type Description
System.UInt32
Remarks

According to the docs, 0 meants ITU1371 and 1-3 are reserved for future editions, but in practice we see all 4 possible values here.

| Improve this Doc View Source

CallSign

Gets the Call Sign field.

Declaration
public NmeaAisTextFieldParser CallSign { get; }
Property Value
Type Description
NmeaAisTextFieldParser
| Improve this Doc View Source

Destination

Gets the Destination field.

Declaration
public NmeaAisTextFieldParser Destination { get; }
Property Value
Type Description
NmeaAisTextFieldParser
| Improve this Doc View Source

DimensionToBow

Gets the distance in metres from the unit to the bow.

Declaration
public uint DimensionToBow { get; }
Property Value
Type Description
System.UInt32
| Improve this Doc View Source

DimensionToPort

Gets the distance in metres from the unit to port.

Declaration
public uint DimensionToPort { get; }
Property Value
Type Description
System.UInt32
| Improve this Doc View Source

DimensionToStarboard

Gets the distance in metres from the unit to starboard.

Declaration
public uint DimensionToStarboard { get; }
Property Value
Type Description
System.UInt32
| Improve this Doc View Source

DimensionToStern

Gets the distance in metres from the unit to the stern.

Declaration
public uint DimensionToStern { get; }
Property Value
Type Description
System.UInt32
| Improve this Doc View Source

Draught10thMetres

Gets the vessel's draught in tenths of a metre.

Declaration
public uint Draught10thMetres { get; }
Property Value
Type Description
System.UInt32
| Improve this Doc View Source

EtaDay

Gets the day of the estimated time to arrival, or 0 if not available.

Declaration
public uint EtaDay { get; }
Property Value
Type Description
System.UInt32
| Improve this Doc View Source

EtaHour

Gets the hour of the estimated time to arrival, or 0 if not available.

Declaration
public uint EtaHour { get; }
Property Value
Type Description
System.UInt32
| Improve this Doc View Source

EtaMinute

Gets the minute of the estimated time to arrival, or 0 if not available.

Declaration
public uint EtaMinute { get; }
Property Value
Type Description
System.UInt32
| Improve this Doc View Source

EtaMonth

Gets the month of the estimated time to arrival, or 0 if not available.

Declaration
public uint EtaMonth { get; }
Property Value
Type Description
System.UInt32
| Improve this Doc View Source

ImoNumber

Gets the IMO Ship ID number.

Declaration
public uint ImoNumber { get; }
Property Value
Type Description
System.UInt32
| Improve this Doc View Source

IsDteNotReady

Gets a value indicating whether the data terminal is in a not ready state.

Declaration
public bool IsDteNotReady { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

MessageType

Gets the message type.

Declaration
public uint MessageType { get; }
Property Value
Type Description
System.UInt32
| Improve this Doc View Source

Mmsi

Gets the unique identifier assigned to the transponder that sent this message.

Declaration
public uint Mmsi { get; }
Property Value
Type Description
System.UInt32
| Improve this Doc View Source

PositionFixType

Gets the position fix type.

Declaration
public EpfdFixType PositionFixType { get; }
Property Value
Type Description
EpfdFixType
| Improve this Doc View Source

RepeatIndicator

Gets the number of times this message had been repeated on this broadcast.

Declaration
public uint RepeatIndicator { get; }
Property Value
Type Description
System.UInt32
Remarks

When stations retransmit messages with a view to enabling them to get around hills and other obstacles, this should be incremented. When it reaches 3, no more attempts should be made to retransmit it.

| Improve this Doc View Source

ShipType

Gets the ship and cargo type.

Declaration
public ShipType ShipType { get; }
Property Value
Type Description
ShipType
| Improve this Doc View Source

Spare423

Gets the value of the 'spare' bit at 423.

Declaration
public uint Spare423 { get; }
Property Value
Type Description
System.UInt32
| Improve this Doc View Source

VesselName

Gets the Call Sign field.

Declaration
public NmeaAisTextFieldParser VesselName { get; }
Property Value
Type Description
NmeaAisTextFieldParser
  • Improve this Doc
  • View Source
Back to top Generated by DocFX