using System; using System.Runtime.InteropServices; namespace Wayne.ForecourtControl { /// /// A collection representing the allowed fuel grade maximum volume, that should be used within the authorize parameters. /// [ComVisible(true)] public interface IFuelGradeMaxVolumes { /// /// Indicates the number of fuel grades. /// int Count { get; } /// /// Indexer returning the maximum volume allowed for the fuel grade. /// /// Fuel grade /// Thrown if the fuel grade is out of range. decimal? this[int index] { get; set; } } }