Table of Contents

Interface IPolicy

Namespace
Pamoja.Profile
Assembly
Pamoja.Profile.dll

What decides each reading: a profile's built-in Controller, or a policy of the program's own.

public interface IPolicy

Remarks

A policy of the program's own raises its own conditions as an Alert of kind Custom with a code and a value.

Methods

Evaluate(float)

Decides what one reading calls for.

Reaction Evaluate(float reading)

Parameters

reading float

The reading, in the unit the profile reads.

Returns

Reaction

The output setting, if any, and the alert the reading raised.