add filter test case

This commit is contained in:
2026-06-09 16:46:07 +08:00
parent 9f034d1105
commit 694321b52c
2 changed files with 354 additions and 4 deletions

View File

@@ -22,8 +22,8 @@ class zmqServer(threading.Thread):
self.host = host
test_host = "10.200.27.140"
self.host = test_host
# test_host = "10.200.27.140"
# self.host = test_host
self.cmd_port = cmd_port # 命令交互端口收JSON命令 + 返JSON结果
self.data_port = data_port # 数据交互端口:收二进制原始脑电 + 返二进制滤波结果
@@ -197,8 +197,7 @@ class zmqServer(threading.Thread):
b"",
send_buf
])
algo_log(f"发送滤波数据成功,长度: {len(send_buf)}字节", level="DEBUG", record_once=True)
except Exception as e:
algo_log(f"发送滤波数据失败: {e}", level="ERROR")
# 客户端断开,重置身份