From 0026ea3b1a6588f3e40b8276162f54b2a22bc7ae Mon Sep 17 00:00:00 2001 From: chenluhua1980 <Chenluhua@qq.com> Date: 星期一, 19 一月 2026 14:32:27 +0800 Subject: [PATCH] 1.修复 : 多 PJ 支持仍是单槽实现:isProcessJobsEmpty/validate 仍只允许 1 个 PJ/CJ;Host 一次下多 PJ 或运行中追加 PJ 会被拒绝/无明确反馈。需要:协议上明示只支持 1,或补齐 ACK/NAK 与队列管理、PJobSpace 动态更新。 --- SourceCode/Bond/EAPSimulator/CHsmsActive.h | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/SourceCode/Bond/EAPSimulator/CHsmsActive.h b/SourceCode/Bond/EAPSimulator/CHsmsActive.h index 2ba9fea..9e8eb07 100644 --- a/SourceCode/Bond/EAPSimulator/CHsmsActive.h +++ b/SourceCode/Bond/EAPSimulator/CHsmsActive.h @@ -7,9 +7,18 @@ #include "ProcessJob.h" -#define SVID_CJobSpace 5001 +#define SVID_ControlState 600 +#define SVID_CurrentProcessState 700 +#define SVID_CJobSpace 5001 #define SVID_PJobSpace 5002 #define SVID_PJobQueued 5003 +#define SVID_EQPPExecName 801 +#define SVID_Bonder1CurrentRecipe 8100 +#define SVID_Bonder2CurrentRecipe 8101 +#define SVID_VacuumBakeCurrentRecipe 8102 +#define SVID_BakeCoolingCurrentRecipe 8103 +#define SVID_MeasurementCurrentRecipe 8104 +#define SVID_EFEMCurrentRecipe 8105 typedef std::function<void(void* pFrom, ACTIVESTATE state)> STATECHANGED; @@ -77,9 +86,16 @@ // 鏌ヨ鍙橀噺 int hsmsSelectedEquipmentStatusRequest(unsigned int SVID); + int hsmsQueryAllStatusVariables(); // S1F11 + int hsmsQueryAllDataVariables(); // S1F21 + int hsmsQueryAllCollectionEvents(); // S1F23 + int hsmsEquipmentConstantRequest(const std::vector<unsigned short>& ecids); // S2F13 + int hsmsEquipmentConstantSend(const std::vector<std::pair<unsigned short, std::string>>& ecidValues); // S2F15 // 鏌ヨPPID List int hsmsQueryPPIDList(); + int hsmsDeletePPID(const std::vector<std::string>& ppids); // S7F17 + int hsmsProcessProgramRequest(const char* pszPPID); // S7F5 // S3F17 // 鍗″專鍔ㄤ綔璇锋眰 -- Gitblit v1.9.3