Part 1: Implementation new method PluginBase.OnClock(uint sysCounter)

The new method need to be completed later.