Class RouteCheckSources
- Namespace
- EncDotNet.S100.Navigation
- Assembly
- EncDotNet.S100.Navigation.dll
Everything the route checks read from loaded data, as one bundle: the
charted features, charted depth, water level, regulated areas and
navigational warnings. A host builds one per set of loaded datasets
(CatalogRouteCheckSources in EncDotNet.S100.Datasets.Pipelines)
and checks as often as the route changes.
public sealed class RouteCheckSources
- Inheritance
-
RouteCheckSources
- Inherited Members
Remarks
A source left null means there's nothing of that kind to check
against.
Every source must be safe to call from several threads at once, so one bundle can serve concurrent checks without a lock around them.
Properties
Areas
S-101 regulated areas and S-122 protected areas, for the area check.
public IRouteAreaSource? Areas { get; init; }
Property Value
Charts
S-101 cells (and S-401, and translated S-57) with their land, coastlines, depth, dredged and drying areas, dangers and soundings, for the chart check.
public IRouteChartSource? Charts { get; init; }
Property Value
Depth
Charted depth: S-102, with S-101 as the fallback. The clearance check reads the whole chain; the chart check reads S-102 only.
public IChartedDepthSource? Depth { get; init; }
Property Value
Empty
A bundle with no sources.
public static RouteCheckSources Empty { get; }
Property Value
Warnings
S-124 navigational warnings, for the warning check.
public IRouteWarningSource? Warnings { get; init; }
Property Value
WaterLevel
S-104 water level, for the clearance check.
public IWaterLevelSource? WaterLevel { get; init; }