Example #1
0
        public double GetPrice(AbstractMarshrut_A_B Marshrut_A_B)
        {
            double Price;

            Price = Marshrut_A_B.Price;
            return(Price);
        }
Example #2
0
 public void AddItemMarshrut_A_B_List(AbstractMarshrut_A_B _Marshrut_A_B)
 {
     Marshrut_A_B_List.Add(_Marshrut_A_B);
     MarshrutAmount += 1;
 }
Example #3
0
 public void DeleteItemMarshrut_A_B_List(AbstractMarshrut_A_B _Marshrut_A_B)
 {
     Marshrut_A_B_List.Remove(_Marshrut_A_B);
     MarshrutAmount -= 1;
 }
Example #4
0
 public int GetItemMarshrut_A_B_List(AbstractMarshrut_A_B _Marshrut_A_B)
 {
     return(Marshrut_A_B_List.IndexOf(_Marshrut_A_B));
 }