Пример #1
0
        public override bool Equals(object obj)
        {
            SectionTourData other = obj as SectionTourData;

            if (this.Desde == other.Desde && this.Hasta == other.Hasta)
            {
                return(true);
            }

            return(false);
        }
Пример #2
0
        private bool CanChangeToNextSectionTour()
        {
            currentIndex++;
            if (currentIndex < sectionTourDataList.Count)
            {
                currentSectionTourData = sectionTourDataList[currentIndex];
                return(true);
            }

            return(false);
        }
Пример #3
0
 public void SetStartSectionTour(int index)
 {
     currentIndex           = index;
     currentSectionTourData = sectionTourDataList[currentIndex];
 }
Пример #4
0
 public void AddSectionTour(SectionTourData data)
 {
     sectionTourDataList.Add(data);
 }