Skip to content

LogicSwitch

LogicSwitch is an object type. You don't create it directly: you get one from another call, then call its methods with a colon, e.g. ls:name().

Methods

Function Description Since
name() Get / Set the logic switch name. 26.1.0
negative() Get / Set the logic switch negative attribute. 26.1.0
delayOff() Get / Set the logic switch delay OFF. 26.1.0
delayOn() Get / Set the logic switch delay ON. 26.1.0
maxDuration() Get / Set the logic switch max duration. 26.1.0
minDuration() Get / Set the logic switch min duration. 26.1.0
state() Get the logic switch state. 26.1.0
func() Get / Set the function of the logic switch. 26.1.0
activeCondition() Get / Set the active condition of the logic switch. 1.1.0
values() Get / Set the test values of the logic switch. 26.1.0