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