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; }
public Order() { _cost = new double(); _volume = new int(); _startPoint = ""; _finishPoint = ""; _track = new Track(); _type = Type.Economy; }