From 570e812442a64360239f558ae4b55c0d204a5523 Mon Sep 17 00:00:00 2001
From: chenluhua1980 <Chenluhua@qq.com>
Date: 星期五, 09 一月 2026 11:57:06 +0800
Subject: [PATCH] 1.继续完善通讯;

---
 SourceCode/Bond/Servo/HsmsPassive.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/SourceCode/Bond/Servo/HsmsPassive.h b/SourceCode/Bond/Servo/HsmsPassive.h
index 5ebd43e..e38ccb5 100644
--- a/SourceCode/Bond/Servo/HsmsPassive.h
+++ b/SourceCode/Bond/Servo/HsmsPassive.h
@@ -160,6 +160,8 @@
 	void setVariableValue(const char* pszName, __int64 value);
 	void setVariableValue(const char* pszName, const char* value);
 	void setVariableValue(const char* pszName, std::vector<SERVO::CVariable>& vars);
+	// 鎵ц涓�娈垫寔閿佺殑浠g爜鍧楋紝鐢ㄤ簬淇濊瘉 set+send 鐨勫師瀛愭��
+	void withVariableLock(const std::function<void()>& fn);
 
 	// 浠庢枃浠朵腑鍔犺浇CReport鍒楄〃
 	int loadReports(const char* pszFilepath);

--
Gitblit v1.9.3