the gates have two locks and two diversion dams on the river