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