Пример #1
0
 public void CancerOrder(Command command)
 {
     orders.Remove(command);
     Console.WriteLine("取消订单:" + command.ToString() + " 时间:" + DateTime.Now);
 }
Пример #2
0
 public void SetOrder(Command command)
 {
     orders.Add(command);
     Console.WriteLine("增加订单:" + command.ToString() + " 时间:" + DateTime.Now);
 }