Either would do but in this case 24v ac 1/2 wave would barely provide enough input for the voltage regulator so as you say Les it must be 24v dc