381
edits
(Logic) |
|||
Line 231: | Line 231: | ||
<max>30</max> | <max>30</max> | ||
== logic == | |||
The logic controller provides a simple way of creating property values from the result of the condition expression in the <input> element. The condition expression is evaluated once per iteration and the result is written as a boolean value to the named output property or properties. An optional <inverted> element inverts the logic. The default is "not inverted". | |||
Example: output = not( ( a is true ) or ( ( b greater than c ) and ( d is true ) ) | |||
<logic> | |||
<inverted>true</inverted> | |||
<input> | |||
<property>a</property> | |||
<or> | |||
<greater-than> | |||
<property>b</property> | |||
<property>c</property> | |||
<greater-than> | |||
<property>d</property> | |||
</or> | |||
</input> | |||
<output>output</output> | |||
</logic> | |||
== filter == | == filter == | ||