init
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ICheckChannelsViewModel : IBaseViewModel { }
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
using Microsoft.Practices.Prism.Events;
|
||||
|
||||
namespace DTS.Common.Events.Groups.GroupList
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// The GroupTemplateListGroupTemplateSelectedEvent event.
|
||||
/// </summary>
|
||||
///
|
||||
/// <remarks>called when a template is selected.</remarks>
|
||||
///
|
||||
public class GroupListGroupSelectedEvent : CompositePresentationEvent<int[]> { }
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
using DTS.Common.Base;
|
||||
using Microsoft.Practices.Prism.Events;
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace DTS.Common.Events
|
||||
{
|
||||
/// <summary>
|
||||
/// The number of selected Tests changed event.
|
||||
/// </summary>
|
||||
public class GraphChannelsReadCompletedNotification : CompositePresentationEvent<GraphChannelsReadCompletedNotificationArgs> { }
|
||||
|
||||
public class GraphChannelsReadCompletedNotificationArgs
|
||||
{
|
||||
public bool IsReadCompleted { get; set; }
|
||||
public IBaseViewModel GraphVM { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
using DTS.Common.Enums;
|
||||
|
||||
namespace DTS.Common.Interface.Sensors
|
||||
{
|
||||
/// <summary>
|
||||
/// this interface describes the default properties and methods for a squib
|
||||
/// It's intended to allow interaction with squib defaults
|
||||
/// 13574 Design for Default squib config file settings
|
||||
/// </summary>
|
||||
public interface ISquibSettingDefaults
|
||||
{
|
||||
/// <summary>
|
||||
/// gets/sets the squib tolerance low default
|
||||
/// the low tolerance for squib resistance in ohms
|
||||
/// this is the minimum resistance value for a valid squib load
|
||||
/// </summary>
|
||||
double ToleranceLowDefault{ get; set; }
|
||||
/// <summary>
|
||||
/// gets/sets the squib tolerance high default
|
||||
/// the high tolerance for squib resistance in ohms
|
||||
/// this is the maximum resistance value for a valid squib load
|
||||
/// </summary>
|
||||
double ToleranceHighDefault{ get; set; }
|
||||
/// <summary>
|
||||
/// gets/sets the squib output current default
|
||||
/// the squib output current in amps
|
||||
/// this is the current outputted by a squib in constant current
|
||||
/// mode. It is only observed in constant current
|
||||
/// </summary>
|
||||
double OutputCurrentDefault{ get; set; }
|
||||
/// <summary>
|
||||
/// gets/sets the squib measurement type default
|
||||
/// the squib measurement type controls the alternate measurement type of
|
||||
/// of a squib
|
||||
/// </summary>
|
||||
SquibMeasurementType MeasurementTypeDefault { get; set; }
|
||||
/// <summary>
|
||||
/// gets/sets the squib firemode default
|
||||
/// the squib fire mode determines how the squib is fired
|
||||
/// [cap discharge/constant current/ac discharge]
|
||||
/// </summary>
|
||||
SquibFireMode FireModeDefault { get; set; }
|
||||
/// <summary>
|
||||
/// gets/sets whether to limit squib output duration default
|
||||
/// Limit duration allows for duration of output to be constrained
|
||||
/// </summary>
|
||||
bool LimitDurationDefault { get; set; }
|
||||
/// <summary>
|
||||
/// gets/sets the squib output duration in ms default
|
||||
/// the squib fire duration is the amount of time to output current
|
||||
/// It is only valid if the output is being limited
|
||||
/// </summary>
|
||||
double FireDurationMS { get; set; }
|
||||
/// <summary>
|
||||
/// gets/sets the delay before firing squib in ms default
|
||||
/// the squib fire delay is the amount of time after a trigger is received
|
||||
/// before output begins
|
||||
/// </summary>
|
||||
double FireDelayMS{ get; set; }
|
||||
/// <summary>
|
||||
/// indicates whether the setting is valid or not
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
bool Validate();
|
||||
/// <summary>
|
||||
/// indicates whether tolerance value is valid
|
||||
/// </summary>
|
||||
bool ToleranceValid { get; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace DTS.Common.XMLUtils
|
||||
{
|
||||
[XmlRootAttribute("ExportFile")]
|
||||
public class ExportFileXMLClass
|
||||
{
|
||||
[XmlElement("TestSetups")]
|
||||
public TestSetupsXMLClass[] TestSetupsOuter { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user