Table of Contents

Class RuleFired

Namespace
Pamoja.Profile
Assembly
Pamoja.Profile.dll

What one rule did with one reading.

public sealed record RuleFired : IEquatable<RuleFired>
Inheritance
RuleFired
Implements
Inherited Members

Constructors

RuleFired(string, Edge, float, IReadOnlyList<RuleAction>)

What one rule did with one reading.

public RuleFired(string Rule, Edge Edge, float Reading, IReadOnlyList<RuleAction> Actions)

Parameters

Rule string

The rule's name.

Edge Edge

Whether its condition set or cleared.

Reading float

The reading that did it.

Actions IReadOnlyList<RuleAction>

What the rule calls for on this edge: its then actions when it set and its otherwise actions when it cleared, in the order the file gives them.

Properties

Actions

What the rule calls for on this edge: its then actions when it set and its otherwise actions when it cleared, in the order the file gives them.

public IReadOnlyList<RuleAction> Actions { get; init; }

Property Value

IReadOnlyList<RuleAction>

Edge

Whether its condition set or cleared.

public Edge Edge { get; init; }

Property Value

Edge

Reading

The reading that did it.

public float Reading { get; init; }

Property Value

float

Rule

The rule's name.

public string Rule { get; init; }

Property Value

string