Class LegUkcResult
- Namespace
- EncDotNet.S100.Navigation
- Assembly
- EncDotNet.S100.Navigation.dll
The check result for one leg.
public sealed record LegUkcResult : IEquatable<LegUkcResult>
- Inheritance
-
LegUkcResult
- Implements
- Inherited Members
Constructors
LegUkcResult(int, string?, double, double, DateTimeOffset?, DateTimeOffset?, int, int, UkcMinimum?, UkcState, double, int, ConfidenceReasons, bool)
The check result for one leg.
public LegUkcResult(int LegIndex, string? Name, double StartDistanceMeters, double DistanceMeters, DateTimeOffset? Start, DateTimeOffset? End, int FirstSample, int SampleCount, UkcMinimum? Minimum, UkcState WorstState, double MinutesBelow, int PlacesBelow, ConfidenceReasons Confidence, bool HasNoWaterLevel)
Parameters
LegIndexintIndex of the leg.
NamestringThe leg's display name, when the caller gave one.
StartDistanceMetersdoubleDistance from the start of the passage to the start of the leg.
DistanceMetersdoubleLength of the leg.
StartDateTimeOffset?ETA at the start of the leg, or
nullwhen unknown.EndDateTimeOffset?ETA at the end of the leg, or
nullwhen unknown.FirstSampleintIndex of the leg's first sample.
SampleCountintNumber of samples on the leg.
MinimumUkcMinimumThe leg's smallest margin over the required UKC, or
nullwhen no sample has a clearance.WorstStateUkcStateThe worst state among the leg's samples.
MinutesBelowdoubleTime spent below the setting on this leg, in minutes (0 without ETAs).
PlacesBelowintNumber of separate stretches below the setting on this leg.
ConfidenceConfidenceReasonsThe low-confidence reasons of every sample on the leg, combined.
HasNoWaterLevelbooltruewhen any sample on the leg has a charted depth but no applied water level.
Properties
Confidence
The low-confidence reasons of every sample on the leg, combined.
public ConfidenceReasons Confidence { get; init; }
Property Value
DistanceMeters
Length of the leg.
public double DistanceMeters { get; init; }
Property Value
End
ETA at the end of the leg, or null when unknown.
public DateTimeOffset? End { get; init; }
Property Value
FirstSample
Index of the leg's first sample.
public int FirstSample { get; init; }
Property Value
HasLowConfidence
true when any sample on the leg is lower confidence.
public bool HasLowConfidence { get; }
Property Value
HasNoWaterLevel
true when any sample on the leg has a charted depth but no applied water level.
public bool HasNoWaterLevel { get; init; }
Property Value
LegIndex
Index of the leg.
public int LegIndex { get; init; }
Property Value
Minimum
The leg's smallest margin over the required UKC, or null when no sample has a clearance.
public UkcMinimum? Minimum { get; init; }
Property Value
MinutesBelow
Time spent below the setting on this leg, in minutes (0 without ETAs).
public double MinutesBelow { get; init; }
Property Value
Name
The leg's display name, when the caller gave one.
public string? Name { get; init; }
Property Value
PlacesBelow
Number of separate stretches below the setting on this leg.
public int PlacesBelow { get; init; }
Property Value
SampleCount
Number of samples on the leg.
public int SampleCount { get; init; }
Property Value
Start
ETA at the start of the leg, or null when unknown.
public DateTimeOffset? Start { get; init; }
Property Value
StartDistanceMeters
Distance from the start of the passage to the start of the leg.
public double StartDistanceMeters { get; init; }
Property Value
WorstState
The worst state among the leg's samples.
public UkcState WorstState { get; init; }