mrDarker
2025-08-04 e53508d682792915e26ff02b10f5f2f9bf93d959
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;