Safety EventId Property
A unique ID that identifies the event that triggered this safety condition.
Definition
Namespace: SafetyMonitorExtension
Assembly: SafetyMonitoExtension (in SafetyMonitoExtension.dll) Version: 0.1+d75ea7ab874235e354c93329218ac96a84f66202
Assembly: SafetyMonitoExtension (in SafetyMonitoExtension.dll) Version: 0.1+d75ea7ab874235e354c93329218ac96a84f66202
C#
public string Id { get; set; }VB
Public Property Id As String
Get
SetProperty Value
StringRemarks
This field enables client applications to update an existing event or remove it from the list provided by ISafetyMonitorV4.SafetyEvents .
Safety monitors that implement this method must ensure that their update mechanic enforces Id as a unique key. This is to ensure that an existing record in the safety monitor's list will be updated if, for example, the source provides a revised event description e.g. a change to a monitored value but the condition remains unsafe.
Values should be chosen to minimise the chance of replicating IDs used by other sources. A GUID is recommended.
Exceptions
| InvalidValueException | Thrown if Id is null or an empty string. |