Switch installed in priming detector or valve, electrical signal is generated at the preset position.