From 91a2974fc7bce6e8bbd903992efae13709b0d186 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期二, 20 五月 2025 09:48:17 +0800
Subject: [PATCH] 1.修改替换CEqVcrEventStep为(CEqReadStep)

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

diff --git a/SourceCode/Bond/Servo/Servo.cpp b/SourceCode/Bond/Servo/Servo.cpp
index c3d5bce..e6eb33a 100644
--- a/SourceCode/Bond/Servo/Servo.cpp
+++ b/SourceCode/Bond/Servo/Servo.cpp
@@ -145,18 +145,18 @@
 
 
 	// 初始化SECS运行设置管理库
-	//try {
-	//	if (!SECSRuntimeManager::getInstance().initRuntimeSetting()) {
-	//		AfxMessageBox("初始化SECS运行设置失败!");
-	//		return FALSE;
-	//	}
-	//}
-	//catch (const std::exception& ex) {
-	//	CString errorMsg;
-	//	errorMsg.Format(_T("初始化SECS运行设置失败:%s"), CString(ex.what()));
-	//	AfxMessageBox(errorMsg, MB_ICONERROR);
-	//	return FALSE;
-	//}
+	try {
+		if (!SECSRuntimeManager::getInstance().initRuntimeSetting()) {
+			AfxMessageBox("初始化SECS运行设置失败!");
+			return FALSE;
+		}
+	}
+	catch (const std::exception& ex) {
+		CString errorMsg;
+		errorMsg.Format(_T("初始化SECS运行设置失败:%s"), CString(ex.what()));
+		AfxMessageBox(errorMsg, MB_ICONERROR);
+		return FALSE;
+	}
 
 
 	CServoDlg dlg;

--
Gitblit v1.9.3