LAPTOP-SNT8I5JK\Boounion
2025-08-11 5edb485d226790306097e40ea954efb2ed90dd21
SourceCode/Bond/EAPSimulator/CHsmsActive.h
@@ -2,7 +2,12 @@
#include <string>
#include <vector>
#include <map>
#include <set>
#include "CCollectionEvent.h"
#define SVID_CJobSpace            5001
#define SVID_PJobSpace            5002
typedef std::function<void(void* pFrom, ACTIVESTATE state)> STATECHANGED;
@@ -53,6 +58,33 @@
   // 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();
   // 查询变量
   int hsmsSelectedEquipmentStatusRequest(unsigned int SVID);
   // 查询PPID List
   int hsmsQueryPPIDList();
   // S3F17
   // 卡匣动作请求
   int hsmsCarrierActionRequest(unsigned int DATAID,
      const char* pszCarrierAction,
      const char* pszCarrierId,
      unsigned char PTN);
   int hsmsProceedWithCarrier(unsigned int DATAID,
      const char* pszCarrierId,
      unsigned char PTN);
   int CHsmsActive::hsmsCarrierRelease(unsigned int DATAID,
      const char* pszCarrierId,
      unsigned char PTN);
   // 通过的reply函数
   void replyAck(int s, int f, unsigned int systemBytes, BYTE ack, const char* pszAckName);