Sprinkler control system