LAPTOP-SNT8I5JK\Boounion
2025-07-11 c96ec4c44d31e4df6da3ce904fd3c6d8f3548c2d
SourceCode/Bond/Servo/HsmsPassive.h
@@ -60,6 +60,7 @@
typedef std::function<void(void* pFrom)> SECSEQOFFLINE;
typedef std::function<void(void* pFrom, std::vector<EQConstant>&)> SECSEQCONSTANTREQUEST;
typedef std::function<void(void* pFrom, const char*, std::vector<CommandParameter>&)> SECSCommand;
typedef std::function<void(void* pFrom, SYSTEMTIME& time)> DATETIMESYNC;
typedef struct _SECSListener
{
   SECSEQOFFLINE            onEQOffLine;
@@ -67,6 +68,7 @@
   SECSEQCONSTANTREQUEST      onEQConstantRequest;
   SECSEQCONSTANTREQUEST      onEQConstantSend;
   SECSCommand               onCommand;
   DATETIMESYNC            onDatetimeSync;
} SECSListener;
@@ -93,6 +95,8 @@
   // 取消连接report
   void unlinkEventReport(unsigned int CEID);
   unsigned int getCEID(int RPTID);
   // define Report
   void defineReport(unsigned int VID, unsigned int RPTID);
@@ -113,6 +117,7 @@
   /* request开头的函数为主动发送数据的函数 */
   int requestAreYouThere();
   int requestAlarmReport(int ALCD, int ALID, const char* ALTX);
   int requestEventReportSend(unsigned int DATAID, unsigned int RPTID, const std::vector<std::string>& values);
private:
   void replyAck(int s, int f, unsigned int systemBytes, BYTE ack, const char* pszAckName);