能用,自动没测,不想改了,崩溃了

This commit is contained in:
Wang Beihong
2026-03-31 21:52:29 +08:00
parent f0ac50642d
commit f8c7706c11
32 changed files with 15324 additions and 12035 deletions

View File

@@ -17,3 +17,8 @@ device_message_t g_device_message;
float g_temperature_threshold = 28.0f;
bool g_cooling_mode_enabled = false;
bool g_high_temp_alerted = false;
// 时间段配置(昼间/夜间)
time_period_config_t g_day_period = {.start_hour = 8, .start_minute = 0, .end_hour = 20, .end_minute = 0};
time_period_config_t g_night_period = {.start_hour = 20, .start_minute = 0, .end_hour = 8, .end_minute = 0};
bool g_use_time_period = false; // 是否启用时间段控制