Umstrukuriert/windows-app hinzugefügt
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
#ifndef EEZ_LVGL_UI_VARS_H
|
||||
#define EEZ_LVGL_UI_VARS_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
// enum declarations
|
||||
|
||||
|
||||
|
||||
// Flow global variables
|
||||
|
||||
enum FlowGlobalVariables {
|
||||
FLOW_GLOBAL_VARIABLE_PM1P0 = 0,
|
||||
FLOW_GLOBAL_VARIABLE_PM2P5 = 1,
|
||||
FLOW_GLOBAL_VARIABLE_PM4P0 = 2,
|
||||
FLOW_GLOBAL_VARIABLE_PM10P0 = 3,
|
||||
FLOW_GLOBAL_VARIABLE_VOC_IND = 4,
|
||||
FLOW_GLOBAL_VARIABLE_HUMIDITY = 5,
|
||||
FLOW_GLOBAL_VARIABLE_TEMP = 6
|
||||
};
|
||||
|
||||
// Native global variables
|
||||
|
||||
extern const char *get_var_pm1p0();
|
||||
extern void set_var_pm1p0(const char *value);
|
||||
extern const char *get_var_pm2p5();
|
||||
extern void set_var_pm2p5(const char *value);
|
||||
extern const char *get_var_pm4p0();
|
||||
extern void set_var_pm4p0(const char *value);
|
||||
extern const char *get_var_pm10p0();
|
||||
extern void set_var_pm10p0(const char *value);
|
||||
extern const char *get_var_voc_ind();
|
||||
extern void set_var_voc_ind(const char *value);
|
||||
extern const char *get_var_humidity();
|
||||
extern void set_var_humidity(const char *value);
|
||||
extern const char *get_var_temp();
|
||||
extern void set_var_temp(const char *value);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /*EEZ_LVGL_UI_VARS_H*/
|
||||
Reference in New Issue
Block a user