ITankReadingEx.cs 612 B

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