修改一下模型相关

This commit is contained in:
2025-09-24 12:42:13 +08:00
parent 41e14ec828
commit 670b86d200
3 changed files with 92 additions and 149 deletions

View File

@@ -872,6 +872,12 @@ void handleSetSettings() {
prefs.putFloat("min_temp", minTemp);
prefs.putFloat("max_temp", maxTemp);
Serial.printf("温度设置已更新 - 最低: %.1f°C, 最高: %.1f°C\n", minTemp, maxTemp);
// 温度设置更改后立即执行一次判断
Serial.println("温度设置已更改,立即执行核心判断...");
executeJudgeLogic();
server.send(200, "application/json", "{\"success\":true}");
}