State Machine to manage a two pump sprinkler system