Struct NmeaAisPositionReportExtendedClassBParser
Enables fields to be extracted from an AIS Extended Class B CS Position Report payload in an NMEA sentence.
Namespace: Ais.Net
Assembly: Ais.Net.dll
Syntax
public struct NmeaAisPositionReportExtendedClassBParser
Constructors
| Improve this Doc View SourceNmeaAisPositionReportExtendedClassBParser(ReadOnlySpan<Byte>, UInt32)
Create an NmeaAisPositionReportExtendedClassBParser.
Declaration
public NmeaAisPositionReportExtendedClassBParser(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 |
DimensionToBow
Gets the distance in metres from the unit to the bow.
Declaration
public uint DimensionToBow { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
DimensionToPort
Gets the distance in metres from the unit to port.
Declaration
public uint DimensionToPort { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
DimensionToStarboard
Gets the distance in metres from the unit to starboard.
Declaration
public uint DimensionToStarboard { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
DimensionToStern
Gets the distance in metres from the unit to the stern.
Declaration
public uint DimensionToStern { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
IsAssigned
Gets a value indicating whether the unit is running in assigned mode. If false, the unit is in autonomous mode.
Declaration
public bool IsAssigned { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
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 |
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 |
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 |
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.
PositionFixType
Gets the position fix type.
Declaration
public EpfdFixType PositionFixType { get; }
Property Value
Type | Description |
---|---|
EpfdFixType |
RaimFlag
Gets a value indicating whether Receiver Autonomous Integrity Monitoring is in use.
Declaration
public bool RaimFlag { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
RegionalReserved139
Gets the 4 bits of 'regional reserved' data starting at bit 38.
Declaration
public byte RegionalReserved139 { get; }
Property Value
Type | Description |
---|---|
System.Byte |
RegionalReserved38
Gets the 8 bits of 'regional reserved' data starting at bit 38.
Declaration
public byte RegionalReserved38 { get; }
Property Value
Type | Description |
---|---|
System.Byte |
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.
ShipName
Gets the ship name field.
Declaration
public NmeaAisTextFieldParser ShipName { get; }
Property Value
Type | Description |
---|---|
NmeaAisTextFieldParser |
ShipType
Gets the ship and cargo type.
Declaration
public ShipType ShipType { get; }
Property Value
Type | Description |
---|---|
ShipType |
Spare308
Gets the value of the 'spare' bits from 308 to 311.
Declaration
public uint Spare308 { 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 |