public void Run() { // Dispatch the orders to the nearby warehouses. CommandDispatch cd = new CommandDispatch (this.Orders, this.WareHouses); var dispatchResult = cd.DispatchOrders (); // TODO: Once the dispatch is done, it's time to put the drone to action... this.Results = dispatchResult.ToString(); }
public void Run() { // Dispatch the orders to the nearby warehouses. CommandDispatch cd = new CommandDispatch(this.Orders, this.WareHouses); var dispatchResult = cd.DispatchOrders(); // TODO: Once the dispatch is done, it's time to put the drone to action... this.Results = dispatchResult.ToString(); }