public Order(Type deliv, string startP, string finishP, int vol) { _startPoint = startP; _finishPoint = finishP; _type = deliv; _track = Best(startP, finishP, deliv, vol); _cost = _track.Cost; _volume = vol; }
public Order() { _cost = new double(); _volume = new int(); _startPoint = ""; _finishPoint = ""; _track = new Track(); _type = Type.Economy; }