Table of Contents

Struct PamojaControlSpec

Namespace
Pamoja.Native.Interop
Assembly
Pamoja.Native.dll

A control policy, flattened so every variant crosses as one value.

public struct PamojaControlSpec
Inherited Members

Remarks

Only the fields belonging to Kind carry meaning; the rest are zero.

Fields

Cooling

Whether the output cools rather than heats, for a setpoint policy.

public byte Cooling

Field Value

byte

Empty

The level treated as empty, for a level policy.

public float Empty

Field Value

float

Hysteresis

Half the deadband width, for a setpoint policy.

public float Hysteresis

Field Value

float

Kind

Which policy this describes.

public PamojaControlKind Kind

Field Value

PamojaControlKind

Limit

The largest safe change per sample, for a surge policy.

public float Limit

Field Value

float

Rising

Whether a rise rather than a fall is watched, for a surge policy.

public byte Rising

Field Value

byte

SafeBand

How far the reading may stray before an alert, for a setpoint policy.

public float SafeBand

Field Value

float

Setpoint

The target reading, for a setpoint policy.

public float Setpoint

Field Value

float

WarnWithin

How many samples ahead to warn, for a level policy.

public uint WarnWithin

Field Value

uint