Legrand / Raritan / Server Technology Xerus™ JSON-RPC API
|
Condition is a logical combination of multiple events. More...
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. More... | |
Op | operation |
Logical operation to be applied. More... | |
MatchType | matchType |
Match type. More... | |
vector< string > | eventId |
Event ID. More... | |
vector< Condition > | conditions |
List of subordinate conditions. More... | |
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.
Definition at line 210 of file EventEngine.idl.
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) |
Definition at line 220 of file EventEngine.idl.
logical operation to be applied over all conditions and event
Enumerator | |
---|---|
AND | Logical And. |
OR | Logical Or. |
XOR | Exclusive Or. |
Definition at line 213 of file EventEngine.idl.
vector<Condition> event::Engine::Condition::conditions |
List of subordinate conditions.
Definition at line 230 of file EventEngine.idl.
vector<string> event::Engine::Condition::eventId |
Event ID.
Definition at line 229 of file EventEngine.idl.
MatchType event::Engine::Condition::matchType |
Match type.
Definition at line 228 of file EventEngine.idl.
boolean event::Engine::Condition::negate |
Negate the result.
Definition at line 226 of file EventEngine.idl.
Op event::Engine::Condition::operation |
Logical operation to be applied.
Definition at line 227 of file EventEngine.idl.