28 lines
963 B
Plaintext
28 lines
963 B
Plaintext
using Microsoft.Practices.Prism.Events;
|
|
|
|
namespace DTS.Common.Events.Hardware.HardwareList
|
|
{
|
|
|
|
/// <summary>
|
|
/// The HardwareListHardwareTestClockMasterEvent event.
|
|
/// </summary>
|
|
///
|
|
/// <remarks>This event is used to indicate the hardware's clock master status in this test was changed.</remarks>
|
|
///
|
|
public class HardwareListHardwareTestClockMasterEvent : CompositePresentationEvent<HardwareListHardwareTestClockMasterEventArgs> { }
|
|
|
|
public class HardwareListHardwareTestClockMasterEventArgs
|
|
{
|
|
public string SerialNumber { get; private set; }
|
|
public int DASId { get; private set; }
|
|
public bool IsClockMaster { get; private set; }
|
|
|
|
public HardwareListHardwareTestClockMasterEventArgs(string serial, bool isClockMaster, int dasId)
|
|
{
|
|
DASId = dasId;
|
|
SerialNumber = serial;
|
|
IsClockMaster = isClockMaster;
|
|
}
|
|
}
|
|
}
|