Distributed measurement systems: an object-oriented architecture and a case study