You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

102 lines
2.0 KiB
Plaintext

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/********************************************************************/
# ht61850.conf
# date : 2019.09.01
# auther : huatek by liuyx
# Copyright (C) 2018, huatek, Inc.
/********************************************************************/
[HT_MONITOR]
# server monitor flag, true: monitor, false:no monitor
monitor_enable = true
[HT_VERSION]
# server version info, max length=32(byte)
ht_server_version = 2020.06.11
[HT_LOCAL_HOST]
local_host_addr = 127.0.0.1
local_tcp_port = 2404
[HT_REMOTE_HOST]
# remote_host_addr = 192.168.1.20
remote_host_addr = 127.0.0.1
remote_host_port = 2404
[HT_SOCKET]
max_epoll_limit = 2000
timeout_t0 = 30
timeout_t1 = 15
timeout_t2 = 10
timeout_t3 = 20
iec_k = 8
iec_w = 3
# application database config parameter
[HT_DATABASE]
db_host_addr = 192.168.135.81
db_host_port = 3306
db_name = sjzd_1214
db_username = root
db_password = 123456
db_min_conn = 3
db_max_conn = 6
# UTF8 GBK
db_set_character = utf8
[HT_THREAD_NUMBER]
thread_recv_num = 2
thread_parse_num = 5
thread_opration_num = 3
thread_respone_num = 2
[HT_LOGGER]
#logger = console,debug,error,warning,package
logger = debug,error,warning
[MODBUS_CONF]
# RTU,TCP,ASC,IEC61850
modbus_mode = RTU
modbus_tcp_addr = 127.0.0.1
modbus_tcp_port = 1502
modbus_rtu_port = COM2
modbus_baud = 9600
# N-无 E-偶 O-奇校验
modbus_parity= N
modbus_databit=8
modbus_stopbit=1
# modbus TCP sftp username
modbus_sftp_user=debian
# modbus TCP sftp password
modbus_sftp_passwd=temppwd
# modbus采样时间(秒)
modbus_gather_time = 300
[HT61850_CONF]
# 模型配置文件,由scl_tool工具产生
ied_model_config_file = ../etc/sjzd.cfg
# 录波文件大小
ied_comtrad_file_size = 245760
# 服务器IED录播文件存放路径
ied_comtrade_path = /home/debian/my_task/comtrade/temp/
# 服务器录播文件下载后是否删除 true:删除false:保留
ied_comtrade_remove = true
# 本地录播文件存放路径
# comtrade_path = ../comtrad
comtrade_path = ../comtrad
#本地录播文件备份路径
# comtrade_bak_path = ../comtradbak
comtrade_bak_path = ../comtradbak