From 82114df5ce7233a3fd22c44f0c72a083feab539c Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期二, 05 八月 2025 15:59:25 +0800
Subject: [PATCH] 1. SGMeasurement的PLC监听超时设置5秒 2. SGMeasurement的PLC监听类添加注释
---
SourceCode/Bond/Servo/HsmsPassive.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/SourceCode/Bond/Servo/HsmsPassive.h b/SourceCode/Bond/Servo/HsmsPassive.h
index 3fa3b73..64bccc0 100644
--- a/SourceCode/Bond/Servo/HsmsPassive.h
+++ b/SourceCode/Bond/Servo/HsmsPassive.h
@@ -22,6 +22,7 @@
#define ER_PARAM_ERROR -3
#define ER_NO_EVENT -4
#define ER_UNLINK_EVENT_REPORT -5
+#define ER_NO_PPID_LIST -6
/*
@@ -67,6 +68,7 @@
typedef std::function<void(void* pFrom, SYSTEMTIME& time)> DATETIMESYNC;
typedef std::function<void(void* pFrom, bool bEnable, std::vector<unsigned int>& ids)> EDEVENTREPORT;
typedef std::function<void(void* pFrom, bool bEnable, unsigned int id)> EDALARMREPORT;
+typedef std::function<std::vector<std::string> (void* pFrom)> QUERYPPIDLIST;
typedef struct _SECSListener
{
SECSEQOFFLINE onEQOffLine;
@@ -77,6 +79,7 @@
DATETIMESYNC onDatetimeSync;
EDEVENTREPORT onEnableDisableEventReport;
EDALARMREPORT onEnableDisableAlarmReport;
+ QUERYPPIDLIST onQueryPPIDList;
} SECSListener;
--
Gitblit v1.9.3