#region --------------- Copyright Dresser Wayne Pignone -------------
/*
* $Log: /Wrk/Support/ForecourtControl/Wrk/ForecourtControl/Com/IAlarmEventArgs.cs $
*
* 3 07-02-16 9:59 roger.månsson
* FxCop changes
*
* 2 07-01-05 9:01 roger.månsson
* Documentation changes
*/
#endregion
using System.Runtime.InteropServices;
namespace Wayne.ForecourtControl.Com
{
///
/// Contains information about an alarm.
///
[ComVisible(true)]
[InterfaceType(ComInterfaceType.InterfaceIsDual)]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711:IdentifiersShouldNotHaveIncorrectSuffix")]
public interface IAlarmEventArgs
{
///
/// Device id for the device that the alarm was about.
///
int DeviceId { get; }
///
/// Type of device.
///
int DeviceType { get; set; }
///
/// Alarm code.
///
int AlarmCode { get; set; }
///
/// Category of the alarm
///
int AlarmCategory { get; set; }
///
/// Debug text for the alarm.
///
string DebugText { get; set; }
}
}