IOT Dash
Public Member Functions | Package Functions | Properties | List of all members
IotDash.Services.Evaluation.InterfaceEvaluator Class Reference
Inheritance diagram for IotDash.Services.Evaluation.InterfaceEvaluator:
Inheritance graph
[legend]
Collaboration diagram for IotDash.Services.Evaluation.InterfaceEvaluator:
Collaboration graph
[legend]

Public Member Functions

 InterfaceEvaluator (IotInterface iface, IServiceScope scope)
 
async Task Update ()
 
void Dispose ()
 
- Public Member Functions inherited from IotDash.Domain.Mediator.ITarget< string, MqttApplicationMessage >
Task OnReceive (object? sender, TMsg message)
 
TValue GetValue (string topic)
 
DateTime GetNow ()
 

Package Functions

bool Evaluate ()
 
bool Evaluate (IInterfaceEvaluationContext context)
 

Properties

double? Value = null [get]
 

Member Function Documentation

◆ Evaluate() [1/2]

bool IotDash.Services.Evaluation.InterfaceEvaluator.Evaluate ( )
package

Evaluate the interface and store the result in Value.

Returns
True if value has changed.

◆ Evaluate() [2/2]

bool IotDash.Services.Evaluation.InterfaceEvaluator.Evaluate ( IInterfaceEvaluationContext  context)
inlinepackage

Evaluate the interface and store the result in Value.

Returns
True if value has changed.

◆ Update()

async Task IotDash.Services.Evaluation.InterfaceEvaluator.Update ( )
inline

Evaluate and publish change

Returns
Task that completes when published.

The documentation for this class was generated from the following file: