- 将server-ip从192.168.1.41更改为192.168.1.5 - 移除WitsData模型中的actod_label字段 - 修改wits_sender.py中的actcod值为随机生成(1-34范围内) - 更新WITS数据包构建逻辑以使用动态actcod值 - 优化代码格式和错误消息显示 - 移除不必要的空行和导入语句
30 lines
758 B
YAML
30 lines
758 B
YAML
mqtt:
|
|
broker: tcp://192.168.1.87:1883
|
|
client-id: tms-client-dev
|
|
mock-client-id: tms-client-dev-mock
|
|
sender-client-id: tms-client-dev-sender
|
|
subscriber-client-id: tms-client-dev-subscriber
|
|
username: test
|
|
password: S55HtwFZvhf67VpS
|
|
# Server publishes here; mock service subscribes and ingests
|
|
pub-topic: rules_gj_jxjs_wtt
|
|
# Mock service forwards here for other subscribers
|
|
|
|
tms:
|
|
device-code: GJ-304-0088
|
|
equipment-sn: GJ-304-0088
|
|
timeout: 10
|
|
keepalive: 20
|
|
server-ip: 192.168.1.5
|
|
server-port: 9929
|
|
|
|
tdengine:
|
|
url: jdbc:TAOS-RS://192.168.1.87:6041/tms
|
|
username: root
|
|
password: wDvfFffdwbm5U15K
|
|
# If omitted, database is parsed from url path: /tms
|
|
database: tms
|
|
stable: drilling_realtime_st
|
|
device-code: GJ-304-0088
|
|
|