Legrand / Raritan / Server Technology Xerus™ PDU JSON-RPC API
Public Types | Public Attributes | List of all members
event::Engine::Condition Struct Reference

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< Conditionconditions
 List of subordinate conditions.
 

Detailed Description

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.

Member Enumeration Documentation

◆ MatchType

the match type how to match the event assertion state

Enumerator
ASSERTED 

Match if the event is asserted.

DEASSERTED 

Match if the event is deasserted.

BOTH 

Match both (for trigger events)

◆ Op

logical operation to be applied over all conditions and event

Enumerator
AND 

Logical And.

OR 

Logical Or.

XOR 

Exclusive Or.


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