自定义映射
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
BASE_DIR="{base_dir}"
|
||||
PYTHON_PATH="{python_path}"
|
||||
|
||||
# 设备列表: ID 名称 协议
|
||||
# 设备列表: ID 名称 监听协议 设备协议
|
||||
DEVICES=(
|
||||
{device_defs}
|
||||
)
|
||||
|
||||
@@ -14,7 +14,7 @@ TMS_SERVER_IP = '{tms_server_ip}'
|
||||
TMS_PORT = {listen_port}
|
||||
UPC_DEV_IP = '{upc_ip}'
|
||||
UPC_DEV_PORT = '{upc_port}'
|
||||
SENDER_FILE = '{base_dir}/bin/sender_tcp.py'
|
||||
SENDER_FILE = '{sender_file}'
|
||||
LOG_FILE = '{base_dir}/log/{device_id}.log'
|
||||
PYTHON_PATH = '{python_path}'
|
||||
DEVICE_ID = '{device_id}'
|
||||
|
||||
@@ -14,7 +14,7 @@ TMS_SERVER_IP = '{tms_server_ip}'
|
||||
TMS_PORT = {listen_port}
|
||||
UPC_DEV_IP = '{upc_ip}'
|
||||
UPC_DEV_PORT = {upc_port}
|
||||
SENDER_FILE = '{base_dir}/bin/sender_udp.py'
|
||||
SENDER_FILE = '{sender_file}'
|
||||
LOG_FILE = '{base_dir}/log/{device_id}.log'
|
||||
PYTHON_PATH = '{python_path}'
|
||||
DEVICE_ID = '{device_id}'
|
||||
|
||||
Reference in New Issue
Block a user