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();
 }
Beispiel #2
0
 public SamsungNote10(IColor color, IBattery battery, IQuickCharge quickcharge) : base(color, battery, quickcharge)
 {
     _model       = "Samsung Note 10";
     _color       = new GoldColor();
     _battery     = new StrongBattery();
     _quickcharge = new Charge40();
 }
 public OppoFindX2(IColor color, IBattery battery, IQuickCharge quickcharge) : base(color, battery, quickcharge)
 {
     _model       = "Oppo Find X2";
     _color       = new GoldColor();
     _battery     = new StrongBattery();
     _quickcharge = new Charge40();
 }
 public SamsungZFlip(IColor color, IBattery battery, IQuickCharge quickcharge) : base(color, battery, quickcharge)
 {
     _model       = "Samsung Z Flip";
     _color       = new BlackColor();
     _battery     = new NormalBattery();
     _quickcharge = new Charge40();
 }
 public IPhoneSE2(IColor color, IBattery battery, IQuickCharge quickcharge) : base(color, battery, quickcharge)
 {
     _color       = new GoldColor();
     _battery     = new StrongBattery();
     _quickcharge = new Charge40();
     _model       = "IPhone SE 2";
 }