This really should not have been an emergency if the system was designed correctly.  A critical pump like this should be a duplex installation (two pumps that take turns with the service with an alarm if/when one fails).  If not a duplex pump, then they should have all spares required for any emergency or a new/rebuilt pump sitting in storage ready to install if there is a problem.