Table of Contents

Class SymbolBand

Namespace
EncDotNet.S100.Pipelines.Coverage
Assembly
EncDotNet.S100.Core.dll

A single band in a coverage symbol scheme, mapping a value range to a symbol reference with scaling behaviour.

public sealed class SymbolBand
Inheritance
SymbolBand
Inherited Members

Properties

Label

Optional legend label for the band, or null.

public string? Label { get; init; }

Property Value

string

MaxValue

Upper bound of the band (exclusive), in the value field's units.

public required float MaxValue { get; init; }

Property Value

float

MinValue

Lower bound of the band (inclusive), in the value field's units.

public required float MinValue { get; init; }

Property Value

float

ScaleByValue

When true, the symbol scale is computed as ScaleFactor × value. When false, ScaleFactor is a fixed scale.

public bool ScaleByValue { get; init; }

Property Value

bool

ScaleFactor

Either the fixed scale factor or the per-unit multiplier (depending on ScaleByValue).

public float ScaleFactor { get; init; }

Property Value

float

SymbolRef

Symbol reference name (e.g. "SCAROW01").

public required string SymbolRef { get; init; }

Property Value

string

Methods

ScaleFor(float)

The symbol scale for value: ScaleFactor × value when ScaleByValue is set, otherwise ScaleFactor.

public double ScaleFor(float value)

Parameters

value float

The value that selected this band.

Returns

double