Train_RFID_Linux/config/config.yaml

84 lines
1.6 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 基础控制参数
base:
# 股道名称
track_name: "001"
# 测试模式
test_model: false
# 连接模式 【0:网口1:串口】
connect_type: 0
# 是否上传识别结果
up_result: false
# 是否存在磁钢
have_magnet_steel: true
# 火车进厂的磁钢顺序
magnet_steel_order: "8421"
# 原始数据存储目录
rfid_path: "./rfid_logs"
# 日志文件目录
log_path: "./logs"
# 识别结果目录
result_path: "./result"
# 日志存储天数
result_save_days: 10
# 日志参数
log:
# 日志级别[DEBUG, INFO, WARN, ERROR, FATAL]
level: "DEBUG"
# 串口通讯
serial:
# 串口名
com_name: "com2"
# 波特率
baud: 19200
# 数据位
data_bits: 8
# 校验位
parity_bits: "N"
# 停止位
stop_bits: 1
# 网口通讯
ethernet:
# 串口服务器IP
ip: "172.22.64.1"
# 端口号
port: 7004
# http 接口
http_server:
# 使用状态
is_use: false
# 服务器IP
http_ip: 192.168.2.108
# 通讯端口
http_port: 20004
# 获取接口授权地址
token_path: "/api/blade-auth/oauth/token"
# 识别结果上传地址
up_result_path: "/api/train-carriage/identification/rfid-save"
# 设备状态上传地址
device_status_url: "/api/blade-train/deviceInfo/save"
# 接口用户名
username: "guest_01"
# 接口密码
password: "d55b0f642e817eea24725d2f2a31dd08"
# 视频识别辅助来车状态检测
video_auxiliary:
# 是否使用外部接口辅助开关识别
use_video_auxiliary: true
# IP
ip: "172.22.64.1"
# 端口号
port: 7005
# 延迟上传车节数
delayed_upload: 4
# 设备报警参数
device_warn:
# 最小识别车节数
min_train_size: 10