onStart - event of the PmaObject object
The event is triggered for each object in the runtime only once at the beginning. Here it is suitable, for example, to perform various initializations of the object, as, for example, reading data from the file, etc.
The event is triggered after the PmaRoot.onAppStartBegin event and before the PmaRoot.onAppStartEnd event.
|pMe||(Object) Reference to the PmaObject object where the event rises.|
|pEvent||(Object) Reference 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.
Enable the PmaTimer object.
pMe.Pm("/Timer").Enabled = true;