同步镜像配置和温控档位

This commit is contained in:
2026-05-06 09:06:39 +08:00
parent ee7d1bdb8e
commit 51578fab40
3 changed files with 3 additions and 4 deletions
+2 -2
View File
@@ -25,9 +25,9 @@ class FanController:
:return: 对应的风扇转速百分比,如果应该切换到自动模式则返回-1
"""
if 0 < temperature <= 50:
return 15
elif 50 < temperature <= 55:
return 20
elif 50 < temperature <= 55:
return 25
elif 55 < temperature <= 60:
return 30
elif 60 < temperature <= 65: