public static int get_Cargo_Number(MainWindow.Cargo a) { return(a.NumberOfCar); }
public static int get_Cargo_Arrival(MainWindow.Cargo a) { return(a.Arrival); }
public static MainWindow.Cargo set_Cargo_Number(int NumberOfCar1, MainWindow.Cargo a) { a.NumberOfCar = NumberOfCar1; return(a); }
public static int get_Cargo_Departure(MainWindow.Cargo a) { return(a.Departure); }
public static MainWindow.Cargo set_Cargo_Arrival(int Arrival1, MainWindow.Cargo a) { a.Arrival = Arrival1; return(a); }
public static string get_Cargo_Route(MainWindow.Cargo a) { return(a.Route); }
public static MainWindow.Cargo set_Cargo_Departure(int Departure1, MainWindow.Cargo a) { a.Departure = Departure1; return(a); }
public static int get_Cargo_Track(MainWindow.Cargo a) { return(a.Track); }
public static MainWindow.Cargo set_Cargo_Route(string Route1, MainWindow.Cargo a) { a.Route = Route1; return(a); }
public static MainWindow.Cargo get_Cargo(MainWindow.Cargo a) { return(a); }
public static MainWindow.Cargo set_Cargo_Track(int Track1, MainWindow.Cargo a) { a.Track = Track1; return(a); }
public static string get_Cargo_name(MainWindow.Cargo a) { return(a.Name); }
public static MainWindow.Cargo set_Cargo_Name(string Name1, MainWindow.Cargo a) { a.Name = Name1; return(a); }
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); }