Table of Contents

Struct WaterLevelValue

Namespace
EncDotNet.S100.Datasets.S104
Assembly
EncDotNet.S100.Datasets.S104.dll

A single water level measurement containing height and trend.

public readonly struct WaterLevelValue
Inherited Members

Remarks

Matches the S-104 HDF5 compound type: waterLevelHeight (float32) + waterLevelTrend (uint8). Trend values: 0 = unknown/undetermined, 1 = decreasing, 2 = increasing, 3 = steady.

Constructors

WaterLevelValue(float, byte)

Initializes a new WaterLevelValue with the given height and trend.

public WaterLevelValue(float height, byte trend)

Parameters

height float
trend byte

Fields

Height

Height of the water level in metres relative to the vertical datum.

public readonly float Height

Field Value

float

Trend

Trend of the water level encoded as uint8: 0 = unknown/undetermined, 1 = decreasing, 2 = increasing, 3 = steady.

public readonly byte Trend

Field Value

byte