Class WaterLevelSourceInfo
- Namespace
- EncDotNet.S100.Navigation
- Assembly
- EncDotNet.S100.Navigation.dll
Where a water-level series comes from.
public sealed record WaterLevelSourceInfo : IEquatable<WaterLevelSourceInfo>
- Inheritance
-
WaterLevelSourceInfo
- Implements
- Inherited Members
Constructors
WaterLevelSourceInfo(string, WaterLevelSourceKind, int?, string?, double?, string?)
Where a water-level series comes from.
public WaterLevelSourceInfo(string DatasetId, WaterLevelSourceKind Kind, int? VerticalDatum, string? StationId = null, double? DistanceMeters = null, string? GridCell = null)
Parameters
DatasetIdstringIdentifier of the S-104 dataset.
KindWaterLevelSourceKindGrid or station.
VerticalDatumint?The dataset's vertical datum as an S-100 register code, or
nullwhen it isn't declared (S-104 Ed 2.0.0 §5.2, Table 5-1).StationIdstringThe station identifier, for a station series.
DistanceMetersdouble?Distance from the sample point to the station, for a station series.
GridCellstringThe grid cell (
row,col), for a grid series.
Properties
DatasetId
Identifier of the S-104 dataset.
public string DatasetId { get; init; }
Property Value
DistanceMeters
Distance from the sample point to the station, for a station series.
public double? DistanceMeters { get; init; }
Property Value
GridCell
The grid cell (row,col), for a grid series.
public string? GridCell { get; init; }
Property Value
Kind
Grid or station.
public WaterLevelSourceKind Kind { get; init; }
Property Value
StationId
The station identifier, for a station series.
public string? StationId { get; init; }
Property Value
VerticalDatum
The dataset's vertical datum as an S-100 register code, or null
when it isn't declared (S-104 Ed 2.0.0 §5.2, Table 5-1).
public int? VerticalDatum { get; init; }
Property Value
- int?