Struct NmeaAisPositionReportClassBParser
Enables fields to be extracted from an AIS Standard Class B CS Position Report payload in an NMEA sentence.
Namespace: Ais.Net
Assembly: Ais.Net.dll
Syntax
public struct NmeaAisPositionReportClassBParser
Constructors
| Improve this Doc View SourceNmeaAisPositionReportClassBParser(ReadOnlySpan<Byte>, UInt32)
Create an NmeaAisPositionReportClassBParser.
Declaration
public NmeaAisPositionReportClassBParser(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 SourceCanAcceptMessage22ChannelAssignment
Gets a value indicating whether the unit can accept channel assignments via Message Type 22.
Declaration
public bool CanAcceptMessage22ChannelAssignment { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
CanSwitchBands
Gets a value indicating whether base stations can command this unit to switch frequency.
Declaration
public bool CanSwitchBands { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
CourseOverGround10thDegrees
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 |
CsUnit
Gets the value indicating whether this is a Class B (using CSTDMA) unit, or a Class B+ (using SOTDMA) unit.
Declaration
public ClassBUnit CsUnit { get; }
Property Value
Type | Description |
---|---|
ClassBUnit |
HasDisplay
Gets a value indicating whether the unit has a visual display attached.
Declaration
public bool HasDisplay { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
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 |
IsDscAttached
Gets a value indicating whether the unit is attached to a VHF voice radio with DSC capability.
Declaration
public bool IsDscAttached { 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.
RadioStatusType
Gets a value indicating whether the radio status is in SOTDMA or ITDMA format.
Declaration
public ClassBRadioStatusType RadioStatusType { get; }
Property Value
Type | Description |
---|---|
ClassBRadioStatusType |
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 2 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.
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 |