dual function pressure switch