[change]去掉延时获取工控机基础配置信息,更改成立即获取

This commit is contained in:
xinfengkun
2022-04-29 11:40:30 +08:00
parent d3af38d7dc
commit d925f1db49
2 changed files with 2 additions and 8 deletions

View File

@@ -360,13 +360,7 @@ public class AdasChannel implements IAdasNetCommApi, FpgaSocket.IWebSocketConnec
if (adasConnectStatusListener != null) {
adasConnectStatusListener.onConnectionIPCStatus(ipcConnectionStatus.get(), "已连接");
}
Timer timer = new Timer();
timer.schedule(new TimerTask() {
@Override
public void run() {
sendCarConfigReq();
}
}, 1600L); // 延迟1秒执行一次task
sendCarConfigReq();
}
@Override