From 6c373f004d79b28c735bbee2bd391bd412270535 Mon Sep 17 00:00:00 2001 From: chenluhua1980 <Chenluhua@qq.com> Date: 星期五, 09 一月 2026 15:58:51 +0800 Subject: [PATCH] 完成统一 PortStateChange 事件与变量维护 --- SourceCode/Bond/EAPSimulator/CHsmsActive.h | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/SourceCode/Bond/EAPSimulator/CHsmsActive.h b/SourceCode/Bond/EAPSimulator/CHsmsActive.h index 04bb2c1..6362b6e 100644 --- a/SourceCode/Bond/EAPSimulator/CHsmsActive.h +++ b/SourceCode/Bond/EAPSimulator/CHsmsActive.h @@ -7,7 +7,9 @@ #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 @@ -42,6 +44,14 @@ // Are You There int hsmsAreYouThere(); + // ControlState: Request Online/Offline (S1F17 / S1F15) + int hsmsRequestOnline(); + int hsmsRequestOffline(); + + // ControlState: GoLocal/GoRemote (S2F41) + int hsmsGoLocal(); + int hsmsGoRemote(); + // Date time sync int hsmsDatetimeSync(); @@ -69,6 +79,8 @@ // 鏌ヨ鍙橀噺 int hsmsSelectedEquipmentStatusRequest(unsigned int SVID); + int hsmsQueryAllStatusVariables(); // S1F11 + int hsmsQueryAllCollectionEvents(); // S1F23 // 鏌ヨPPID List int hsmsQueryPPIDList(); -- Gitblit v1.9.3