Ejemplo n.º 1
0
 /// <summary>
 /// Create a new MinDuration tariff restriction.
 /// </summary>
 /// <param name="MinDuration">The minimum Duration value.</param>
 public static ChargingTariffRestriction MinDuration(TimeSpan MinDuration)
 => new ChargingTariffRestriction(Duration: TimeSpanMinMax.FromMin(MinDuration));
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new MinDuration tariff restriction.
 /// </summary>
 /// <param name="MinDuration">The minimum Duration value.</param>
 public static TariffRestriction MinDuration(TimeSpan MinDuration)
 {
     return(new TariffRestriction(Duration: TimeSpanMinMax.FromMin(MinDuration)));
 }