private void OnSimulatorStart(Event e)
{
var start = (OnSimulatorStart)e;
if (this.framework.Clock.Mode == ClockMode.Simulation)
this.framework.Clock.DateTime = start.DateTime1;
this.bus?.ResetCounts();
EventCount = DataEventCount = 0;
this.stopwatch.Reset();
this.stopwatch.Start();
}