Flush tanks equipped for manual flushing shall be controlled by a device designed to refill the tank after each discharge and to shut off completely the water flow to the tank when the tank is filled to operational capacity. The trap seal to the fixture shall be automatically refilled after each flushing. The water supply to flush tanks equipped for automatic flushing shall be controlled with a timing device or sensor control devices.