Functions
Functions define the logic that is required to fulfill a state for a CAE rule. This logic applies directly to the defined field operators and is used to represent "A and B and C" or "A and B but not C" attributes of an event that occurs on a device. This logic applies directly to the defined field operators within a state.
|
Function |
Description |
Example |
|---|---|---|
|
AND - & |
Two or more field operators must be matched to satisfy the state. |
a & b & c |
|
OR - | |
One of two or more field operators must be matched to satisfy the state. |
a | b | c |
|
NOT - ! |
A defined field operator must be false or not matched to satisfy the state. |
a & b & !c |
|
GROUP - () |
Field operators are grouped together to fulfill more complex logic requirements. |
(a & b) | (c & !d) |