add filter test case
This commit is contained in:
@@ -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")
|
||||
# 客户端断开,重置身份
|
||||
|
||||
Reference in New Issue
Block a user