Table of Contents

Class WarningDetails

Namespace
EncDotNet.S100.Navigation
Assembly
EncDotNet.S100.Navigation.dll

An S-124 finding's warning, and how it stands on the route.

public sealed class WarningDetails : RouteFindingDetails
Inheritance
WarningDetails
Inherited Members

Properties

AtEta

Whether From and Until are ETAs rather than the fallback time.

public bool AtEta { get; init; }

Property Value

bool

EndLegIndex

The leg where the route leaves the warning, so a warning met on several legs reads "Crosses route on 2 legs"; null when it is the finding's LegIndex.

public int? EndLegIndex { get; init; }

Property Value

int?

From

When the vessel reaches it (UTC): the ETA, or the fallback time when AtEta is false.

public DateTimeOffset From { get; init; }

Property Value

DateTimeOffset

Info

The warning part's message.

public required NavigationalWarningInfo Info { get; init; }

Property Value

NavigationalWarningInfo

InsideArea

Whether the route goes through one of the warning's areas, rather than crossing its line: "Inside navigational warning" against "Crosses navigational warning".

public bool InsideArea { get; init; }

Property Value

bool

Relation

How it relates to the route (never Off).

public required RouteWarningRelation Relation { get; init; }

Property Value

RouteWarningRelation

Status

Whether it applies while the vessel is there.

public required RouteWarningStatus Status { get; init; }

Property Value

RouteWarningStatus

Until

When the vessel leaves it; equal to From for a crossing point or a near warning.

public DateTimeOffset Until { get; init; }

Property Value

DateTimeOffset

Withdrawal

Why the warning is Cancelled: its cancellation date, the warning that cancels it, or the in-force bulletin that leaves it out (WithdrawnAt(NavigationalWarningInfo, DateTimeOffset)). null for any other status.

public NavigationalWarningState? Withdrawal { get; init; }

Property Value

NavigationalWarningState