with means for regulating the current to solenoids