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.
iec104/etc/ht_service.conf

57 lines
1.1 KiB
Plaintext

/********************************************************************/
# ht_service.conf
# date : 2018.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 = 2019.06.11
[HT_LOCAL_HOST]
local_host_addr = 0.0.0.0
local_tcp_port = 2405
[HT_REMOTE_HOST]
#remote_host_addr = 192.168.1.1
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.128.86
db_host_addr = 127.0.0.1
db_host_port = 3306
db_name = iec104
db_username = cac
db_password = Cac@4321
db_min_conn = 5
db_max_conn = 8
[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 = error,warning
[HT_BUSINESS]
parse_busi_data = 1