示例#1
0
 public static int get_Cargo_Number(MainWindow.Cargo a)
 {
     return(a.NumberOfCar);
 }
示例#2
0
 public static int get_Cargo_Arrival(MainWindow.Cargo a)
 {
     return(a.Arrival);
 }
示例#3
0
 public static MainWindow.Cargo set_Cargo_Number(int NumberOfCar1, MainWindow.Cargo a)
 {
     a.NumberOfCar = NumberOfCar1;
     return(a);
 }
示例#4
0
 public static int get_Cargo_Departure(MainWindow.Cargo a)
 {
     return(a.Departure);
 }
示例#5
0
 public static MainWindow.Cargo set_Cargo_Arrival(int Arrival1, MainWindow.Cargo a)
 {
     a.Arrival = Arrival1;
     return(a);
 }
示例#6
0
 public static string get_Cargo_Route(MainWindow.Cargo a)
 {
     return(a.Route);
 }
示例#7
0
 public static MainWindow.Cargo set_Cargo_Departure(int Departure1, MainWindow.Cargo a)
 {
     a.Departure = Departure1;
     return(a);
 }
示例#8
0
 public static int get_Cargo_Track(MainWindow.Cargo a)
 {
     return(a.Track);
 }
示例#9
0
 public static MainWindow.Cargo set_Cargo_Route(string Route1, MainWindow.Cargo a)
 {
     a.Route = Route1;
     return(a);
 }
示例#10
0
 public static MainWindow.Cargo get_Cargo(MainWindow.Cargo a)
 {
     return(a);
 }
示例#11
0
 public static MainWindow.Cargo set_Cargo_Track(int Track1, MainWindow.Cargo a)
 {
     a.Track = Track1;
     return(a);
 }
示例#12
0
 public static string get_Cargo_name(MainWindow.Cargo a)
 {
     return(a.Name);
 }
示例#13
0
 public static MainWindow.Cargo set_Cargo_Name(string Name1, MainWindow.Cargo a)
 {
     a.Name = Name1;
     return(a);
 }
示例#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);
 }