When acknowledging alarms, I need to be able to generate the same event ID on multiple instances of OpcServer (it's a HA setup).
The API documentation says:
Code: Select all
OpcUa::OffNormalAlarmTypeBase::triggerEvent (const UaDateTime & time, const UaDateTime & receiveTime, const UaByteString & userEventId)
(both taken from here)userEventId: The server is responsible for generating a unique EventId for every event sent to the client. The SDK uses this parameter userEventId as part of the EventId but adds a unique part. The EventId is provided by the client in calls back to the server like in an alarm acknowledgement. The user specific part can be extracted from the EventId provided by the client by using EventManagerBase::getUserEventId()
Unfortunately, using EventManagerBase::getUserEventId() is not an option in this setup.
Is there a way to disable the adding of a unique part to the user supplied eventId?
Thanks.