pMe | (Object) Reference to the PmaNumberLim object where the event rises. |
---|---|
pEvent | (Object) Reference to the object describing detailed information about the specific event.
pEvent.State - (Boolean) [for reading] Takes the following values:
true - If new value (pEvent.New) of the PmaNumber object didn't exceed the defined limit (pEvent.Limit).
false - Otherwise pEvent.New - (Double) [for reading] The value of the PmaNumber object after the last writing into this value.
pEvent.Old - (Double) [for reading] The value of the PmaNumber object before the last writing into this value |
if (! pEvent.State)
{
Pm.Debug("Limit=" + pEvent.Limit + ", NewValue=" + pEvent.New);
}