feat(wits): 添加WITS TCP发送功能和配置重构
- 新增WitsConfig数据类用于WITS配置管理 - 在AppConfig中集成wits配置选项 - 重命名dependencies.py为config.py并重构配置加载逻辑 - 移除db/config.py文件中的TDengine配置相关代码 - 创建新的model.py文件定义MqttConfig、TmsConfig和TdengineConfig模型 - 更新MQTT模块导入路径从config.dependencies到config.config - 添加WITS发送器脚本wits_sender.py实现TCP数据包发送 - 在README.md中添加WITS发送器使用说明和配置选项 - 添加WITS样本数据文件data/wits_sample.txt - 添加requirements.md文档说明项目需求
This commit is contained in:
47
data/wits_sample.txt
Normal file
47
data/wits_sample.txt
Normal file
@@ -0,0 +1,47 @@
|
||||
&&
|
||||
01GJ-304-0088
|
||||
020
|
||||
030
|
||||
041
|
||||
0520250312.00
|
||||
6120000.00
|
||||
70
|
||||
80.00
|
||||
90.00
|
||||
100.00
|
||||
110.00
|
||||
120.00
|
||||
130.00
|
||||
140.00
|
||||
150.00
|
||||
160.00
|
||||
170.00
|
||||
180.00
|
||||
190.00
|
||||
200
|
||||
210.00
|
||||
220.00
|
||||
230
|
||||
240
|
||||
250
|
||||
260.00
|
||||
270.00
|
||||
280
|
||||
290.00
|
||||
300.00
|
||||
310.00
|
||||
320.00
|
||||
330.00
|
||||
340.00
|
||||
350.00
|
||||
360.00
|
||||
370
|
||||
380
|
||||
390.00
|
||||
400.00
|
||||
410.00
|
||||
420.00
|
||||
430.00
|
||||
440.00
|
||||
450.00
|
||||
!!
|
||||
Reference in New Issue
Block a user