# logic::ISW

    sys::Obj
      sys::Virtual
        sys::Component
          logic::ISW

`public class ISW` `[niagaraIcon="module://icons/x16/control/util/switch.png"]`

ISW Integer Switch object

out = s1 ? in2 : in1

in1

  `public property int in1`

  input 1

in2

  `public property int in2`

  input 2

out

  `public property int out [readonly]`

  out = s1 ? in2 : in1

s1

  `public property bool s1`

  switch input

execute

  `public virtual override void execute()`

  Execute is called once every scan.