From 6b80da0fe2a6053b39802a6701db6df0ab1fde24 Mon Sep 17 00:00:00 2001 From: mrDarker <mr.darker@163.com> Date: 星期五, 05 九月 2025 17:27:35 +0800 Subject: [PATCH] 1. 添加设备配方参数显示界面 --- SourceCode/Bond/EAPSimulator/CHsmsActive.h | 35 +++++++++++++++++++++++++++++++++++ 1 files changed, 35 insertions(+), 0 deletions(-) diff --git a/SourceCode/Bond/EAPSimulator/CHsmsActive.h b/SourceCode/Bond/EAPSimulator/CHsmsActive.h index e171c75..29abeb5 100644 --- a/SourceCode/Bond/EAPSimulator/CHsmsActive.h +++ b/SourceCode/Bond/EAPSimulator/CHsmsActive.h @@ -4,6 +4,12 @@ #include <map> #include <set> #include "CCollectionEvent.h" +#include "ProcessJob.h" + + +#define SVID_CJobSpace 5001 +#define SVID_PJobSpace 5002 +#define SVID_PJobQueued 5003 typedef std::function<void(void* pFrom, ACTIVESTATE state)> STATECHANGED; @@ -57,6 +63,35 @@ // 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); + + // S16F15 + int hsmsPRJobMultiCreate(std::vector<SERVO::CProcessJob*>& pjs); + + // S14F9 + int hsmsCreateControlJob(const char* pszControlJobId, std::vector<std::string>& processJobIds); + // 通过的reply函数 void replyAck(int s, int f, unsigned int systemBytes, BYTE ack, const char* pszAckName); -- Gitblit v1.9.3