From 1310b3764eafe085dd43a73aa5190a18e9f717c0 Mon Sep 17 00:00:00 2001 From: mrDarker <mr.darker@163.com> Date: 星期四, 11 九月 2025 17:11:40 +0800 Subject: [PATCH] 1. 把数值放大1000倍 2. 发送PLC是双字 --- SourceCode/Bond/EAPSimulator/CHsmsActive.h | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/SourceCode/Bond/EAPSimulator/CHsmsActive.h b/SourceCode/Bond/EAPSimulator/CHsmsActive.h index b814d4b..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; @@ -61,6 +67,9 @@ int hsmsTransmitSpooledData(); int hsmsPurgeSpooledData(); + // 查询变量 + int hsmsSelectedEquipmentStatusRequest(unsigned int SVID); + // 查询PPID List int hsmsQueryPPIDList(); @@ -77,6 +86,11 @@ 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