Function Of Automatic Transfer Switch