#region --------------- Copyright Dresser Wayne Pignone ------------- /* * $Log: /Wrk/Support/ForecourtControl/Wrk/ForecourtControl/Com/IAllowedFuelGrades.cs $ * * 1 07-01-05 9:00 roger.månsson * Created */ #endregion using System.Runtime.InteropServices; namespace Wayne.ForecourtControl { /// /// A collection representing the allowed fuel grades that should be used within the authrorize parameters. /// [ComVisible(true)] public interface IAllowedFuelGrades { /// /// Indicates the number of fuel grades. /// int Count { get; } /// /// Indexer returning if the fuel grade is allowed. /// /// Fuel grade /// True if the fuel grade is allowed, False if it is disallowed. /// Thrown if the fuel grade is out of range. bool this[int index] { get; set; } } }