By implementing automatic transfer switches in pump systems, system reliability, flexibility and safety can be improved. It can ensure that the pump system can continue to supply water or liquid in the event of power failure, avoiding interruption and loss. At the same time, the automatic transfer switch can also conveniently switch the control mode and monitor the normal operation of the alarm system, improving the efficiency and controllability of the pump system.