From 1e8e3473cb124f9e51dfc1ca35e5cb13b1668bdc Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期六, 10 五月 2025 10:46:19 +0800
Subject: [PATCH] 1.重命名类名称和文件名;

---
 SourceCode/Bond/Servo/ServoDlg.cpp |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/SourceCode/Bond/Servo/ServoDlg.cpp b/SourceCode/Bond/Servo/ServoDlg.cpp
index 29e60d0..3bf1852 100644
--- a/SourceCode/Bond/Servo/ServoDlg.cpp
+++ b/SourceCode/Bond/Servo/ServoDlg.cpp
@@ -9,7 +9,6 @@
 #include "Common.h"
 #include "Log.h"
 #include "SecsTestDlg.h"
-#include "AlarmDlg.h"
 #include <chrono>
 #include <thread>
 #include <cmath>
@@ -218,9 +217,9 @@
 	m_pPageGraph1->Create(IDD_PAGE_GRAPH1, this);
 	m_pPageGraph2 = new CPageGraph2();
 	m_pPageGraph2->Create(IDD_PAGE_GRAPH2, this);
-	m_pPageAlarm = new CAlarmDlg();
+	m_pPageAlarm = new CPageAlarm();
 	m_pPageAlarm->Create(IDD_DIALOG_ALARM, this);
-	m_pPageLog = new CLogDlg();
+	m_pPageLog = new CPageLog();
 	m_pPageLog->Create(IDD_DIALOG_LOG, this);
 
 	CHmTab* m_pTab = CHmTab::Hook(GetDlgItem(IDC_TAB1)->m_hWnd);
@@ -645,7 +644,7 @@
 
 LRESULT CServoDlg::OnPanelResize(WPARAM wParam, LPARAM lParam)
 {
-	int width = wParam;
+	int width = (int)wParam;
 	// m_pPanel->SetPanelWidth(width);
 	Resize();
 

--
Gitblit v1.9.3