How to query the historical flow data of the electromagnetic flow meter?