NSEU is correct.
The operation is through a simple electrical circuit, no electronics involved. The flaps up/not up switch is open when the flaps are up. When not up the switch provides a ground to a relay that de-energizes another relay that creates a open circuit to the B solenoid in the flow control and shutoff valve which controls high/normal flow modes.