Beispiel #1
0
 public Train(string a, string b, int c, int d)
 {
     this.nomer = a;
     this.mes   = b;
     this.kolv  = c;
     this.a     = (typeTraine)d;
 }
Beispiel #2
0
 public Trainn(string num = "", string mes = "", int n = 0, typeTraine t = typeTraine.None)
 {
     count     = n;
     message   = mes;
     number    = num;
     typeTrain = (int)t;
 }
Beispiel #3
0
 public Train(string num, string mes, int c, string traine)
 {
     number    = num;
     message   = mes;
     count     = c;
     this.type = (typeTraine)Enum.Parse(typeof(typeTraine), traine);
 }
Beispiel #4
0
 public FirmTrain(string name, double k, string num, string mes, int n, typeTraine t) : base(num, mes, n, t)
 {
     nameFirm = name;
     kPrice   = k;
 }