public void CancelOrder(Command command) { commands.Remove(command); Console.WriteLine("取消订单:" + command.ToString() + "时间:" + DateTime.Now); }
public void CancelOrder(Command command) { orders.Remove(command); Console.WriteLine("取消订单: " + command.ToString() + " 时间: " + DateTime.Now.ToShortDateString()); }