...
The types of boolean operations currently available are:
- Boolean OROR
NB: Operations are unaware of other operations, which have two major consequences:
- Operations cannot be chained: the output of an operation cannot be used as the input of another.
- If multiple operations are defined on the same status point, they will overwrite each other's results.
Operation on input that is not the output:
...
The following attributes are read from the Exchanged data configuration:
- An array of operations that will generate the current status point as output
- For each operation:
- The type of operation
- The list of inputs status points (Pivot ID)
...
R1 : Only status points with a Pivot ID that appear in as input of at least one of the operations are processed.
...
- PIVOT.GTIS.SpsTyp.stVal => input value in bool format [0-1]
- PIVOT.GTIS.DpsTyp.stVal => input value in enum format ("intermediate-state" | "off" | "on" | "bad-state")
Output
The input datapoint status point is forwarded unchanged or deleted based on rule R3.
For each operation having the received status point as one of its input, generate a new status point as described below.
The value of the status point received is converted internally as follow based on the operation type to become the operation input value :
...
- OR: Compute the logical OR of all operation input values ; defined as "(0 if all inputs are 0, else 1").
If one of the inputs was never received, assume its value is 0.
A new data status points is generated with the following format based on the operation output data point type :
...