Table of Contents

Struct PamojaReaction

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

What a controller decided about one reading.

public struct PamojaReaction
Inherited Members

Remarks

Only the field belonging to Alert carries meaning; the rest are zero.

Fields

Actuator

The setting the output should take, when HasActuator is nonzero.

public byte Actuator

Field Value

byte

Alert

Which threshold the reading crossed.

public PamojaAlertKind Alert

Field Value

PamojaAlertKind

HasActuator

Whether the profile drives an output at all.

public byte HasActuator

Field Value

byte

Rate

The change since the previous sample, for a changing-fast alert.

public float Rate

Field Value

float

Reading

The offending reading, for an out-of-range alert.

public float Reading

Field Value

float

Samples

The estimated samples until empty, for a running-out alert.

public uint Samples

Field Value

uint