public override bool Equals(object obj) { SectionTourData other = obj as SectionTourData; if (this.Desde == other.Desde && this.Hasta == other.Hasta) { return(true); } return(false); }
private bool CanChangeToNextSectionTour() { currentIndex++; if (currentIndex < sectionTourDataList.Count) { currentSectionTourData = sectionTourDataList[currentIndex]; return(true); } return(false); }
public void SetStartSectionTour(int index) { currentIndex = index; currentSectionTourData = sectionTourDataList[currentIndex]; }
public void AddSectionTour(SectionTourData data) { sectionTourDataList.Add(data); }