From d3e6607623a258e26e579731713407737f96a392 Mon Sep 17 00:00:00 2001 From: chenluhua1980 <Chenluhua@qq.com> Date: 星期四, 08 一月 2026 20:45:12 +0800 Subject: [PATCH] 1.查询状态EAP模拟及测试; --- SourceCode/Bond/EAPSimulator/CHsmsActive.h | 17 +++++++++-------- 1 files changed, 9 insertions(+), 8 deletions(-) diff --git a/SourceCode/Bond/EAPSimulator/CHsmsActive.h b/SourceCode/Bond/EAPSimulator/CHsmsActive.h index 2ba9fea..00efb31 100644 --- a/SourceCode/Bond/EAPSimulator/CHsmsActive.h +++ b/SourceCode/Bond/EAPSimulator/CHsmsActive.h @@ -1,4 +1,4 @@ -锘�#pragma once +#pragma once #include <string> #include <vector> #include <map> @@ -7,7 +7,8 @@ #include "ProcessJob.h" -#define SVID_CJobSpace 5001 +#define SVID_ControlState 600 +#define SVID_CJobSpace 5001 #define SVID_PJobSpace 5002 #define SVID_PJobQueued 5003 @@ -36,7 +37,7 @@ // Deselect Request int hsmsDeselectRequest(); - // 寤虹珛閫氳(S1F13) + // 建立通讯(S1F13) int hsmsEstablishCommunications(); // Are You There @@ -71,18 +72,18 @@ // Configure Spooling int hsmsConfigureSpooling(std::map<unsigned int, std::set<unsigned int>>& spoolingConfig); - // 鍙戦�佹垨娓呯┖缂撳瓨鐨勬秷鎭� + // 发送或清空缓存的消息 int hsmsTransmitSpooledData(); int hsmsPurgeSpooledData(); - // 鏌ヨ鍙橀噺 + // 查询变量 int hsmsSelectedEquipmentStatusRequest(unsigned int SVID); - // 鏌ヨPPID List + // 查询PPID List int hsmsQueryPPIDList(); // S3F17 - // 鍗″專鍔ㄤ綔璇锋眰 + // 卡匣动作请求 int hsmsCarrierActionRequest(unsigned int DATAID, const char* pszCarrierAction, const char* pszCarrierId, @@ -106,7 +107,7 @@ // S14F9 int hsmsCreateControlJob(const char* pszControlJobId, std::vector<std::string>& processJobIds); - // 閫氳繃鐨剅eply鍑芥暟 + // 通过的reply函数 void replyAck(int s, int f, unsigned int systemBytes, BYTE ack, const char* pszAckName); // reply ack0 -- Gitblit v1.9.3