Exemple #1
0
 public override void visitor(MedicineB b)
 {
     Console.WriteLine("药房工作者:" + this.name + ",抓药:" + b.GetName() + ",数量:" + b.GetCourt());
 }
Exemple #2
0
 public override void visitor(MedicineB b)
 {
     Console.WriteLine("划价员:" + this.name + "划价、给药:" + b.GetName() + ",单价:" + b.GetPrice() + ",总价格:" + b.GetSum());
 }