From 2d69213b1b41b5b039e5dc6f6b7c55d53fd03037 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期二, 13 五月 2025 09:34:04 +0800
Subject: [PATCH] Merge branch 'clh'

---
 SourceCode/Bond/Servo/PageLog.cpp |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/SourceCode/Bond/Servo/PageLog.cpp b/SourceCode/Bond/Servo/PageLog.cpp
index 50b9bfa..7af3e51 100644
--- a/SourceCode/Bond/Servo/PageLog.cpp
+++ b/SourceCode/Bond/Servo/PageLog.cpp
@@ -159,6 +159,28 @@
 	m_logEdit.SetLimitText(-1);
 
 
+<<<<<<< HEAD:SourceCode/Bond/Servo/LogDlg.cpp
+	std::thread([this]() {
+		constexpr int nMaxWaitMs = 3000;  // 最多等待 3 秒
+		constexpr int nStepMs = 1;		  // 每次等待 1ms
+		int nElapsed = 0;
+
+		while (nElapsed < nMaxWaitMs) {
+			if (theApp.m_model.getObservable() != nullptr) {
+				InitRxWindow();
+				return;
+			}
+			std::this_thread::sleep_for(std::chrono::milliseconds(nStepMs));
+			nElapsed += nStepMs;
+		}
+
+		// 超时也可以发消息记录下日志
+		TRACE(_T("InitRxWindow 超时,未执行\n"));
+	}).detach();
+
+
+=======
+>>>>>>> clh:SourceCode/Bond/Servo/PageLog.cpp
 	Resize();
 
 

--
Gitblit v1.9.3