Add "gui_type" parameter
Add InputSwitch base class and make WIDigitalBP inherit from it