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

@@ -47,7 +47,6 @@ class WitsData:
actual_time: int
actual_ts: int
actcod: int
actod_label: str
deptbitm: float
deptbitv: float
deptmeas: float