Beispiel #1
0
 public static int get_Cargo_Number(MainWindow.Cargo a)
 {
     return(a.NumberOfCar);
 }
Beispiel #2
0
 public static int get_Cargo_Arrival(MainWindow.Cargo a)
 {
     return(a.Arrival);
 }
Beispiel #3
0
 public static MainWindow.Cargo set_Cargo_Number(int NumberOfCar1, MainWindow.Cargo a)
 {
     a.NumberOfCar = NumberOfCar1;
     return(a);
 }
Beispiel #4
0
 public static int get_Cargo_Departure(MainWindow.Cargo a)
 {
     return(a.Departure);
 }
Beispiel #5
0
 public static MainWindow.Cargo set_Cargo_Arrival(int Arrival1, MainWindow.Cargo a)
 {
     a.Arrival = Arrival1;
     return(a);
 }
Beispiel #6
0
 public static string get_Cargo_Route(MainWindow.Cargo a)
 {
     return(a.Route);
 }
Beispiel #7
0
 public static MainWindow.Cargo set_Cargo_Departure(int Departure1, MainWindow.Cargo a)
 {
     a.Departure = Departure1;
     return(a);
 }
Beispiel #8
0
 public static int get_Cargo_Track(MainWindow.Cargo a)
 {
     return(a.Track);
 }
Beispiel #9
0
 public static MainWindow.Cargo set_Cargo_Route(string Route1, MainWindow.Cargo a)
 {
     a.Route = Route1;
     return(a);
 }
Beispiel #10
0
 public static MainWindow.Cargo get_Cargo(MainWindow.Cargo a)
 {
     return(a);
 }
Beispiel #11
0
 public static MainWindow.Cargo set_Cargo_Track(int Track1, MainWindow.Cargo a)
 {
     a.Track = Track1;
     return(a);
 }
Beispiel #12
0
 public static string get_Cargo_name(MainWindow.Cargo a)
 {
     return(a.Name);
 }
Beispiel #13
0
 public static MainWindow.Cargo set_Cargo_Name(string Name1, MainWindow.Cargo a)
 {
     a.Name = Name1;
     return(a);
 }
Beispiel #14
0
 public static MainWindow.Cargo set_Cargo(int Track1, string Name1, string Route1, int Departure1, int Arrival1, int NumberOfCar1, string TypeOfCargo1, int AmountOfCars1)
 {
     MainWindow.Cargo a;
     a = new MainWindow.Cargo(Track1, Name1, Route1, Departure1, Arrival1, NumberOfCar1, TypeOfCargo1, AmountOfCars1);
     return(a);
 }