Text this: Real-time control of combined surface water quantity and quality