mirror of
https://git.beihong.wang/wangbeihong/iot-bedroom-environment-controller.git
synced 2026-04-23 16:33:04 +08:00
40 lines
959 B
C
40 lines
959 B
C
#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_NONE
|
|
};
|
|
|
|
// Native global variables
|
|
|
|
extern const char *get_var_time();
|
|
extern void set_var_time(const char *value);
|
|
extern const char *get_var_humity();
|
|
extern void set_var_humity(const char *value);
|
|
extern const char *get_var_light_value();
|
|
extern void set_var_light_value(const char *value);
|
|
extern const char *get_var_co2_value();
|
|
extern void set_var_co2_value(const char *value);
|
|
extern const char *get_var_voc_value();
|
|
extern void set_var_voc_value(const char *value);
|
|
extern const char *get_var_mode();
|
|
extern void set_var_mode(const char *value);
|
|
extern const char *get_var_tempture();
|
|
extern void set_var_tempture(const char *value);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /*EEZ_LVGL_UI_VARS_H*/ |