public static MainWindow.Passenger set_Passenger_Name(string Name1, MainWindow.Passenger a) { a.Name = Name1; return(a); }
public static MainWindow.Passenger set_Passenger(int Track1, string Name1, string Route1, int Departure1, int Arrival1, int NumberOfCar1, double Price1, bool FreePlaces1) { MainWindow.Passenger a = new MainWindow.Passenger(Track1, Name1, Route1, Departure1, Arrival1, NumberOfCar1, Price1, FreePlaces1); return(a); }
public static MainWindow.Passenger get_Passenger(MainWindow.Passenger a) { return(a); }
public static MainWindow.Passenger set_Passenger_Number(int NumberOfCar1, MainWindow.Passenger a) { a.NumberOfCar = NumberOfCar1; return(a); }
public static int get_Passenger_Number(MainWindow.Passenger a) { return(a.NumberOfCar); }
public static MainWindow.Passenger set_Passenger_Arrival(int Arrival1, MainWindow.Passenger a) { a.Arrival = Arrival1; return(a); }
public static int get_Passenger_Arrival(MainWindow.Passenger a) { return(a.Arrival); }
public static MainWindow.Passenger set_Passenger_Departure(int Departure1, MainWindow.Passenger a) { a.Departure = Departure1; return(a); }
public static int get_Passenger_Departure(MainWindow.Passenger a) { return(a.Departure); }
public static string get_Passenger_Route(MainWindow.Passenger a) { return(a.Route); }
public static MainWindow.Passenger set_Passenger_Route(string Route1, MainWindow.Passenger a) { a.Route = Route1; return(a); }
public static int get_Passenger_Track(MainWindow.Passenger a) { return(a.Track); }
public static MainWindow.Passenger set_Passenger_Track(int Track1, MainWindow.Passenger a) { a.Track = Track1; return(a); }
public static string get_Passenger_name(MainWindow.Passenger a) { return(a.Name); }