Struct AppliedWaterLevel
- Namespace
- EncDotNet.S100.Navigation
- Assembly
- EncDotNet.S100.Navigation.dll
A water level to apply at a point.
public readonly record struct AppliedWaterLevel : IEquatable<AppliedWaterLevel>
- Implements
- Inherited Members
Constructors
AppliedWaterLevel(double, double?, WaterLevelSourceInfo, DateTime)
A water level to apply at a point.
public AppliedWaterLevel(double HeightMeters, double? UncertaintyMeters, WaterLevelSourceInfo Source, DateTime StepTime)
Parameters
HeightMetersdoubleHeight of the water above the vertical datum in metres (positive up; S-104 Ed 2.0.0 Table 5-1). The adjusted depth is the charted depth plus this height, so a negative height makes the water shallower.
UncertaintyMetersdouble?The uncertainty of the height (a ± value), or
nullwhen the S-104 dataset doesn't carry one.SourceWaterLevelSourceInfoThe series the height was read from.
StepTimeDateTimeThe time step nearest the time the height is for.
Properties
HeightMeters
Height of the water above the vertical datum in metres (positive up; S-104 Ed 2.0.0 Table 5-1). The adjusted depth is the charted depth plus this height, so a negative height makes the water shallower.
public double HeightMeters { get; init; }
Property Value
Source
The series the height was read from.
public WaterLevelSourceInfo Source { get; init; }
Property Value
StepTime
The time step nearest the time the height is for.
public DateTime StepTime { get; init; }
Property Value
UncertaintyMeters
The uncertainty of the height (a ± value), or null when the S-104 dataset doesn't carry one.
public double? UncertaintyMeters { get; init; }