Пример #1
0
 /// <summary>
 /// Create a new MaxPower tariff restriction.
 /// </summary>
 /// <param name="MaxPower">The maximum power value.</param>
 public static ChargingTariffRestriction MaxPower(Decimal MaxPower)
 => new ChargingTariffRestriction(Power: DecimalMinMax.FromMax(MaxPower));
Пример #2
0
 /// <summary>
 /// Create a new MaxPower tariff restriction.
 /// </summary>
 /// <param name="MaxPower">The maximum power value.</param>
 public static TariffRestriction MaxPower(Decimal MaxPower)
 {
     return(new TariffRestriction(Power: DecimalMinMax.FromMax(MaxPower)));
 }
Пример #3
0
 /// <summary>
 /// Create a new MaxkWh tariff restriction.
 /// </summary>
 /// <param name="MaxkWh">The maximum kWh value.</param>
 public static ChargingTariffRestriction MaxkWh(Decimal MaxkWh)
 => new ChargingTariffRestriction(kWh: DecimalMinMax.FromMax(MaxkWh));
Пример #4
0
 /// <summary>
 /// Create a new MaxkWh tariff restriction.
 /// </summary>
 /// <param name="MaxkWh">The maximum kWh value.</param>
 public static TariffRestriction MaxkWh(Decimal MaxkWh)
 {
     return(new TariffRestriction(kWh: DecimalMinMax.FromMax(MaxkWh)));
 }