예제 #1
0
 public static MainWindow.Passenger set_Passenger_Name(string Name1, MainWindow.Passenger a)
 {
     a.Name = Name1;
     return(a);
 }
예제 #2
0
 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);
 }
예제 #3
0
 public static MainWindow.Passenger get_Passenger(MainWindow.Passenger a)
 {
     return(a);
 }
예제 #4
0
 public static MainWindow.Passenger set_Passenger_Number(int NumberOfCar1, MainWindow.Passenger a)
 {
     a.NumberOfCar = NumberOfCar1;
     return(a);
 }
예제 #5
0
 public static int get_Passenger_Number(MainWindow.Passenger a)
 {
     return(a.NumberOfCar);
 }
예제 #6
0
 public static MainWindow.Passenger set_Passenger_Arrival(int Arrival1, MainWindow.Passenger a)
 {
     a.Arrival = Arrival1;
     return(a);
 }
예제 #7
0
 public static int get_Passenger_Arrival(MainWindow.Passenger a)
 {
     return(a.Arrival);
 }
예제 #8
0
 public static MainWindow.Passenger set_Passenger_Departure(int Departure1, MainWindow.Passenger a)
 {
     a.Departure = Departure1;
     return(a);
 }
예제 #9
0
 public static int get_Passenger_Departure(MainWindow.Passenger a)
 {
     return(a.Departure);
 }
예제 #10
0
 public static string get_Passenger_Route(MainWindow.Passenger a)
 {
     return(a.Route);
 }
예제 #11
0
 public static MainWindow.Passenger set_Passenger_Route(string Route1, MainWindow.Passenger a)
 {
     a.Route = Route1;
     return(a);
 }
예제 #12
0
 public static int get_Passenger_Track(MainWindow.Passenger a)
 {
     return(a.Track);
 }
예제 #13
0
 public static MainWindow.Passenger set_Passenger_Track(int Track1, MainWindow.Passenger a)
 {
     a.Track = Track1;
     return(a);
 }
예제 #14
0
 public static string get_Passenger_name(MainWindow.Passenger a)
 {
     return(a.Name);
 }