Struct NmeaAisPositionReportClassAParser
Enables fields to be extracted from an AIS Position Report Class A payload in an NMEA sentence.
Namespace: Ais.Net
Assembly: Ais.Net.dll
Syntax
public struct NmeaAisPositionReportClassAParser
Constructors
| Improve this Doc View SourceNmeaAisPositionReportClassAParser(ReadOnlySpan<Byte>, UInt32)
Create an NmeaAisPositionReportClassAParser.
Declaration
public NmeaAisPositionReportClassAParser(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 SourceCourseOverGround10thDegrees
Gets the vessel's course over ground in units of one tenth of a degree.
Declaration
public uint CourseOverGround10thDegrees { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
Latitude10000thMins
Gets the reported latitude, in units of 1/10000 arc minutes.
Declaration
public int Latitude10000thMins { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Longitude10000thMins
Gets the reported longitude, in units of 1/10000 arc minutes.
Declaration
public int Longitude10000thMins { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
ManoeuvreIndicator
Gets a value indicating which kind of manoeuvre the vessel is engaged in, if any.
Declaration
public ManoeuvreIndicator ManoeuvreIndicator { get; }
Property Value
Type | Description |
---|---|
ManoeuvreIndicator |
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 |
NavigationStatus
Gets the vessel's navigation status.
Declaration
public NavigationStatus NavigationStatus { get; }
Property Value
Type | Description |
---|---|
NavigationStatus |
PositionAccuracy
Gets a value indicating whether the position information is of DGPS quality.
Declaration
public bool PositionAccuracy { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
If true
, location information is DGPS-quality (less than 10m). If false, it is
of unaugmented GNSS accuracy.
RadioSlotTimeout
Gets a value indicating how many more frames are to be sent before the radio system will need to select a new slot.
Declaration
public uint RadioSlotTimeout { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
RadioSubMessage
Gets information from the radio diagnostic system, the interpretation of which is determined by the value of RadioSlotTimeout.
Declaration
public uint RadioSubMessage { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
RadioSyncState
Gets a value indicating the time synchronization mechanism in use by the radio system.
Declaration
public RadioSyncState RadioSyncState { get; }
Property Value
Type | Description |
---|---|
RadioSyncState |
RaimFlag
Gets a value indicating whether Receiver Autonomous Integrity Monitoring is in use.
Declaration
public bool RaimFlag { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
RateOfTurn
Gets the vessel's rate of turn.
Declaration
public int RateOfTurn { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
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.
SpareBits145
Gets the value of the bits in this message for which no standard meaning is currently defined.
Declaration
public uint SpareBits145 { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
SpeedOverGroundTenths
Gets the vessel's speed over ground, in tenths of a knot.
Declaration
public uint SpeedOverGroundTenths { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
TimeStampSecond
Gets the seconds part of the (UTC) time at which the location was recorded.
Declaration
public uint TimeStampSecond { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
TrueHeadingDegrees
Gets the vessel's heading in degrees.
Declaration
public uint TrueHeadingDegrees { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |