filling and draining at the touch of a button

Yes, that makes sense, I'm just thinking out loud. I guess i need to buy a flow sensor and play with it, I'm thinking my best solution will be to time the filling to a certain size (so if i wanted 3 settings 500lbs 750lbs and 1000lbs) I would just have a timer set for each setting to run the pump that long. I would get a base flow rating, and set a threshold for a warning message when the flow is under that rating ( maybe a filter is clogged or a impeller is getting worn on a pump) I'm hoping the flow sensor will work equally in forward or reverse which would make it easier to program.