游戏节点配置嵌入在一个配置文件中

This commit is contained in:
2024-12-10 16:41:16 +08:00
parent 37fb40672a
commit 193fa806c2
9 changed files with 85 additions and 34 deletions

View File

@@ -1,6 +1,7 @@
location: wushan
point: 0
point: 5
relay: COM7
maxTimeout: 60 # 单位 s
log:
level: debug
file:
@@ -18,13 +19,13 @@ aliyun:
timeout: 10 # 单位 s
voice: zhifeng_emo
game:
maxTimeout: 60 # s
cardGroups:
- name: gpiochip0
outOK: 6
lower: 13
error: 19
empty: 26
push: 11
reset: 22
pull: 27
url: rtu:///dev/ttyUSB0 # 5 的串口地址
# cardGroups: # 点位 4 的发卡器配置
# - name: gpiochip0
# outOK: 6
# lower: 13
# error: 19
# empty: 26
# push: 11
# reset: 22
# pull: 27