What does ballcock mean?

ballcock meaning in General Dictionary

floating baseball that controls degree in a water tank