Table of Contents

Class WaterLevelBasis

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

What a IWaterLevelField applies: the time or period, and the datasets it reads.

public sealed record WaterLevelBasis : IEquatable<WaterLevelBasis>
Inheritance
WaterLevelBasis
Implements
Inherited Members

Constructors

WaterLevelBasis(WaterLevelBasisKind, DateTime, DateTime, IReadOnlyList<WaterLevelSourceInfo>)

What a IWaterLevelField applies: the time or period, and the datasets it reads.

public WaterLevelBasis(WaterLevelBasisKind Kind, DateTime Start, DateTime End, IReadOnlyList<WaterLevelSourceInfo> Sources)

Parameters

Kind WaterLevelBasisKind

An instant or a period.

Start DateTime

The instant (UTC), or the start of the period.

End DateTime

The instant again, or the end of the period (UTC).

Sources IReadOnlyList<WaterLevelSourceInfo>

The S-104 datasets the field reads, one entry per dataset; empty when the source can't list them.

Properties

End

The instant again, or the end of the period (UTC).

public DateTime End { get; init; }

Property Value

DateTime

Kind

An instant or a period.

public WaterLevelBasisKind Kind { get; init; }

Property Value

WaterLevelBasisKind

Sources

The S-104 datasets the field reads, one entry per dataset; empty when the source can't list them.

public IReadOnlyList<WaterLevelSourceInfo> Sources { get; init; }

Property Value

IReadOnlyList<WaterLevelSourceInfo>

Start

The instant (UTC), or the start of the period.

public DateTime Start { get; init; }

Property Value

DateTime