Table of Contents

Struct Alert

Namespace
Pamoja.Profile
Assembly
Pamoja.Profile.dll

An alert a reading raised.

public readonly record struct Alert : IEquatable<Alert>
Implements
Inherited Members

Remarks

Only the value belonging to Kind is set.

Constructors

Alert(AlertKind, float?, uint?, float?)

An alert a reading raised.

public Alert(AlertKind Kind, float? Reading, uint? Samples, float? Rate)

Parameters

Kind AlertKind

Which threshold the reading crossed.

Reading float?

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

Samples uint?

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

Rate float?

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

Remarks

Only the value belonging to Kind is set.

Properties

Kind

Which threshold the reading crossed.

public AlertKind Kind { get; init; }

Property Value

AlertKind

Rate

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

public float? Rate { get; init; }

Property Value

float?

Reading

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

public float? Reading { get; init; }

Property Value

float?

Samples

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

public uint? Samples { get; init; }

Property Value

uint?