onTimeChange - event of the PmaRoot object
The event is triggered on the change of the computer system time. Fires only if the change is greater than 5 seconds.
|pMe||(Object) Reference to the PmaRoot object where the event rises.|
|pEvent||(Object) Reference to object describing detailed information about the specific event.| pEvent.DiffSec
Difference of the change in seconds. When the time changes forward, the value is positive, when backward, it is negative.
Time after which the change occurred.
The time change is detected by PROMOTIC system in the following way. The internal clock of the PROMOTIC system ticks with the specific period (about 10 ms). Every tick the system finds out the daytime and stores it. It compares it with the time of the previous tick and if the difference is greater than 5 seconds, then PROMOTIC system concludes from this that the time changed. In very extreme cases when somebody stopped the PROMOTIC application for 5 seconds, the PROMOTIC could invoke this event even if no time change occurred.