示例#1
0
 public IPhone8Plus(IColor color, IBattery battery, IQuickCharge quickcharge) : base(color, battery, quickcharge)
 {
     _color       = new BlackColor();
     _battery     = new NormalBattery();
     _quickcharge = new Charge30();
     _model       = "IPhone 8 Plus";
 }
示例#2
0
 public OppoF11Pro(IColor color, IBattery battery, IQuickCharge quickcharge) : base(color, battery, quickcharge)
 {
     _model       = "Oppo F11 Pro";
     _color       = new BlackColor();
     _battery     = new NormalBattery();
     _quickcharge = new Charge40();
 }
示例#3
0
 public SamsungS20(IColor color, IBattery battery, IQuickCharge quickcharge) : base(color, battery, quickcharge)
 {
     _model       = "Samsung S 20";
     _color       = new BlackColor();
     _battery     = new NormalBattery();
     _quickcharge = new Charge30();
 }