From 71d7d20abf9f367f8390b7e954042b32c728e513 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期六, 10 五月 2025 11:00:44 +0800
Subject: [PATCH] 1.修复最初的数条日志无法显示的问题;

---
 SourceCode/Bond/Servo/CPageGraph2.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/SourceCode/Bond/Servo/CPageGraph2.cpp b/SourceCode/Bond/Servo/CPageGraph2.cpp
index dfef13f..16890d4 100644
--- a/SourceCode/Bond/Servo/CPageGraph2.cpp
+++ b/SourceCode/Bond/Servo/CPageGraph2.cpp
@@ -83,6 +83,7 @@
 BOOL CPageGraph2::OnInitDialog()
 {
 	CDialogEx::OnInitDialog();
+	InitRxWindows();
 	SetTimer(1, 2000, nullptr);
 
 
@@ -375,7 +376,6 @@
 void CPageGraph2::OnTimer(UINT_PTR nIDEvent)
 {
 	if (1 == nIDEvent) {
-		InitRxWindows();
 		KillTimer(1);
 		std::list<SERVO::CEquipment*>& eqs = theApp.m_model.m_master.getEquipmentList();
 		for (auto eq : eqs) {

--
Gitblit v1.9.3