smax-postgres v1.1
PostgreSQL / TimescaleDB logger for SMA-X
Loading...
Searching...
No Matches
Variable Struct Reference

#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 Variablenext
 Pointer to the next Variable in the linked list, 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

Detailed Description

Data for an SMA-X variable that is to be inserted into the PostgreSQL database


The documentation for this struct was generated from the following file: