CNC Auto Transfer Switch for Reliable Power Management