Ejemplo n.º 1
0
        public void OnDriversChanged(Object sender, DriversChangedEventArgs e)
        {
            SectionTimesList     = SectionTimes.GetList().ToList();
            DistanceDrivenList   = DistanceDriven.GetList().ToList();
            BrokenDownAmountList = BrokenDownAmount.GetList().ToList();

            PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(""));
        }
Ejemplo n.º 2
0
        public void LogSectionTime(IParticipant participant, TimeSpan time, Section section)
        {
            var sectionTime = new SectionTimeData();

            sectionTime.ParticipantName = participant.Name;
            sectionTime.Time            = time;
            sectionTime.Section         = section;
            SectionTimes.Add(sectionTime);
        }