From 6fe6f0ccc9a788de59a8ea2c31ce2a0a02af80fa Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期四, 09 一月 2025 14:09:48 +0800
Subject: [PATCH] Merge branch 'liuyang' into clh

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

diff --git a/SourceCode/Bond/Servo/Servo.cpp b/SourceCode/Bond/Servo/Servo.cpp
index 4e005c6..b422966 100644
--- a/SourceCode/Bond/Servo/Servo.cpp
+++ b/SourceCode/Bond/Servo/Servo.cpp
@@ -81,14 +81,16 @@
 	_tsplitpath_s(sAppFilename, sDrive, sDir, sFilename, sExt);
 	m_strAppDir = CString(sDrive) + CString(sDir);
 	m_strAppFile = CString(sFilename);
+	m_model.setWorkDir((LPTSTR)(LPCTSTR)m_strAppDir);
 
 
 	// 注册控件
 	CServoGraph::RegisterWndClass();
 
 
-	// 初始化BEQ库
+	// 初始化Rx库
 	RX_Init();
+	HSMS_Initialize();
 
 
 	CServoDlg dlg;
@@ -124,6 +126,7 @@
 int CServoApp::ExitInstance()
 {
 	m_model.term();
+	HSMS_Term();
 	RX_Term();
 
 	return CWinApp::ExitInstance();

--
Gitblit v1.9.3