Skip to content

Module thc_MultiBinarySwitch

Andreas Drollinger edited this page Jan 3, 2020 · 1 revision

Multi binary switch devices

Setup, configuration and initialization

Introduction

The multi binary switch device allows controlling multiple binary switch devices as a single multi-level switch. The binary switch devices have already to be defined.

Examples

 thc::DefineDevice FanCellar,state \
    -name FanCellar -group  -type switch \
    -get {thc_MultiBinarySwitch {FanCellarSW1,state FanCellarSW2,state}} \
    -set {thc_MultiBinarySwitch {FanCellarSW1,state FanCellarSW2,state}}