Beispiel #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);
        }
Beispiel #2
0
        private bool CanChangeToNextSectionTour()
        {
            currentIndex++;
            if (currentIndex < sectionTourDataList.Count)
            {
                currentSectionTourData = sectionTourDataList[currentIndex];
                return(true);
            }

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