config: 更新服务器IP配置并优化WITS数据发送逻辑

- 将server-ip从192.168.1.41更改为192.168.1.5
- 移除WitsData模型中的actod_label字段
- 修改wits_sender.py中的actcod值为随机生成(1-34范围内)
- 更新WITS数据包构建逻辑以使用动态actcod值
- 优化代码格式和错误消息显示
- 移除不必要的空行和导入语句
This commit is contained in:
2026-03-17 16:06:09 +08:00
parent be6544fdfe
commit 8f7a257aa9
3 changed files with 7 additions and 7 deletions

View File

@@ -15,7 +15,7 @@ tms:
equipment-sn: GJ-304-0088
timeout: 10
keepalive: 20
server-ip: 192.168.1.41
server-ip: 192.168.1.5
server-port: 9929
tdengine: