Ejemplo n.º 1
0
        public void CreateStats()
        {
            EventTypeStats = new List <EventTypeStats> ();

            foreach (EventType evt in Project.EventTypes)
            {
                if (evt is AnalysisEventType)
                {
                    EventTypeStats evstats = new EventTypeStats(Project, filter, evt);
                    EventTypeStats.Add(evstats);
                }
            }

            TimersStats = new List <TimerStats> ();
            foreach (Timer t in Project.Timers)
            {
                TimersStats.Add(new TimerStats(Project, t));
            }

            HomeTeamStats = new TeamStats(Project, filter, TeamType.LOCAL);
            AwayTeamStats = new TeamStats(Project, filter, TeamType.VISITOR);
            UpdateStats();
        }
Ejemplo n.º 2
0
        public void CreateStats()
        {
            EventTypeStats = new List <EventTypeStats> ();

            foreach (EventType evt in Project.EventTypes) {
                if (evt is AnalysisEventType) {
                    EventTypeStats evstats = new EventTypeStats (Project, filter, evt);
                    EventTypeStats.Add (evstats);
                }
            }

            TimersStats = new List<TimerStats> ();
            foreach (TimerLongoMatch t in Project.Timers) {
                TimersStats.Add (new TimerStats (Project, t));
            }

            HomeTeamStats = new TeamStats (Project, filter, TeamType.LOCAL);
            AwayTeamStats = new TeamStats (Project, filter, TeamType.VISITOR);
            UpdateStats ();
        }