![]() |
smax-postgres v0.9
PostgreSQL / TimescaleDB logger for SMA-X
|
#include <smax-postgres.h>
Data Fields | |
| XField | field |
| SMA-X field data. | |
| time_t | grabTime |
| (s) UNIX time when data was grabbed / or scheduled to be grabbed | |
| char * | id |
| SMA-X variable id. | |
| struct Variable * | next |
| Pointer to the next Variable in the linked lisr, or NULL if no more. | |
| int | sampling |
| sampling step for array data (sampling every n values only) | |
| char * | unit |
| Physical unit name (if any) | |
| time_t | updateTime |
| (s) UNIX time when variable was last updated in SMA-X | |
Data for an SMA-X variable that is to be inserted into the PostgreSQL database