Struct NmeaAisStaticDataReportParserPartB
Enables fields to be extracted from an AIS Static Data Report Part B payload in an NMEA sentence.
Namespace: Ais.Net
Assembly: Ais.Net.dll
Syntax
public struct NmeaAisStaticDataReportParserPartB
Constructors
| Improve this Doc View SourceNmeaAisStaticDataReportParserPartB(ReadOnlySpan<Byte>, UInt32)
Create an NmeaAisStaticDataReportParserPartB.
Declaration
public NmeaAisStaticDataReportParserPartB(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 SourceCallSign
Gets the Call Sign field.
Declaration
public NmeaAisTextFieldParser CallSign { get; }
Property Value
| Type | Description |
|---|---|
| NmeaAisTextFieldParser |
DimensionToBow
Gets the distance in metres from the unit to the bow. (Not present is this is an auxiliary craft.)
Declaration
public uint DimensionToBow { get; }
Property Value
| Type | Description |
|---|---|
| System.UInt32 |
DimensionToPort
Gets the distance in metres from the unit to port. (Not present is this is an auxiliary craft.)
Declaration
public uint DimensionToPort { get; }
Property Value
| Type | Description |
|---|---|
| System.UInt32 |
DimensionToStarboard
Gets the distance in metres from the unit to starboard. (Not present is this is an auxiliary craft.)
Declaration
public uint DimensionToStarboard { get; }
Property Value
| Type | Description |
|---|---|
| System.UInt32 |
DimensionToStern
Gets the distance in metres from the unit to the stern. (Not present is this is an auxiliary craft.)
Declaration
public uint DimensionToStern { get; }
Property Value
| Type | Description |
|---|---|
| System.UInt32 |
MessageType
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 |
MothershipMmsi
Gets the mothership MMSI. (Only present if Mmsi indicates that this is an auxiliary craft.)
Declaration
public uint MothershipMmsi { 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.
SerialNumber
Gets the Serial Number (only on messages conforming to ITU-R 1371-4 or later).
Declaration
public uint SerialNumber { get; }
Property Value
| Type | Description |
|---|---|
| System.UInt32 |
ShipType
Gets the ship and cargo type.
Declaration
public ShipType ShipType { get; }
Property Value
| Type | Description |
|---|---|
| ShipType |
Spare162
Gets the value of the 'spare' bits at 162.
Declaration
public uint Spare162 { get; }
Property Value
| Type | Description |
|---|---|
| System.UInt32 |
UnitModelCode
Gets the Unit Model Code (only on messages conforming to ITU-R 1371-4 or later).
Declaration
public uint UnitModelCode { get; }
Property Value
| Type | Description |
|---|---|
| System.UInt32 |
VendorIdRev3
Gets the Vendor field as specified by ITU-R 1371-3.
Declaration
public NmeaAisTextFieldParser VendorIdRev3 { get; }
Property Value
| Type | Description |
|---|---|
| NmeaAisTextFieldParser |
VendorIdRev4
Gets the Vendor field as specified by ITU-R 1371-4.
Declaration
public NmeaAisTextFieldParser VendorIdRev4 { get; }
Property Value
| Type | Description |
|---|---|
| NmeaAisTextFieldParser |