Ejemplo n.º 1
0
        private double AssignMaxPower(_ChargingTechnology ChargingTechnology)
        {
            switch (ChargingTechnology)
            {
            case _ChargingTechnology.USB2_0:
                return(2.5);

            case _ChargingTechnology.USB3_0:
                return(7.5);

            case _ChargingTechnology.Apple_FastCharge:
                return(18);

            case _ChargingTechnology.Samsung_AdaptiveFastCharger:
                return(15);

            case _ChargingTechnology.Oppo_SuperVOOC:
                return(50);

            case _ChargingTechnology.OnePlus_WarpCharge30:
                return(30);

            case _ChargingTechnology.Huawei_SuperCharge2_0:
                return(40);

            case _ChargingTechnology.MediaTek_PumpExpress4_0:
                return(25);

            case _ChargingTechnology.Motorola_TurboPower30:
                return(28.5);

            default:
                return(1);
            }
        }
 public OnePlusWarpCharge30(bool inductiveCharge, _ChargingTechnology chargingTechnology, IOutput output) : base(inductiveCharge, chargingTechnology)
 {
     Output = output;
     Output.WriteLine($"Setting {nameof(OnePlusWarpCharge30)} to Mobile Phone");
 }
 public MotorolaTurboPower30(bool inductiveCharge, _ChargingTechnology chargingTechnology, IOutput output) : base(inductiveCharge, chargingTechnology)
 {
     Output = output;
     Output.WriteLine($"Setting {nameof(MotorolaTurboPower30)} to Mobile Phone");
 }
Ejemplo n.º 4
0
 public MotorolaTurboPower30(bool inductiveCharge, _ChargingTechnology chargingTechnology) : base(inductiveCharge, chargingTechnology)
 {
 }
 public SamsungAdaptiveFastCharger(bool inductiveCharge, _ChargingTechnology chargingTechnology, IOutput output) : base(inductiveCharge, chargingTechnology)
 {
     Output = output;
     Output.WriteLine($"Setting {nameof(SamsungAdaptiveFastCharger)} to Mobile Phone");
 }
 public USB3_0(bool inductiveCharge, _ChargingTechnology chargingTechnology) : base(inductiveCharge, chargingTechnology)
 {
 }
Ejemplo n.º 7
0
 public OppoSuperVOOC(bool inductiveCharge, _ChargingTechnology chargingTechnology) : base(inductiveCharge, chargingTechnology)
 {
 }
 public OnePlusWarpCharge30(bool inductiveCharge, _ChargingTechnology chargingTechnology) : base(inductiveCharge, chargingTechnology)
 {
 }
 public MediaTekPumpExpress4_0(bool inductiveCharge, _ChargingTechnology chargingTechnology) : base(inductiveCharge, chargingTechnology)
 {
 }
Ejemplo n.º 10
0
 public MediaTekPumpExpress4_0(bool inductiveCharge, _ChargingTechnology chargingTechnology, IOutput output) : base(inductiveCharge, chargingTechnology)
 {
     Output = output;
     Output.WriteLine($"Setting {nameof(MediaTekPumpExpress4_0)} to Mobile Phone");
 }
 public AppleFastCharge(bool inductiveCharge, _ChargingTechnology chargingTechnology) : base(inductiveCharge, chargingTechnology)
 {
 }
 public SamsungAdaptiveFastCharger(bool inductiveCharge, _ChargingTechnology chargingTechnology) : base(inductiveCharge, chargingTechnology)
 {
 }
Ejemplo n.º 13
0
 public OppoSuperVOOC(bool inductiveCharge, _ChargingTechnology chargingTechnology, IOutput output) : base(inductiveCharge, chargingTechnology)
 {
     Output = output;
     Output.WriteLine($"Setting {nameof(OppoSuperVOOC)} to Mobile Phone");
 }
Ejemplo n.º 14
0
 public BatteryChargerBase(bool inductiveCharge, _ChargingTechnology chargingTechnology)
 {
     InductiveCharge    = inductiveCharge;
     ChargingTechnology = chargingTechnology;
 }
Ejemplo n.º 15
0
 public AppleFastCharge(bool inductiveCharge, _ChargingTechnology chargingTechnology, IOutput output) : base(inductiveCharge, chargingTechnology)
 {
     Output = output;
     Output.WriteLine($"Setting {nameof(AppleFastCharge)} to Mobile Phone");
 }
 public HuaweiSuperCharge2_0(bool inductiveCharge, _ChargingTechnology chargingTechnology, IOutput output) : base(inductiveCharge, chargingTechnology)
 {
     Output = output;
     Output.WriteLine($"Setting {nameof(HuaweiSuperCharge2_0)} to Mobile Phone");
 }
Ejemplo n.º 17
0
 public HuaweiSuperCharge2_0(bool inductiveCharge, _ChargingTechnology chargingTechnology) : base(inductiveCharge, chargingTechnology)
 {
 }