示例#1
0
 public int Process(Order order, Cashier cashier)
 {
     Console.WriteLine(string.Format("{2}\t\t{0},{1}", ID(), order.ID(), cashier.ID()));
     return(rand.Next(1, 5));
 }
示例#2
0
 public int Process(Cashier cashier)
 {
     return(client.Process(this, cashier));
 }