Object-Oriented Design of Measurement Systems