init
This commit is contained in:
@@ -0,0 +1,64 @@
|
||||
using DTS.Common.Interface.DASFactory.Config;
|
||||
using System;
|
||||
|
||||
namespace DTS.Common.Interface.DASFactory.Download
|
||||
{
|
||||
public interface IEventInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// Information about each module that was part of the event. Addressable by
|
||||
/// ModuleArrayIndex of the corresponding module.
|
||||
/// </summary>
|
||||
IDASModule[] Modules { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The event number this information is regarding.
|
||||
/// </summary>
|
||||
int EventNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The GUID of the corresponding event.
|
||||
/// </summary>
|
||||
Guid TestGUID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Fault flags (if any)
|
||||
/// </summary>
|
||||
ushort FaultFlags { get; set; }
|
||||
/// <summary>
|
||||
/// Extended Fault flags (if any)
|
||||
/// </summary>
|
||||
ushort FaultFlagsEx { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Arm Attempts (if any)
|
||||
/// </summary>
|
||||
byte ArmAttempts { get; set; }
|
||||
/// <summary>
|
||||
/// The timestamp of this event.
|
||||
/// </summary>
|
||||
DateTime TestTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The ID of this event.
|
||||
/// </summary>
|
||||
string TestID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// A text description that was stored.
|
||||
/// </summary>
|
||||
string Description { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// True if this event has already been downloaded.
|
||||
/// </summary>
|
||||
bool HasBeenDownloaded { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// True if this event received a trigger.
|
||||
/// </summary>
|
||||
bool WasTriggered { get; set; }
|
||||
|
||||
void ClearFaults();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
|
||||
namespace DTS.Common.Interface.TestSetups.CachedItemsList
|
||||
{
|
||||
public interface ICachedItem
|
||||
{
|
||||
string Name { get; }
|
||||
string ObjectType { get; }
|
||||
DateTime CacheTime { get; }
|
||||
/// <summary>
|
||||
/// DateTime.MinValue indicates no longer in db, otherwise
|
||||
/// the LastModified time in the db
|
||||
/// </summary>
|
||||
DateTime DBTime { get; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using Microsoft.Practices.Prism.Events;
|
||||
|
||||
namespace DTS.Common.Events
|
||||
{
|
||||
/// <summary>
|
||||
/// The TabControlSelectionChanged event.
|
||||
/// </summary>
|
||||
///
|
||||
/// <remarks>This event has to be used by the TabControl to indicate that its tab has been changed.</remarks>
|
||||
///
|
||||
public class TabControlSelectionChanged : CompositePresentationEvent<TabControlSelectionEventArgs> { }
|
||||
}
|
||||
Reference in New Issue
Block a user