two-way flow sensor