From da2736b59a27593fdac0295a9e6606dbf3dc59db Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期二, 14 一月 2025 17:34:55 +0800
Subject: [PATCH] 1.secs部分单个通讯的回复;

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

diff --git a/SourceCode/Bond/Servo/Model.cpp b/SourceCode/Bond/Servo/Model.cpp
index 548e170..c4e39d0 100644
--- a/SourceCode/Bond/Servo/Model.cpp
+++ b/SourceCode/Bond/Servo/Model.cpp
@@ -32,6 +32,11 @@
 	m_configuration.setFilepath((LPTSTR)(LPCTSTR)strIniFile);
 	m_configuration.getUnitId(strUnitId);
 
+	// 机器型号和软件版本号应从配置中读取,当前先固定值
+	CString strModeType = _T("Bond2860");
+	CString strSoftRev = _T("1.0.2");
+
+
 
 	// Log
 	CString strLogDir;
@@ -52,6 +57,8 @@
 	});
 
 
+	m_hsmsPassive.setEquipmentModelType((LPTSTR)(LPCTSTR)strModeType);
+	m_hsmsPassive.setSoftRev((LPTSTR)(LPCTSTR)strSoftRev);
 	m_hsmsPassive.init(this, "APP", 7000);
 
 

--
Gitblit v1.9.3