From 6e0341c6356cdb6e527fbd89d1dc876f4e47ce46 Mon Sep 17 00:00:00 2001 From: chenluhua1980 <Chenluhua@qq.com> Date: 星期五, 09 一月 2026 20:37:50 +0800 Subject: [PATCH] 1.Trace Data,ProcessData, SVData等上报 --- SourceCode/Bond/Servo/HsmsPassive.h | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/SourceCode/Bond/Servo/HsmsPassive.h b/SourceCode/Bond/Servo/HsmsPassive.h index 995aa66..3461a77 100644 --- a/SourceCode/Bond/Servo/HsmsPassive.h +++ b/SourceCode/Bond/Servo/HsmsPassive.h @@ -150,6 +150,8 @@ // 鍙栧緱鎸囧畾Variable SERVO::CVariable* getVariable(int variableId); SERVO::CVariable* getVariable(const char* pszName); + int getCurrentControlState(); + bool isHostCommandAllowed(); int deleteVariable(int variableId); int addVariable(const char* pszName, const char* pszFormat, const char* pszRemark, int& outId); int updateVariable(int variableId, const char* pszName, const char* pszFormat, const char* pszRemark); @@ -158,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); @@ -230,6 +234,8 @@ int replyAreYouThere(IMessage* pRecv); int replyEstablishCommunications(IMessage* pRecv); int replySelectedEquipmentStatusData(IMessage* pRecv); + int replyStatusVariableNamelistRequest(IMessage* pRecv); // S1F11/S1F12 + int replyCollectionEventNamelistRequest(IMessage* pRecv); // S1F23/S1F24 int replyOnLine(IMessage* pRecv); int replyOffLine(IMessage* pRecv); int replyEquipmentConstantRequest(IMessage* pRecv); -- Gitblit v1.9.3