From a3943d169515d841e70c57703cbd9fcbf5409a5a Mon Sep 17 00:00:00 2001 From: mrDarker <mr.darker@163.com> Date: 星期一, 04 八月 2025 17:59:52 +0800 Subject: [PATCH] 1. SGMeasurement模块添加CC-Link通信 2. SGMeasurement模块添加PLC交互 --- SourceCode/Bond/EAPSimulator/CHsmsActive.h | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/SourceCode/Bond/EAPSimulator/CHsmsActive.h b/SourceCode/Bond/EAPSimulator/CHsmsActive.h index a5925e6..7a93948 100644 --- a/SourceCode/Bond/EAPSimulator/CHsmsActive.h +++ b/SourceCode/Bond/EAPSimulator/CHsmsActive.h @@ -2,6 +2,7 @@ #include <string> #include <vector> #include <map> +#include <set> #include "CCollectionEvent.h" @@ -53,6 +54,13 @@ // Line Event Report int hsmsLinkEventReport(std::map<unsigned int, std::vector<unsigned int>>& mapEvent); + // Configure Spooling + int hsmsConfigureSpooling(std::map<unsigned int, std::set<unsigned int>>& spoolingConfig); + + // 发送或清空缓存的消息 + int hsmsTransmitSpooledData(); + int hsmsPurgeSpooledData(); + // 通过的reply函数 void replyAck(int s, int f, unsigned int systemBytes, BYTE ack, const char* pszAckName); -- Gitblit v1.9.3