Struct NmeaAisStaticDataReportParserPartA
Enables fields to be extracted from an AIS Static Data Report Part A payload in an NMEA sentence.
Namespace: Ais.Net
Assembly: Ais.Net.dll
Syntax
public struct NmeaAisStaticDataReportParserPartA
Constructors
| Improve this Doc View SourceNmeaAisStaticDataReportParserPartA(ReadOnlySpan<Byte>, UInt32)
Create an NmeaAisStaticDataReportParserPartA.
Declaration
public NmeaAisStaticDataReportParserPartA(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 SourceMessageType
Gets the message type.
Declaration
public uint MessageType { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
Mmsi
Gets the unique identifier assigned to the transponder that sent this message.
Declaration
public uint Mmsi { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
PartNumber
Gets the Part Number field.
Declaration
public uint PartNumber { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
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.
Spare160
Gets the value of the 'spare' bits at 160.
Declaration
public uint Spare160 { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
VesselName
Gets the Vessel Name field.
Declaration
public NmeaAisTextFieldParser VesselName { get; }
Property Value
Type | Description |
---|---|
NmeaAisTextFieldParser |