IAlarmEventArgs.cs 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #region --------------- Copyright Dresser Wayne Pignone -------------
  2. /*
  3. * $Log: /Wrk/Support/ForecourtControl/Wrk/ForecourtControl/Com/IAlarmEventArgs.cs $
  4. *
  5. * 3 07-02-16 9:59 roger.månsson
  6. * FxCop changes
  7. *
  8. * 2 07-01-05 9:01 roger.månsson
  9. * Documentation changes
  10. */
  11. #endregion
  12. using System.Runtime.InteropServices;
  13. namespace Wayne.ForecourtControl.Com
  14. {
  15. /// <summary>
  16. /// Contains information about an alarm.
  17. /// </summary>
  18. [ComVisible(true)]
  19. [InterfaceType(ComInterfaceType.InterfaceIsDual)]
  20. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711:IdentifiersShouldNotHaveIncorrectSuffix")]
  21. public interface IAlarmEventArgs
  22. {
  23. /// <summary>
  24. /// Device id for the device that the alarm was about.
  25. /// </summary>
  26. int DeviceId { get; }
  27. /// <summary>
  28. /// Type of device.
  29. /// </summary>
  30. int DeviceType { get; set; }
  31. /// <summary>
  32. /// Alarm code.
  33. /// </summary>
  34. int AlarmCode { get; set; }
  35. /// <summary>
  36. /// Category of the alarm
  37. /// </summary>
  38. int AlarmCategory { get; set; }
  39. /// <summary>
  40. /// Debug text for the alarm.
  41. /// </summary>
  42. string DebugText { get; set; }
  43. }
  44. }