mirror of
https://github.com/lkddi/dell-fans-controller-docker.git
synced 2026-05-18 21:57:29 +08:00
同步镜像配置和温控档位
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user