Class UkcMinimum
- Namespace
- EncDotNet.S100.Navigation
- Assembly
- EncDotNet.S100.Navigation.dll
The smallest margin over the required UKC, and where and when it occurs.
public sealed record UkcMinimum : IEquatable<UkcMinimum>
- Inheritance
-
UkcMinimum
- Implements
- Inherited Members
Constructors
UkcMinimum(int, int, GeoPosition, double, DateTimeOffset, bool, double, double, UkcState, ConfidenceReasons)
The smallest margin over the required UKC, and where and when it occurs.
public UkcMinimum(int SampleIndex, int LegIndex, GeoPosition Position, double DistanceMeters, DateTimeOffset Time, bool HasEta, double ClearanceMeters, double RequiredUkcMeters, UkcState State, ConfidenceReasons Confidence = ConfidenceReasons.None)
Parameters
SampleIndexintIndex of the sample.
LegIndexintIndex of the leg.
PositionGeoPositionWhere it occurs.
DistanceMetersdoubleDistance from the start of the passage.
TimeDateTimeOffsetWhen it occurs (the ETA, or the departure time without ETAs).
HasEtabooltruewhenTimeis a real ETA.ClearanceMetersdoubleThe UKC there.
RequiredUkcMetersdoubleThe required UKC there.
StateUkcStateThe sample's state.
ConfidenceConfidenceReasonsWhy the sample is lower confidence, or None.
Properties
ClearanceMeters
The UKC there.
public double ClearanceMeters { get; init; }
Property Value
Confidence
Why the sample is lower confidence, or None.
public ConfidenceReasons Confidence { get; init; }
Property Value
DistanceMeters
Distance from the start of the passage.
public double DistanceMeters { get; init; }
Property Value
HasEta
true when Time is a real ETA.
public bool HasEta { get; init; }
Property Value
LegIndex
Index of the leg.
public int LegIndex { get; init; }
Property Value
Position
Where it occurs.
public GeoPosition Position { get; init; }
Property Value
RequiredUkcMeters
The required UKC there.
public double RequiredUkcMeters { get; init; }
Property Value
SampleIndex
Index of the sample.
public int SampleIndex { get; init; }
Property Value
State
The sample's state.
public UkcState State { get; init; }
Property Value
Time
When it occurs (the ETA, or the departure time without ETAs).
public DateTimeOffset Time { get; init; }