VAC wires from sensor and other

Hi all!

I am looking to install my rachio 3 from existing hunter irrigation controller. I cant seem to understand why there is two black wires from the common main with all the zones attached to each VAC. And if these need to be attached to the rachio

Then theres two orange wires from the hunter wireless sensor attached to each VAC (guessing this powers it) but cant seem to figure if it matters which wire goes to the 24 vac + or negative spot.


Any advice will be eternally welcome!!!
Thanks all!!