Esempio n. 1
0
 public Order(Type deliv, string startPoint, string finishPoint, int vol)
 {
     _startPoint  = startPoint;
     _finishPoint = finishPoint;
     _type        = deliv;
     _track       = Best(startPoint, finishPoint, deliv, vol);
     _cost        = _track.Cost;
     _volume      = vol;
 }
Esempio n. 2
0
 public Order()
 {
     _cost        = new double();
     _volume      = new int();
     _startPoint  = "";
     _finishPoint = "";
     _track       = new Track();
     _type        = Type.Economy;
 }