dragonfly.implementations.sensor_logger module

Some template vars

Members: SensorLogger Functions: Classes:

sensor logger now as a service

Summary

class dragonfly.implementations.sensor_logger.SensorLogger(sensor_type_map_table, sensor_type_column_name='type', sensor_type_match_column='endpoint_name', data_tables_dict={}, **kwargs)

Bases: dripline.core.gogol.Gogol, dragonfly.implementations.postgres_interface.PostgreSQLInterface

Project 8 slow control table implementation

sensor_type_map_table (str): name of the child endpoint of this instance which provides access to the endpoint_id_map, which stores the sensor type sensor_type_column_name (str): name of the column to use for the return type (matched against keys in the data_tables_dict argument here) sensor_type_match_column (str): column against which to check for matches to the sensor name data_tables_dict (dict): dictionary mapping types (in the sensor_type_map_table) to child endpoints of this instance which provide access to the data_table for that type

add_endpoint(endpoint)
this_consume(message, basic_deliver)

End of modules condition

Data:

End of data condition