baha
+1y
the third prong isn't used
your valves have a power and a ground, but if your asking about the 2 wires each switch one is power in, and the other is power out, so when you flip the switch it connects the power in to power out, and the out put goes to your valves. Alot of switch boxes have multiple wires coming off the switches though because each one is supposed to control certain valves for truck positions like (front up, rear up, rear down, pancake, right side up etc..)
good luck man, should be an easy fix, I would only rewire what ever valve isn't working it could be just a ground wire that came loose, usually thats what it is.