How Automatic Transfer Switch Works