public StatisticsService() { this.statisticsIntervalInSeconds = 1; systemStatistics = new Statistics(); systemStatistics.SystemStartTime = DateTime.Now; lastMeasureTime = DateTime.Now; }
public StatisticsEventArgs(Statistics s) { Statistics = s; }
/// <summary> /// Sends statistics information about the home automation system. /// </summary> /// <param name="systemStatistics"></param> internal void StatisticsReceived(Statistics systemStatistics) { OnStatisticsReceived?.Invoke(this, new StatisticsEventArgs(systemStatistics)); }