Legrand / Raritan / Server Technology Xerus™ PDU JSON-RPC API
|
Condition is a logical combination of multiple events. More...
import"EventEngine.idl";
Public Types | |
enum | Op { AND , OR , XOR } |
logical operation to be applied over all conditions and event More... | |
enum | MatchType { ASSERTED , DEASSERTED , BOTH } |
the match type how to match the event assertion state More... | |
Public Attributes | |
boolean | negate |
Negate the result. | |
Op | operation |
Logical operation to be applied. | |
MatchType | matchType |
Match type. | |
vector< string > | eventId |
Event ID. | |
vector< Condition > | conditions |
List of subordinate conditions. | |
Condition is a logical combination of multiple events.
Normally you should use STATE events in logical conditions. In case a TRIGGER event is part of a condition or logical operation it will per default be interpreted as deasserted. The TRIGGER will evaluate as asserted if that exact event was raised and is matched against the event rules. In some sense the 'assertion state' of the TRIGGER is true only at the moment the Event exists and set to false again once it passed.