init
This commit is contained in:
@@ -0,0 +1,65 @@
|
||||
namespace DTS.Common.Interface.DASFactory.Diagnostics
|
||||
{
|
||||
public interface IDiagnosticActions
|
||||
{
|
||||
/// <summary>
|
||||
/// Which DAS Channel (CH# WRT entire DAS unit) are these diagnostic test
|
||||
/// instructions for?
|
||||
/// </summary>
|
||||
int DASChannelNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Should we measure the excitation voltage being applied to this sensor?
|
||||
/// </summary>
|
||||
bool MeasureExcitation { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Should we measure the sensor's offset from 0? (If measured, the returned offset can
|
||||
/// be checked against the high and low offset limits that are properties of the
|
||||
/// AnalogInputDasChannel object corresponding to this sensor.)
|
||||
/// </summary>
|
||||
bool MeasureOffset { get; set; }
|
||||
/// <summary>
|
||||
/// should we check the open/closed/low/high nature of a digital input channel?
|
||||
/// </summary>
|
||||
bool CheckDigitalState { get; set; }
|
||||
|
||||
bool MeasureInternalOffset { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Should the firmware compensate for the offset from 0 of this sensor?
|
||||
/// </summary>
|
||||
bool RemoveOffset { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Should we measure the noise floor as a percentage of full scale readings?
|
||||
/// </summary>
|
||||
bool MeasureNoise { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Should an emulated shunt-check be performed on this sensor.
|
||||
/// </summary>
|
||||
bool PerformShuntCheck { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// should run a squib fire check on channel
|
||||
/// </summary>
|
||||
bool SquibFireCheck { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// perform a voltage insertion gain check (SLICE Pro)
|
||||
/// </summary>
|
||||
bool PerformVoltageInsertCheck { get; set; }
|
||||
/// <summary>
|
||||
/// Should a Calibration signal-check be performed on this sensor.
|
||||
/// </summary>
|
||||
bool PerformCalSignalCheck { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Should the resistance of the bridge be measured?
|
||||
/// </summary>
|
||||
bool MeasureBridgeResistance { get; set; }
|
||||
|
||||
bool AllActionsDisabled();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Windows.Input;
|
||||
using DTS.Common.Base;
|
||||
using DTS.Common.Enums.Viewer;
|
||||
using DTS.Common.Interface.Sensors.SoftwareFilters;
|
||||
using Microsoft.Practices.Prism.Commands;
|
||||
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IChartOptionsModel : IBaseModel
|
||||
{
|
||||
/// <summary>
|
||||
/// true if all channels support ADC
|
||||
/// </summary>
|
||||
bool SupportsADC { get; set; }
|
||||
/// <summary>
|
||||
/// true if all channels support mV
|
||||
/// </summary>
|
||||
bool SupportsMV { get; set; }
|
||||
/// <summary>
|
||||
/// indicates if current mV option is for Volts or mV
|
||||
/// </summary>
|
||||
bool DisplayingVolts { get; set; }
|
||||
/// <summary>
|
||||
/// returns mV or V depending on DisplayingVolts value
|
||||
/// </summary>
|
||||
string MVOrV { get; }
|
||||
List<double> FullScaleValues { get; set; }
|
||||
double SelectedFullScaleValue { get; set; }
|
||||
double MinFixedY { get; set; }
|
||||
double MaxFixedY { get; set; }
|
||||
bool LockedT { get; set; }
|
||||
bool LockedY { get; set; }
|
||||
double MinFixedT { get; set; }
|
||||
double MaxFixedT { get; set; }
|
||||
bool ShowCursor { get; set; }
|
||||
string CurrentCursorValues { get; set; }
|
||||
YRangeScaleEnum YRange { get; set; }
|
||||
ChartUnitTypeEnum UnitType { get; set; }
|
||||
TimeUnitTypeEnum TimeUnitType { get; set; }
|
||||
string UnitTypeDescription { get; }
|
||||
FilterOptionEnum Filter { get; set; }
|
||||
//FB 13120 Updated to use IFilterClass
|
||||
IFilterClass SelectedFilter { get; set; }
|
||||
IChartOptionsViewModel Parent { get; set; }
|
||||
bool IsCursorsAvailable { get; set; }
|
||||
bool CanPublishChanges { get; set; }
|
||||
bool ReadData { get; set; }
|
||||
DelegateCommand ResetZoomCommand { get; }
|
||||
DelegateCommand ResetTCommand { get; }
|
||||
DelegateCommand SaveToPDFCommand { get; }
|
||||
bool IsDigitalChannel { get; set; }
|
||||
bool DecimateData { get; set; }
|
||||
long WidthPoints { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,263 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Microsoft.Practices.ServiceLocation</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:Microsoft.Practices.ServiceLocation.ActivationException">
|
||||
<summary>
|
||||
The standard exception thrown when a ServiceLocator has an error in resolving an object.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Practices.ServiceLocation.ActivationException.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:System.Exception" /> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Practices.ServiceLocation.ActivationException.#ctor(System.String)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:System.Exception" /> class with a specified error message.
|
||||
</summary>
|
||||
<param name="message">
|
||||
The message that describes the error.
|
||||
</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Practices.ServiceLocation.ActivationException.#ctor(System.String,System.Exception)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:System.Exception" /> class with a specified error message and a reference to the inner exception that is the cause of this exception.
|
||||
</summary>
|
||||
<param name="message">
|
||||
The error message that explains the reason for the exception.
|
||||
</param>
|
||||
<param name="innerException">
|
||||
The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
|
||||
</param>
|
||||
</member>
|
||||
<member name="T:Microsoft.Practices.ServiceLocation.IServiceLocator">
|
||||
<summary>
|
||||
The generic Service Locator interface. This interface is used
|
||||
to retrieve services (instances identified by type and optional
|
||||
name) from a container.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Practices.ServiceLocation.IServiceLocator.GetInstance(System.Type)">
|
||||
<summary>
|
||||
Get an instance of the given <paramref name="serviceType"/>.
|
||||
</summary>
|
||||
<param name="serviceType">Type of object requested.</param>
|
||||
<exception cref="T:Microsoft.Practices.ServiceLocation.ActivationException">if there is an error resolving
|
||||
the service instance.</exception>
|
||||
<returns>The requested service instance.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Practices.ServiceLocation.IServiceLocator.GetInstance(System.Type,System.String)">
|
||||
<summary>
|
||||
Get an instance of the given named <paramref name="serviceType"/>.
|
||||
</summary>
|
||||
<param name="serviceType">Type of object requested.</param>
|
||||
<param name="key">Name the object was registered with.</param>
|
||||
<exception cref="T:Microsoft.Practices.ServiceLocation.ActivationException">if there is an error resolving
|
||||
the service instance.</exception>
|
||||
<returns>The requested service instance.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Practices.ServiceLocation.IServiceLocator.GetAllInstances(System.Type)">
|
||||
<summary>
|
||||
Get all instances of the given <paramref name="serviceType"/> currently
|
||||
registered in the container.
|
||||
</summary>
|
||||
<param name="serviceType">Type of object requested.</param>
|
||||
<exception cref="T:Microsoft.Practices.ServiceLocation.ActivationException">if there is are errors resolving
|
||||
the service instance.</exception>
|
||||
<returns>A sequence of instances of the requested <paramref name="serviceType"/>.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Practices.ServiceLocation.IServiceLocator.GetInstance``1">
|
||||
<summary>
|
||||
Get an instance of the given <typeparamref name="TService"/>.
|
||||
</summary>
|
||||
<typeparam name="TService">Type of object requested.</typeparam>
|
||||
<exception cref="T:Microsoft.Practices.ServiceLocation.ActivationException">if there is are errors resolving
|
||||
the service instance.</exception>
|
||||
<returns>The requested service instance.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Practices.ServiceLocation.IServiceLocator.GetInstance``1(System.String)">
|
||||
<summary>
|
||||
Get an instance of the given named <typeparamref name="TService"/>.
|
||||
</summary>
|
||||
<typeparam name="TService">Type of object requested.</typeparam>
|
||||
<param name="key">Name the object was registered with.</param>
|
||||
<exception cref="T:Microsoft.Practices.ServiceLocation.ActivationException">if there is are errors resolving
|
||||
the service instance.</exception>
|
||||
<returns>The requested service instance.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Practices.ServiceLocation.IServiceLocator.GetAllInstances``1">
|
||||
<summary>
|
||||
Get all instances of the given <typeparamref name="TService"/> currently
|
||||
registered in the container.
|
||||
</summary>
|
||||
<typeparam name="TService">Type of object requested.</typeparam>
|
||||
<exception cref="T:Microsoft.Practices.ServiceLocation.ActivationException">if there is are errors resolving
|
||||
the service instance.</exception>
|
||||
<returns>A sequence of instances of the requested <typeparamref name="TService"/>.</returns>
|
||||
</member>
|
||||
<member name="T:Microsoft.Practices.ServiceLocation.Properties.Resources">
|
||||
<summary>
|
||||
A strongly-typed resource class, for looking up localized strings, etc.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Practices.ServiceLocation.Properties.Resources.ResourceManager">
|
||||
<summary>
|
||||
Returns the cached ResourceManager instance used by this class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Practices.ServiceLocation.Properties.Resources.Culture">
|
||||
<summary>
|
||||
Overrides the current thread's CurrentUICulture property for all
|
||||
resource lookups using this strongly typed resource class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Practices.ServiceLocation.Properties.Resources.ActivateAllExceptionMessage">
|
||||
<summary>
|
||||
Looks up a localized string similar to Activation error occured while trying to get all instances of type {0}.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Practices.ServiceLocation.Properties.Resources.ActivationExceptionMessage">
|
||||
<summary>
|
||||
Looks up a localized string similar to Activation error occured while trying to get instance of type {0}, key "{1}".
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.Practices.ServiceLocation.ServiceLocator">
|
||||
<summary>
|
||||
This class provides the ambient container for this application. If your
|
||||
framework defines such an ambient container, use ServiceLocator.Current
|
||||
to get it.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Practices.ServiceLocation.ServiceLocator.SetLocatorProvider(Microsoft.Practices.ServiceLocation.ServiceLocatorProvider)">
|
||||
<summary>
|
||||
Set the delegate that is used to retrieve the current container.
|
||||
</summary>
|
||||
<param name="newProvider">Delegate that, when called, will return
|
||||
the current ambient container.</param>
|
||||
</member>
|
||||
<member name="P:Microsoft.Practices.ServiceLocation.ServiceLocator.Current">
|
||||
<summary>
|
||||
The current ambient container.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase">
|
||||
<summary>
|
||||
This class is a helper that provides a default implementation
|
||||
for most of the methods of <see cref="T:Microsoft.Practices.ServiceLocation.IServiceLocator"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetService(System.Type)">
|
||||
<summary>
|
||||
Implementation of <see cref="M:System.IServiceProvider.GetService(System.Type)"/>.
|
||||
</summary>
|
||||
<param name="serviceType">The requested service.</param>
|
||||
<exception cref="T:Microsoft.Practices.ServiceLocation.ActivationException">if there is an error in resolving the service instance.</exception>
|
||||
<returns>The requested object.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance(System.Type)">
|
||||
<summary>
|
||||
Get an instance of the given <paramref name="serviceType"/>.
|
||||
</summary>
|
||||
<param name="serviceType">Type of object requested.</param>
|
||||
<exception cref="T:Microsoft.Practices.ServiceLocation.ActivationException">if there is an error resolving
|
||||
the service instance.</exception>
|
||||
<returns>The requested service instance.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance(System.Type,System.String)">
|
||||
<summary>
|
||||
Get an instance of the given named <paramref name="serviceType"/>.
|
||||
</summary>
|
||||
<param name="serviceType">Type of object requested.</param>
|
||||
<param name="key">Name the object was registered with.</param>
|
||||
<exception cref="T:Microsoft.Practices.ServiceLocation.ActivationException">if there is an error resolving
|
||||
the service instance.</exception>
|
||||
<returns>The requested service instance.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetAllInstances(System.Type)">
|
||||
<summary>
|
||||
Get all instances of the given <paramref name="serviceType"/> currently
|
||||
registered in the container.
|
||||
</summary>
|
||||
<param name="serviceType">Type of object requested.</param>
|
||||
<exception cref="T:Microsoft.Practices.ServiceLocation.ActivationException">if there is are errors resolving
|
||||
the service instance.</exception>
|
||||
<returns>A sequence of instances of the requested <paramref name="serviceType"/>.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance``1">
|
||||
<summary>
|
||||
Get an instance of the given <typeparamref name="TService"/>.
|
||||
</summary>
|
||||
<typeparam name="TService">Type of object requested.</typeparam>
|
||||
<exception cref="T:Microsoft.Practices.ServiceLocation.ActivationException">if there is are errors resolving
|
||||
the service instance.</exception>
|
||||
<returns>The requested service instance.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance``1(System.String)">
|
||||
<summary>
|
||||
Get an instance of the given named <typeparamref name="TService"/>.
|
||||
</summary>
|
||||
<typeparam name="TService">Type of object requested.</typeparam>
|
||||
<param name="key">Name the object was registered with.</param>
|
||||
<exception cref="T:Microsoft.Practices.ServiceLocation.ActivationException">if there is are errors resolving
|
||||
the service instance.</exception>
|
||||
<returns>The requested service instance.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetAllInstances``1">
|
||||
<summary>
|
||||
Get all instances of the given <typeparamref name="TService"/> currently
|
||||
registered in the container.
|
||||
</summary>
|
||||
<typeparam name="TService">Type of object requested.</typeparam>
|
||||
<exception cref="T:Microsoft.Practices.ServiceLocation.ActivationException">if there is are errors resolving
|
||||
the service instance.</exception>
|
||||
<returns>A sequence of instances of the requested <typeparamref name="TService"/>.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.DoGetInstance(System.Type,System.String)">
|
||||
<summary>
|
||||
When implemented by inheriting classes, this method will do the actual work of resolving
|
||||
the requested service instance.
|
||||
</summary>
|
||||
<param name="serviceType">Type of instance requested.</param>
|
||||
<param name="key">Name of registered service you want. May be null.</param>
|
||||
<returns>The requested service instance.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.DoGetAllInstances(System.Type)">
|
||||
<summary>
|
||||
When implemented by inheriting classes, this method will do the actual work of
|
||||
resolving all the requested service instances.
|
||||
</summary>
|
||||
<param name="serviceType">Type of service requested.</param>
|
||||
<returns>Sequence of service instance objects.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.FormatActivationExceptionMessage(System.Exception,System.Type,System.String)">
|
||||
<summary>
|
||||
Format the exception message for use in an <see cref="T:Microsoft.Practices.ServiceLocation.ActivationException"/>
|
||||
that occurs while resolving a single service.
|
||||
</summary>
|
||||
<param name="actualException">The actual exception thrown by the implementation.</param>
|
||||
<param name="serviceType">Type of service requested.</param>
|
||||
<param name="key">Name requested.</param>
|
||||
<returns>The formatted exception message string.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.FormatActivateAllExceptionMessage(System.Exception,System.Type)">
|
||||
<summary>
|
||||
Format the exception message for use in an <see cref="T:Microsoft.Practices.ServiceLocation.ActivationException"/>
|
||||
that occurs while resolving multiple service instances.
|
||||
</summary>
|
||||
<param name="actualException">The actual exception thrown by the implementation.</param>
|
||||
<param name="serviceType">Type of service requested.</param>
|
||||
<returns>The formatted exception message string.</returns>
|
||||
</member>
|
||||
<member name="T:Microsoft.Practices.ServiceLocation.ServiceLocatorProvider">
|
||||
<summary>
|
||||
This delegate type is used to provide a method that will
|
||||
return the current container. Used with the <see cref="T:Microsoft.Practices.ServiceLocation.ServiceLocator"/>
|
||||
static accessor class.
|
||||
</summary>
|
||||
<returns>An <see cref="T:Microsoft.Practices.ServiceLocation.IServiceLocator"/>.</returns>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 261 B |
@@ -0,0 +1,51 @@
|
||||
using DTS.Common.Base;
|
||||
using System.Windows.Controls;
|
||||
|
||||
namespace DTS.Common.Interface.Menu.HamburgerMenu
|
||||
{
|
||||
/// <summary>
|
||||
/// this class describes the view module for the group import module
|
||||
/// this handles interaction betweens the views and the application, as well as
|
||||
/// the logic and intermediate data for the module
|
||||
/// </summary>
|
||||
public interface IHamburgerMenuViewModel : IBaseViewModel
|
||||
{
|
||||
IHamburgerMenuView View { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// any work that needs to be done when a view is loaded
|
||||
/// </summary>
|
||||
void OnSetActive();
|
||||
/// <summary>
|
||||
/// any work that needs to be done when view is unloaded
|
||||
/// </summary>
|
||||
void Unset();
|
||||
/// <summary>
|
||||
/// returns the menu for the hamburger menu
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
ContextMenu GetContextMenu();
|
||||
/// <summary>
|
||||
/// sets the menu items for the hamburger menu
|
||||
/// </summary>
|
||||
/// <param name="items"></param>
|
||||
void SetMenuItems(string[] items);
|
||||
/// <summary>
|
||||
/// clear the menu items
|
||||
/// </summary>
|
||||
void ClearMenuItems();
|
||||
|
||||
/// <summary>
|
||||
/// handler for when items are pressed
|
||||
/// </summary>
|
||||
MenuItemPressedDelegate MenuItemPressed { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// whether a test is currently running or not
|
||||
/// 15324 Warning dialog displayed on every tab change once admin user tries to view another users view
|
||||
/// </summary>
|
||||
bool TestRunning { get; }
|
||||
}
|
||||
|
||||
public delegate void MenuItemPressedDelegate(string command);
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
using System.Windows;
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IViewerShellView : IBaseView { }
|
||||
}
|
||||
Reference in New Issue
Block a user