Which device can be used as switch and as well as protective device ?