water company were able to connect their works with those mains and continue the efficiency of the service by the new works when in successful operation; and the successful erection of those works, and the accomplishment of the things required by the ordinance, were a condition to the sale of the mains.