Skip to main content

Valid Processed Measurement Module

The file shows the functions that register and request data related to the Valid Processed Measurement table.

valid_processed_measurement.getValidProcessedMeasurementsTimePeriod()#

Lists all measurements of valid processed measurement table in a define period of time and company

Parameters:

  • qhawax_id (integer) - qHAWAX ID

  • initial_timestamp (timestamp without timezone) - timestamp day-month-year hour:minute:second (UTC OO)

  • final_timestamp (timestamp without timezone) - timestamp day-month-year hour:minute:second (UTC OO)

valid_processed_measurement.getValidProcessedData()#

Lists all measurements of valid processed measurement table record the last N minutes

Parameters:

  • qhawax_id (integer) - qHAWAX ID

  • interval_minutes (integer) - the last N minutes we want it

valid_processed_measurement.getTimeOfValidProcessed()#

Gets the time of the last record in valid processed measurement table

If this qHAWAX does not exist, returns []

Parameters:

  • name (string) - qHAWAX name