Integrated electromagnetic flow meter