LogicOperatorConditionParameters

data class LogicOperatorConditionParameters(val logicOperator: LogicOperator, val selectedRules: Set<Int>, val negatedRules: Set<Int>, val actionDelay: Int?, val returnDelay: Int?) : ConditionParameters

Parameters of a logic operator condition.

Combines the states of other rules with logicOperator. Only rules with a lower Rule.id than the rule being configured can be used as inputs, which is what makes nesting possible. An action runs both when the combined state becomes true and when it stops being true.

Constructors

Link copied to clipboard
constructor(logicOperator: LogicOperator, selectedRules: Set<Int>, negatedRules: Set<Int>, actionDelay: Int?, returnDelay: Int?)

Properties

Link copied to clipboard

How long the combined state has to hold before the action runs, counted from the moment it becomes true. The wait restarts if it stops holding. Range: 0:864000, where 0 means no delay.

Link copied to clipboard

Operator applied to the selected rules.

Link copied to clipboard

Ids among selectedRules whose state is inverted before the operator is applied.

Link copied to clipboard

How long the combined state has to stay false before the return action runs. Range: 0:864000, where 864000 suppresses the return action entirely.

Link copied to clipboard

Ids of the rules used as inputs.