Well, fourteen years ago they were a sort-of motorised float device. The motor control winds the float up and down until a change in current in the motor windings relates to the actual position, and then the position is read from some device and converted to milliamps.
Ultrasonic would be a better technique these days, perhaps?
__________________
"Did you get my e-mail?" - "The biggest problem in communication is the illusion that it has taken place" - George Bernard Shaw, 1856