Table of Contents

Namespace Pamoja.Profile

Classes

Controller

The decision logic a profile assembles.

ElementSpec

A custom sensor or node stat a profile contributes to the dashboard.

LocalizedText

A piece of text a profile supplies for one of its codes: one string for every locale, or a map from locale tag to text.

Node

A profile assembled around the parts that make it run.

PolicyRegistry

What resolves a profile's control kind to the code that decides it: a built-in kind to its Controller, and a kind the library never shipped to the policy the factory registered under its name builds.

Presentation

How a profile presents itself on the dashboard: its custom elements, an optional theme, and the words for any state or event code it introduces.

Profile

A named, ready-to-run node assembled from pamoja capabilities.

RuleEngine

Runs a rule file off a link.

RuleEvaluator

The decisions a rule file makes, reading by reading, with no link and no outputs of its own.

RuleFired

What one rule did with one reading.

Theme

The theme tokens a profile sets on the dashboard; each is any CSS color.

Structs

Alert

An alert a reading raised.

ControlPolicy

A profile's control policy.

PowerSchedule

How often a node samples as its battery drains, in whole seconds.

Reaction

What a controller decided about one reading.

Reads

What a profile reads: the quantity its control decides on, and the unit its numbers are in, both lowercase words joined by underscores.

RuleAction

One thing a rule calls for, as the rule file writes it.

Tick

One reading a node took, and what its policy decided about it.

Interfaces

IPolicy

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

Enums

AlertKind

Which threshold a reading crossed.

ControlKind

Which control policy a profile applies to each reading.

RuleActionKind

What a rule calls for when its condition sets or clears.

Viz

The graphic a dashboard draws an element with, named by the instrument rather than the quantity. On the wire each is its lowercase name, as a manifest carries it.