onAddRecord - event of object PmTrend

The event fires on the request for saving the values (as a new record), but before the saving is done. This event can be used for preparing the data to be saved.
pMe(Object) Reference to the PROMOTIC object where the event rises.
pEvent(Object) A referrence to object describing detailed information about the specific event.

The pEvent parameter is not used here because this event does not need any additional information.

The record saving request can be fired automatically by the internal timer (see Automatic saving after launch is enabled) or by calling the Run or RunTime methods.
PROMOTIC 9.0.0 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice