ac to dc power supply block switch