style: normalize configuration comments

This commit is contained in:
way
2026-09-27 20:24:33 +08:00
parent 1e05ccd08d
commit e6888c1600
2 changed files with 26 additions and 26 deletions
+1 -1
View File
@@ -7,6 +7,6 @@ cd6bb5137dd5922e48866f6daf4b949a16f8fad321e77addd5b4f75181bc4248 uninstall.sh
93c8e57569d90cf34bc8844d8e7d951da0704189324eddcc65e4232487d362ce app/runtime.py
e5153007a3562dc48468c6cee74de55de35844fc1e0e4d0cf00feb696991e14f app/service.py
5b16bb49bca6d4a37730ff564143f0f4d5ee73ff391bd79c983c29bc92fdcf66 app/settings.py
743195ac2ca2b7656388ba0b461072fd91bad5492264a79c2466a40e839de36d config/pigway-cooling-hat.conf
6440b23fb71a646ed7bb600471457147a6ed7bc850434dfff445c001c96a9480 config/pigway-cooling-hat.conf
c373cdde2b937bbc58d4b227f3a1d2923f0816c13f1e34548ed1f3b26c101ed5 systemd/pigway-cooling-hat.service
fa7ab991a7a39cce72b218e407dcefbcede99c8d8eb3d9c161a5296d506c41a9 docs/HARDWARE_PLUGIN_API.md
+25 -25
View File
@@ -29,25 +29,25 @@ alert_mode = breathe
normal_mode = off
# 正常灯效颜色 / Normal effect color; red/green/blue/yellow/purple/cyan/white
normal_effect_color = green
# 正常灯效速度档 / Normal effect speed; 1..3
# 正常灯效速度档 / Normal effect speed; 1..3
normal_effect_speed = 2
# 自定义闪烁最小保持 / Minimum custom flash hold; 1500..60000 ms
custom_min_hold_ms = 1500
# 内置效果指令间隔 / Built-in effect command gap; 1..1000 ms
write_delay_ms = 10
# 普通呼吸速度档 / Warning breathing speed; 1..3
# 普通呼吸速度档 / Warning breathing speed; 1..3
warning_speed = 1
# 普通告警亮灯时间 / Warning flash on; 50..60000 ms
warning_flash_on_ms = 1500
# 普通告警灭灯时间 / Warning flash off; 50..60000 ms
warning_flash_off_ms = 1500
# 严重呼吸速度档 / Critical breathing speed; 1..3
# 严重呼吸速度档 / Critical breathing speed; 1..3
critical_speed = 2
# 严重告警亮灯时间 / Critical flash on; 50..60000 ms
critical_flash_on_ms = 1500
# 严重告警灭灯时间 / Critical flash off; 50..60000 ms
critical_flash_off_ms = 1500
# 紧急呼吸速度档 / Emergency breathing speed; 1..3
# 紧急呼吸速度档 / Emergency breathing speed; 1..3
emergency_speed = 3
# 紧急告警亮灯时间 / Emergency flash on; 50..60000 ms
emergency_flash_on_ms = 1500
@@ -57,45 +57,45 @@ emergency_flash_off_ms = 1500
normal_flash_on_ms = 1500
# 正常闪烁灭灯时间 / Normal flash off; 50..60000 ms
normal_flash_off_ms = 1500
# 处理器 · R / Cpu · R; 0..255
# 处理器 · R / Cpu · R; 0..255
cpu_r = 255
# 处理器 · G / Cpu · G; 0..255
# 处理器 · G / Cpu · G; 0..255
cpu_g = 0
# 处理器 · B / Cpu · B; 0..255
# 处理器 · B / Cpu · B; 0..255
cpu_b = 0
# 电源 · R / Power · R; 0..255
# 电源 · R / Power · R; 0..255
power_r = 255
# 电源 · G / Power · G; 0..255
# 电源 · G / Power · G; 0..255
power_g = 40
# 电源 · B / Power · B; 0..255
# 电源 · B / Power · B; 0..255
power_b = 0
# 内存 · R / Memory · R; 0..255
# 内存 · R / Memory · R; 0..255
memory_r = 255
# 内存 · G / Memory · G; 0..255
# 内存 · G / Memory · G; 0..255
memory_g = 0
# 内存 · B / Memory · B; 0..255
# 内存 · B / Memory · B; 0..255
memory_b = 255
# 存储 · R / Storage · R; 0..255
# 存储 · R / Storage · R; 0..255
storage_r = 255
# 存储 · G / Storage · G; 0..255
# 存储 · G / Storage · G; 0..255
storage_g = 255
# 存储 · B / Storage · B; 0..255
# 存储 · B / Storage · B; 0..255
storage_b = 255
# 网络 · R / Network · R; 0..255
# 网络 · R / Network · R; 0..255
network_r = 0
# 网络 · G / Network · G; 0..255
# 网络 · G / Network · G; 0..255
network_g = 0
# 网络 · B / Network · B; 0..255
# 网络 · B / Network · B; 0..255
network_b = 255
# 服务 · R / Service · R; 0..255
# 服务 · R / Service · R; 0..255
service_r = 0
# 服务 · G / Service · G; 0..255
# 服务 · G / Service · G; 0..255
service_g = 255
# 服务 · B / Service · B; 0..255
# 服务 · B / Service · B; 0..255
service_b = 96
# 正常 · R / Normal · R; 0..255
# 正常 · R / Normal · R; 0..255
normal_r = 0
# 正常 · G / Normal · G; 0..255
# 正常 · G / Normal · G; 0..255
normal_g = 0
# 正常 · B / Normal · B; 0..255
# 正常 · B / Normal · B; 0..255
normal_b = 0