ITankReadingEx.cs 758 B

1234567891011121314151617181920212223242526
  1. using System;
  2. using System.Runtime.InteropServices;
  3. namespace Wayne.ForecourtControl
  4. {
  5. /// <summary>
  6. /// Data structure carrying the information of a physical tank reading.
  7. /// </summary>
  8. [ComVisible(true)]
  9. public interface ITankReadingEx: ITankReading
  10. {
  11. /// <summary>
  12. /// Fuel level, read by the probe.
  13. /// </summary>
  14. decimal FuelVolume { [return: MarshalAs(UnmanagedType.Currency)]get; }
  15. /// <summary>
  16. /// Water level, read by the probe.
  17. /// </summary>
  18. decimal WaterVolume { [return: MarshalAs(UnmanagedType.Currency)]get; }
  19. /// <summary>
  20. /// Original transaction data
  21. /// </summary>
  22. string OriginalTransactionData { get; }
  23. }
  24. }