hamqtt中增加今日耗电量,昨日耗电量两个传感器

This commit is contained in:
Your Name
2025-03-09 00:24:27 +08:00
parent c02678849f
commit 2b25b497e9
3 changed files with 105 additions and 10 deletions

View File

@@ -61,6 +61,8 @@ typedef struct
char ap_name[32];
char ap_key[32];
int task_count;
uint32_t p_count_2_days_ago;
uint32_t p_count_1_day_ago;
pTimedTask task_top;
struct TimedTask timed_tasks[MAX_TASK_NUM];
} user_config_t;