From f2ab7e5e25ca285dd3c2807a9ee67c5523174523 Mon Sep 17 00:00:00 2001
From: chenluhua1980 <Chenluhua@qq.com>
Date: 星期三, 11 二月 2026 21:18:10 +0800
Subject: [PATCH] 1.客户要求暂时关掉SVData上报,将来换另一种方式
---
SourceCode/Bond/Servo/Model.cpp | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/SourceCode/Bond/Servo/Model.cpp b/SourceCode/Bond/Servo/Model.cpp
index 4493f04..6785250 100644
--- a/SourceCode/Bond/Servo/Model.cpp
+++ b/SourceCode/Bond/Servo/Model.cpp
@@ -985,6 +985,8 @@
};
masterListener.onSVDataReport = [&](void* pMaster, SERVO::CEquipment* pEquipment, const std::vector<CParam>& params) {
(void)pMaster;
+ // 瀹㈡埛瑕佹眰鏆傛椂鍏虫帀SV涓婃姤锛屽皢鏉ユ崲鍙︿竴绉嶆柟寮�
+ /*
const int eqId = pEquipment ? pEquipment->getID() : 0;
auto sendSv = [&](const auto& vidMap, const char* evName) {
@@ -1028,6 +1030,7 @@
static constexpr std::array<int, 2> vids = { 6600, 6601 };
sendSv(vids, "MeasurementSVData");
}
+ */
};
masterListener.onProcessDataReport = [&](void* pMaster, SERVO::CEquipment* pEquipment, const std::vector<CParam>& params) {
(void)pMaster;
--
Gitblit v1.9.3