Legrand / Raritan / Server Technology Xerus™ PDU JSON-RPC API
Loading...
Searching...
No Matches
Public Attributes | List of all members
peripheral::GatewaySensorManager::InterpretationRule Struct Reference

InterpretationRule defines a rule that is applied to a reading, resulting in an Interpretation. More...

Inheritance diagram for peripheral::GatewaySensorManager::InterpretationRule:
peripheral::GatewaySensorManager::InterpretationRuleCatchAll peripheral::GatewaySensorManager::InterpretationRuleInvertable peripheral::GatewaySensorManager::InterpretationRuleIEEE754INF peripheral::GatewaySensorManager::InterpretationRuleIEEE754NAN peripheral::GatewaySensorManager::InterpretationRuleModbusException peripheral::GatewaySensorManager::InterpretationRuleModbusSpecificError peripheral::GatewaySensorManager::InterpretationRuleModbusSystemError peripheral::GatewaySensorManager::InterpretationRuleRAW peripheral::GatewaySensorManager::InterpretationRuleRangeRAW

Public Attributes

Interpretation interpretation
 how to interpret the applied rule
 
int ignoreTimeout
 if > 0, ignoring stops after this timeout (seconds), and state changes to unavailable
 

Detailed Description

InterpretationRule defines a rule that is applied to a reading, resulting in an Interpretation.

A list of InterpretationRule is applied in the given order, and stopped after the first match. If no rule applies, the interpretation is Interpretation::DEFAULT.


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