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:
@@ -47,7 +47,6 @@ class WitsData:
|
||||
actual_time: int
|
||||
actual_ts: int
|
||||
actcod: int
|
||||
actod_label: str
|
||||
deptbitm: float
|
||||
deptbitv: float
|
||||
deptmeas: float
|
||||
|
||||
Reference in New Issue
Block a user