I am trying to edit timestamps of events to give them the timestamp of the underlying system.
Is it possible to change the timestamp of events/alarms?
Code: Select all
GenericEvent obEvent = new GenericEvent(Server.FilterManager);
obEvent.Initialize(
null,
new NodeId(ObjectTypes.BaseEventType, InstanceNamespaceIndex),
SourceNode,
m_strEventSource,
EventSeverity.Medium,
m_strEventMessage
);
// doesn't work
obEvent.Time = conv_LocalTime2UTCTimestamp(m_datTimeStamp);
ReportEvent(obEvent.SourceNode, obEvent);
Regards
Sabrina