Table of Contents

Class S111SpeedBandReader.SpeedBand

Namespace
EncDotNet.S100.Datasets.S111
Assembly
EncDotNet.S100.Datasets.S111.dll

A single speed band parsed from the XSLT lookup table.

public sealed record S111SpeedBandReader.SpeedBand : IEquatable<S111SpeedBandReader.SpeedBand>
Inheritance
S111SpeedBandReader.SpeedBand
Implements
Inherited Members

Constructors

SpeedBand(float, float, string, string, bool, float, string)

A single speed band parsed from the XSLT lookup table.

public SpeedBand(float Min, float Max, string ColorToken, string SymbolRef, bool ScaleByValue, float ScaleFactor, string Label)

Parameters

Min float

Inclusive lower bound (knots). 0.0 for an open-low band.

Max float

Exclusive upper bound (knots). MaxValue for an open-high band.

ColorToken string

S-100 colour token (e.g. SCBN1).

SymbolRef string

SVG symbol reference (e.g. SCAROW01).

ScaleByValue bool

Whether the symbol scales with the speed value.

ScaleFactor float

Scale factor; meaning depends on ScaleByValue.

Label string

Human-readable label, e.g. "0–0.5 kn" (em-dash).

Properties

ColorToken

S-100 colour token (e.g. SCBN1).

public string ColorToken { get; init; }

Property Value

string

Label

Human-readable label, e.g. "0–0.5 kn" (em-dash).

public string Label { get; init; }

Property Value

string

Max

Exclusive upper bound (knots). MaxValue for an open-high band.

public float Max { get; init; }

Property Value

float

Min

Inclusive lower bound (knots). 0.0 for an open-low band.

public float Min { get; init; }

Property Value

float

ScaleByValue

Whether the symbol scales with the speed value.

public bool ScaleByValue { get; init; }

Property Value

bool

ScaleFactor

Scale factor; meaning depends on ScaleByValue.

public float ScaleFactor { get; init; }

Property Value

float

SymbolRef

SVG symbol reference (e.g. SCAROW01).

public string SymbolRef { get; init; }

Property Value

string