/// <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));
/// <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))); }
/// <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));
/// <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))); }