IOffsetIndex.cs 680 B

123456789101112131415161718192021222324252627
  1. using System;
  2. namespace Wayne.ForecourtControl
  3. {
  4. public interface IOffsetIndex : IDeviceIndex
  5. {
  6. /// <summary>
  7. /// The Base Index as a 0-based index
  8. /// </summary>
  9. int Base0Index { get; }
  10. /// <summary>
  11. /// The unmodified index value
  12. /// </summary>
  13. int BaseIndex { get; }
  14. /// <summary>
  15. /// The offset between the base and normalized index (normalized = base + offset)
  16. /// </summary>
  17. int Offset { get; }
  18. /// <summary>
  19. /// The offset between the base and 0-base index (base0 = base + 0offset)
  20. /// </summary>
  21. int Base0Offset { get; }
  22. }
  23. }