design and construction of an automatic alarm change over switch for a 300kva generator