26 lines
949 B
Plaintext
26 lines
949 B
Plaintext
|
|
using Microsoft.Practices.Prism.Events;
|
||
|
|
|
||
|
|
namespace DTS.Common.Events.Hardware.HardwareList
|
||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
/// The HardwareListHardwareTestPTPDomainIDEvent event.
|
||
|
|
/// </summary>
|
||
|
|
///
|
||
|
|
/// <remarks>This event is used to indicate the hardware's ptp domain id in this test was changed.</remarks>
|
||
|
|
///
|
||
|
|
public class HardwareListHardwareTestPTPDomainIDEvent : CompositePresentationEvent<HardwareListHardwareTestPTPDomainIDEventArgs> { }
|
||
|
|
|
||
|
|
public class HardwareListHardwareTestPTPDomainIDEventArgs
|
||
|
|
{
|
||
|
|
public string SerialNumber { get; private set; }
|
||
|
|
public int DASId { get; private set; }
|
||
|
|
public byte PTPDomainId { get; private set; }
|
||
|
|
public HardwareListHardwareTestPTPDomainIDEventArgs(string serial, int dasId, byte ptpDomainId)
|
||
|
|
{
|
||
|
|
SerialNumber = serial;
|
||
|
|
DASId = dasId;
|
||
|
|
PTPDomainId = ptpDomainId;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|