init
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
using DTS.Common.Base;
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IAddCalculatedChannelView : IBaseView { }
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
using DTS.Common.Base;
|
||||
using System.Windows.Input;
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IAddCalculatedChannelViewModel : IBaseViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the Search View.
|
||||
/// </summary>
|
||||
IBaseView View { get; set; }
|
||||
IBaseViewModel Parent { get; set; }
|
||||
void PublishChanges();
|
||||
bool IncludeGroupNameInISOExport { get; set; }
|
||||
|
||||
int DefaultDTSEncoding { get; set; }
|
||||
ICommand AddCalculatedChannelCommand { get; }
|
||||
object ContextSearchRegion { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
using System.Collections.Generic;
|
||||
using DTS.Common.Base;
|
||||
using DTS.Common.Enums.Viewer;
|
||||
using DTS.Common.Interface.Sensors.SoftwareFilters;
|
||||
using 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; }
|
||||
void SetSelectedFilterToUnfilteredNoRead();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
using DTS.Common.Base;
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IChartOptionsView : IBaseView { }
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
using DTS.Common.Base;
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IChartOptionsViewModel : IBaseViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the Search View.
|
||||
/// </summary>
|
||||
IBaseView View { get; set; }
|
||||
IBaseViewModel Parent { get; set; }
|
||||
IChartOptionsModel Model { get; set; }
|
||||
void PublishChanges();
|
||||
void ResetZoomMethod();
|
||||
void ResetTMethod();
|
||||
void SaveToPDFMethod();
|
||||
void ShowCusor(bool value);
|
||||
void ShowMinMaxCursor(bool value);
|
||||
object ContextSearchRegion { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IFilterView : IBaseView { }
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using DTS.Common.Base;
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IFilterViewModel : IBaseViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the Search View.
|
||||
/// </summary>
|
||||
IBaseView View { get; set; }
|
||||
IBaseViewModel Parent { get; set; }
|
||||
|
||||
object ContextSearchRegion { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IExportGraphMainView : IBaseView { }
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Specialized;
|
||||
using System.Threading;
|
||||
using DTS.Common.Base;
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IExportGraphMainViewModel : IBaseViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the Graph Main View.
|
||||
/// </summary>
|
||||
IExportGraphMainView View { get; set; }
|
||||
IBaseViewModel Parent { get; set; }
|
||||
List<ITestChannel> LockedChannelList { get; set; }
|
||||
List<ITestChannel> SelectedChannelList { get; set; }
|
||||
List<ITestEvent> SelectedEventList { get; set; }
|
||||
string LockedGroupName { get; set; }
|
||||
void PublishSelectedChannels();
|
||||
void AddSelectedChannel(ITestChannel channel);
|
||||
void AddSelectedGroupChannels(string groupName, List<ITestChannel> channels);
|
||||
void AddToSelectedEvents(string groupName, List<ITestEvent> events);
|
||||
void RemoveFromSelectedEvents(string groupName, List<ITestEvent> events);
|
||||
void SetItemsBetween(int startTreeIndex, int endTreeIndex);
|
||||
void ResetAllItems();
|
||||
void AddLockedChannel(ITestChannel channel, bool isLocked);
|
||||
void AddLockedEvents(string testName, string groupName, List<ITestEvent> events, bool isLocked);
|
||||
void AddLockedGroupChannels(string testName, string groupName, List<ITestChannel> channels, bool isLocked);
|
||||
void GraphList_CollectionChanged(object sender, NotifyCollectionChangedEventArgs e);
|
||||
bool SettingChildNodesToTrue { get; set; }
|
||||
bool SettingOrResettingChildNodes { get; set; }
|
||||
bool SettingPeerNodeToTrue { get; set; }
|
||||
bool SettingItemsBetween { get; set; }
|
||||
bool ResettingAllItems { get; set; }
|
||||
int LastIndexChecked { get; }
|
||||
void SetLastIndexChecked(int index);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IGraphChannelView : IBaseView { }
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
using System.Collections.ObjectModel;
|
||||
using DTS.Common.Base;
|
||||
using DTS.Common.Classes.Viewer.TestMetadata;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IGraphChannelViewModel : IBaseViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the Tab View.
|
||||
/// </summary>
|
||||
IGraphChannelView View { get; }
|
||||
ObservableCollection<ITestChannel> GraphChannelList { get; set; }
|
||||
ObservableCollection<ITestChannel> SelectedGraphChannelList { get; set; }
|
||||
TestChannel SelectedGraphChannel { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IGraphMainView : IBaseView { }
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Specialized;
|
||||
using DTS.Common.Base;
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IGraphMainViewModel : IBaseViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the Graph Main View.
|
||||
/// </summary>
|
||||
IGraphMainView View { get; set; }
|
||||
IBaseViewModel Parent { get; set; }
|
||||
List<ITestChannel> LockedChannelList { get; set; }
|
||||
List<ITestChannel> SelectedChannelList { get; set; }
|
||||
string LockedGroupName { get; set; }
|
||||
void PublishSelectedChannels();
|
||||
void AddSelectedChannel(ITestChannel channel);
|
||||
void AddSelectedGroupChannels(string groupName, List<ITestChannel> channels);
|
||||
void AddLockedChannel(ITestChannel channel, bool isLocked);
|
||||
void AddLockedGroupChannels(string testName, string groupName, List<ITestChannel> channels, bool isLocked);
|
||||
void GraphList_CollectionChanged(object sender, NotifyCollectionChangedEventArgs e);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IGraphPropertyView : IBaseView { }
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IGraphPropertyViewModel : IBaseViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the Tab View.
|
||||
/// </summary>
|
||||
IGraphPropertyView View { get; }
|
||||
}
|
||||
}
|
||||
13
Common/DTS.Common/Interface/DTS.Viewer/Graphs/IGraphView.cs
Normal file
13
Common/DTS.Common/Interface/DTS.Viewer/Graphs/IGraphView.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System.Collections.ObjectModel;
|
||||
using DTS.Common.Base;
|
||||
using DTS.Common.Interface;
|
||||
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IGraphView : IBaseView
|
||||
{
|
||||
//void SetGraphs(ObservableCollection<ITestDataSeries> graphs);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IGraphViewModel : IBaseViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the Tab View.
|
||||
/// </summary>
|
||||
IGraphView View { get; }
|
||||
ITestDataSeriesView DataSeriesView { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Windows.Media;
|
||||
using DTS.Common.Base;
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ITestDataSeries : IBaseModel
|
||||
{
|
||||
string TestGroup { get; set; }
|
||||
string TestSetupName { get; set; }
|
||||
|
||||
string TestId { get; set; }
|
||||
string ChannelId { get; set; }
|
||||
double[] Xvalue { get; set; }
|
||||
double[] Yvalue { get; set; }
|
||||
Brush GraphColor { get; set; }
|
||||
|
||||
string HardwareChannel { get; set; }
|
||||
string Bridge { get; set; }
|
||||
string GroupName { get; set; }
|
||||
string SWAAF { get; set; }
|
||||
string HWAAF { get; set; }
|
||||
string SampleRate { get; set; }
|
||||
string ISOCode { get; set; }
|
||||
string ISOChannelName { get; set; }
|
||||
string UserCode { get; set; }
|
||||
string UserChannelName { get; set; }
|
||||
string ChannelName { get; set; }
|
||||
string Description { get; }
|
||||
string SensorSN { get; set; }
|
||||
string SensorSNDisplay { get; }
|
||||
string EngineeringUnits { get; set; }
|
||||
string Excitation { get; set; }
|
||||
string Polarity { get; set; }
|
||||
string MinY { get; }
|
||||
string MaxY { get; }
|
||||
string AvgY { get; }
|
||||
string StdDevY { get; }
|
||||
string T0EUValue { get; }
|
||||
/// <summary>
|
||||
/// represents the peak frequency in series according to
|
||||
/// magnitude
|
||||
/// only populated when FFT is true
|
||||
/// </summary>
|
||||
double PeakFrequency { get; }
|
||||
/// <summary>
|
||||
/// represents the peak magnitude of frequencies in data set
|
||||
/// only populated when FFT is true
|
||||
/// </summary<
|
||||
double PeakMagnitude { get; }
|
||||
string RecordingMode { get; set; }
|
||||
bool HIC { get; }
|
||||
string HICValue { get; }
|
||||
string T1Time { get; }
|
||||
string T2Time { get; }
|
||||
/// <summary>
|
||||
/// is true if the series is an FFT of signal data
|
||||
/// </summary>
|
||||
bool FFT { get; }
|
||||
/// <summary>
|
||||
/// holds the root-mean-squared acceleration
|
||||
/// only calculated in PSD results graphs
|
||||
/// </summary>
|
||||
double GRMS { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
using DTS.Common.Base;
|
||||
using DTS.Common.Events;
|
||||
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ITestDataSeriesView : IBaseView
|
||||
{
|
||||
bool SaveReportToPDF(string directory);
|
||||
bool SaveReportToCSV(string directory);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
using System.Windows.Input;
|
||||
using DTS.Common.Base;
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ITestDataSeriesViewModel : IBaseViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the Tab View.
|
||||
/// </summary>
|
||||
ITestDataSeriesView View { get; set; }
|
||||
ITestDataSeries Model { get; set; }
|
||||
void MoveCursor(object sender, KeyEventArgs e);
|
||||
string CurrentCursorValues { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ITestDataView : IBaseView { }
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
using System.Windows.Input;
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ITestDataViewModel : IBaseViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the Tab View.
|
||||
/// </summary>
|
||||
ITestDataView View { get; set; }
|
||||
ITestDataSeries Model { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public delegate void SetReadCalcProgressValueDelegate(string message = "", double value = -1D);
|
||||
}
|
||||
6
Common/DTS.Common/Interface/DTS.Viewer/ICursorView.cs
Normal file
6
Common/DTS.Common/Interface/DTS.Viewer/ICursorView.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ICursorView : IBaseView { }
|
||||
}
|
||||
12
Common/DTS.Common/Interface/DTS.Viewer/ICursorViewModel.cs
Normal file
12
Common/DTS.Common/Interface/DTS.Viewer/ICursorViewModel.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ICursorViewModel : IBaseViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the Tab View.
|
||||
/// </summary>
|
||||
ICursorView View { get; }
|
||||
}
|
||||
}
|
||||
6
Common/DTS.Common/Interface/DTS.Viewer/IDiagView.cs
Normal file
6
Common/DTS.Common/Interface/DTS.Viewer/IDiagView.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IDiagView : IBaseView { }
|
||||
}
|
||||
12
Common/DTS.Common/Interface/DTS.Viewer/IDiagViewModel.cs
Normal file
12
Common/DTS.Common/Interface/DTS.Viewer/IDiagViewModel.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IDiagViewModel : IBaseViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the Tab View.
|
||||
/// </summary>
|
||||
IDiagView View { get; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IDockPanelHorizontalView : IBaseView { }
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IDockPanelHorizontalViewModel : IBaseViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the Tab View.
|
||||
/// </summary>
|
||||
IDockPanelHorizontalView View { get; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IDockPanelVerticalView : IBaseView { }
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IDockPanelVerticalViewModel : IBaseViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the Tab View.
|
||||
/// </summary>
|
||||
IDockPanelVerticalView View { get; }
|
||||
}
|
||||
}
|
||||
11
Common/DTS.Common/Interface/DTS.Viewer/IExportModule.cs
Normal file
11
Common/DTS.Common/Interface/DTS.Viewer/IExportModule.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using Prism.Modularity;
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IExportModule : IModule
|
||||
{
|
||||
void StartSession();
|
||||
bool SessionStarted { get; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IGraphPropertyView : IBaseView { }
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IGraphPropertyViewModel : IBaseViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the Tab View.
|
||||
/// </summary>
|
||||
IGraphPropertyView View { get; }
|
||||
}
|
||||
}
|
||||
14
Common/DTS.Common/Interface/DTS.Viewer/IMainLiteView.cs
Normal file
14
Common/DTS.Common/Interface/DTS.Viewer/IMainLiteView.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System.Windows.Controls;
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IMainLiteView : IBaseView
|
||||
{
|
||||
StackPanel MainShell { get; set; }
|
||||
ContentControl MainRegion { get; set; }
|
||||
ContentControl NavigationRegion { get; set; }
|
||||
ContentControl HorizontalTabRegion { get; set; }
|
||||
ContentControl VerticalTabRegion { get; set; }
|
||||
}
|
||||
}
|
||||
19
Common/DTS.Common/Interface/DTS.Viewer/IMainLiteViewModel.cs
Normal file
19
Common/DTS.Common/Interface/DTS.Viewer/IMainLiteViewModel.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Windows;
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IMainLiteViewModel : IBaseViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the Main View.
|
||||
/// </summary>
|
||||
IMainView View { get; }
|
||||
object ContextMainRegion { get; set; }
|
||||
object ContextNavigationRegion { get; set; }
|
||||
object ContextHorizontalTabRegion { get; set; }
|
||||
object ContextVerticalTabRegion { get; set; }
|
||||
List<FrameworkElement> GetRegions();
|
||||
}
|
||||
}
|
||||
19
Common/DTS.Common/Interface/DTS.Viewer/IMainViewModel.cs
Normal file
19
Common/DTS.Common/Interface/DTS.Viewer/IMainViewModel.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Windows;
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IMainViewerViewModel : IBaseViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the Main View.
|
||||
/// </summary>
|
||||
IBaseView View { get; }
|
||||
object ContextMainRegion { get; set; }
|
||||
object ContextNavigationRegion { get; set; }
|
||||
object ContextHorizontalTabRegion { get; set; }
|
||||
object ContextVerticalTabRegion { get; set; }
|
||||
List<FrameworkElement> GetRegions();
|
||||
}
|
||||
}
|
||||
14
Common/DTS.Common/Interface/DTS.Viewer/IMainViewerView.cs
Normal file
14
Common/DTS.Common/Interface/DTS.Viewer/IMainViewerView.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System.Windows.Controls;
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IMainViewerView : IBaseView
|
||||
{
|
||||
//StackPanel MainShell { get; set; }
|
||||
//ContentControl MainRegion { get; set; }
|
||||
//ContentControl NavigationRegion { get; set; }
|
||||
//ContentControl HorizontalTabRegion { get; set; }
|
||||
//ContentControl VerticalTabRegion { get; set; }
|
||||
}
|
||||
}
|
||||
11
Common/DTS.Common/Interface/DTS.Viewer/IPSDReportModule .cs
Normal file
11
Common/DTS.Common/Interface/DTS.Viewer/IPSDReportModule .cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using Prism.Modularity;
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IPSDReportModule : IModule
|
||||
{
|
||||
void StartSession();
|
||||
bool SessionStarted { get; }
|
||||
}
|
||||
}
|
||||
6
Common/DTS.Common/Interface/DTS.Viewer/IPropertyView.cs
Normal file
6
Common/DTS.Common/Interface/DTS.Viewer/IPropertyView.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IPropertyView : IBaseView { }
|
||||
}
|
||||
12
Common/DTS.Common/Interface/DTS.Viewer/IPropertyViewModel.cs
Normal file
12
Common/DTS.Common/Interface/DTS.Viewer/IPropertyViewModel.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IPropertyViewModel : IBaseViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the Tab View.
|
||||
/// </summary>
|
||||
IPropertyView View { get; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ISelectedDataViewModel
|
||||
{
|
||||
string SelectedDataFolder { get; set; }
|
||||
string SelectedDataFile { get; set; }
|
||||
/// <summary>
|
||||
/// sets SelectedDataFile AND includes it in as a selected test
|
||||
/// 16158 Browse button on View Data tab not functiona
|
||||
/// </summary>
|
||||
void SelectAndIncludeDataFile(string file);
|
||||
|
||||
}
|
||||
}
|
||||
6
Common/DTS.Common/Interface/DTS.Viewer/IStatsView.cs
Normal file
6
Common/DTS.Common/Interface/DTS.Viewer/IStatsView.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IStatsView : IBaseView { }
|
||||
}
|
||||
12
Common/DTS.Common/Interface/DTS.Viewer/IStatsViewModel.cs
Normal file
12
Common/DTS.Common/Interface/DTS.Viewer/IStatsViewModel.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IStatsViewModel : IBaseViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the Tab View.
|
||||
/// </summary>
|
||||
IStatsView View { get; }
|
||||
}
|
||||
}
|
||||
6
Common/DTS.Common/Interface/DTS.Viewer/ITabItemView.cs
Normal file
6
Common/DTS.Common/Interface/DTS.Viewer/ITabItemView.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ITabItemView : IBaseView { }
|
||||
}
|
||||
17
Common/DTS.Common/Interface/DTS.Viewer/ITabItemViewModel.cs
Normal file
17
Common/DTS.Common/Interface/DTS.Viewer/ITabItemViewModel.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ITabItemViewModel : IBaseViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the Tab Item View.
|
||||
/// </summary>
|
||||
ITabItemView View { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the Tab View.
|
||||
/// </summary>
|
||||
ITabViewModel Parent { get; }
|
||||
}
|
||||
}
|
||||
6
Common/DTS.Common/Interface/DTS.Viewer/ITabView.cs
Normal file
6
Common/DTS.Common/Interface/DTS.Viewer/ITabView.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ITabView : IBaseView { }
|
||||
}
|
||||
12
Common/DTS.Common/Interface/DTS.Viewer/ITabViewModel.cs
Normal file
12
Common/DTS.Common/Interface/DTS.Viewer/ITabViewModel.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ITabViewModel : IBaseViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the Tab View.
|
||||
/// </summary>
|
||||
ITabView View { get; }
|
||||
}
|
||||
}
|
||||
6
Common/DTS.Common/Interface/DTS.Viewer/ITestsView.cs
Normal file
6
Common/DTS.Common/Interface/DTS.Viewer/ITestsView.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ITestsView : IBaseView { }
|
||||
}
|
||||
12
Common/DTS.Common/Interface/DTS.Viewer/ITestsViewModel.cs
Normal file
12
Common/DTS.Common/Interface/DTS.Viewer/ITestsViewModel.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ITestsViewModel : IBaseViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the Tests View.
|
||||
/// </summary>
|
||||
ITestsView View { get; }
|
||||
}
|
||||
}
|
||||
11
Common/DTS.Common/Interface/DTS.Viewer/IViewerModule.cs
Normal file
11
Common/DTS.Common/Interface/DTS.Viewer/IViewerModule.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using Prism.Modularity;
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IViewerModule : IModule
|
||||
{
|
||||
void StartSession();
|
||||
bool SessionStarted { get; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IViewerShellView : IBaseView { }
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Windows;
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IViewerShellViewModel : IBaseViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the Shell View.
|
||||
/// </summary>
|
||||
IViewerShellView View { get; }
|
||||
List<FrameworkElement> GetRegions();
|
||||
object ContextMainRegion { get; set; }
|
||||
}
|
||||
}
|
||||
6
Common/DTS.Common/Interface/DTS.Viewer/IViewerView.cs
Normal file
6
Common/DTS.Common/Interface/DTS.Viewer/IViewerView.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IViewerView : IBaseView { }
|
||||
}
|
||||
12
Common/DTS.Common/Interface/DTS.Viewer/IViewerViewModel.cs
Normal file
12
Common/DTS.Common/Interface/DTS.Viewer/IViewerViewModel.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IViewerViewModel : IBaseViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the Tests View.
|
||||
/// </summary>
|
||||
IViewerView View { get; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ILegendView : IBaseView { }
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ILegendViewModel : IBaseViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the Tab View.
|
||||
/// </summary>
|
||||
ILegendView View { get; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
using DTS.Common.Base;
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IExportMainView : IBaseView { }
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
using DTS.Common.Base;
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IExportMainViewGrid : IBaseView { }
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
using DTS.Common.Base;
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IMainView : IBaseView { }
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Windows;
|
||||
using DTS.Common.Base;
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IMainViewModel : IBaseViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the Main View.
|
||||
/// </summary>
|
||||
IBaseView View { get; }
|
||||
object ContextNavigationRegion { get; set; }
|
||||
object ContextGraphRegion { get; set; }
|
||||
object ContextTestsRegion { get; set; }
|
||||
object ContextGraphsRegion { get; set; }
|
||||
object ContextLegendRegion { get; set; }
|
||||
object ContextDiagRegion { get; set; }
|
||||
object ContextStatsRegion { get; set; }
|
||||
object ContextCursorRegion { get; set; }
|
||||
object ContextPropertyRegion { get; set; }
|
||||
List<FrameworkElement> GetRegions();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
using DTS.Common.Base;
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IViewerMainView : IBaseView { }
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
using DTS.Common.Base;
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IViewerMainViewGrid : IBaseView { }
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Windows;
|
||||
using DTS.Common.Base;
|
||||
|
||||
// ReSharper disable once CheckNamespace
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IViewerMainViewModel : IBaseViewModel, ISelectedDataViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the Main View.
|
||||
/// </summary>
|
||||
IBaseView View { get; set; }
|
||||
object ContextNavigationRegion { get; set; }
|
||||
object ContextGraphRegion { get; set; }
|
||||
object ContextTestsRegion { get; set; }
|
||||
object ContextGraphsRegion { get; set; }
|
||||
object ContextLegendRegion { get; set; }
|
||||
object ContextDiagRegion { get; set; }
|
||||
object ContextStatsRegion { get; set; }
|
||||
object ContextCursorRegion { get; set; }
|
||||
object ContextPropertyRegion { get; set; }
|
||||
List<FrameworkElement> GetRegions();
|
||||
string ConfigPath { get; set; }
|
||||
bool DoesUserHaveEditPermission { get; set; }
|
||||
void ZoomReset();
|
||||
//inform left arrow key was pressed
|
||||
void LeftKeyPress();
|
||||
//inform right arrow key was pressed
|
||||
void RightKeyPress();
|
||||
Common.Enums.IsoViewMode ChannelCodeViewMode { get; set; }
|
||||
Common.Enums.Sensors.CalibrationBehaviors CalibrationBehaviorSetting { get; set; }
|
||||
bool CalibrationBehaviorSettableInViewer { get; set; }
|
||||
Visibility SettingsVisibility { get; }
|
||||
}
|
||||
}
|
||||
5
Common/DTS.Common/Interface/DTS.Viewer/Menu/IMenuView.cs
Normal file
5
Common/DTS.Common/Interface/DTS.Viewer/Menu/IMenuView.cs
Normal file
@@ -0,0 +1,5 @@
|
||||
using DTS.Common.Base;
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IMenuView : IBaseView { }
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IMenuViewModel : IBaseViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the Shell View.
|
||||
/// </summary>
|
||||
IMenuView View { get; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
using DTS.Common.Base;
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface INavigationView : IBaseView { }
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface INavigationViewModel : IBaseViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the Shell View.
|
||||
/// </summary>
|
||||
INavigationView NavigationView { get; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IChannelGRMSSummary : IBaseClass
|
||||
{
|
||||
string ChannelName { get; set; }
|
||||
int SampleRate { get; set; }
|
||||
double GRMS { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
using DTS.Common.Base;
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IPSDReportMainView : IBaseView { }
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IPSDReportMainViewGrid : IBaseView { }
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
using DTS.Common.Base;
|
||||
using System.Collections.Generic;
|
||||
using System.Windows;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
/// <summary>
|
||||
/// Main View Model for PSD Report view. This is going to resemble a lot of Viewer
|
||||
/// </summary>
|
||||
|
||||
public interface IPSDReportMainViewModel : IBaseViewModel, ISelectedDataViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the Main View.
|
||||
/// </summary>
|
||||
IBaseView View { get; set; }
|
||||
|
||||
//bool Standalone { get; set; }
|
||||
object ContextNavigationRegion { get; set; }
|
||||
object ContextGraphRegion { get; set; }
|
||||
object ContextTestsRegion { get; set; }
|
||||
object ContextGraphsRegion { get; set; }
|
||||
object ContextLegendRegion { get; set; }
|
||||
object ContextPropertyRegion { get; set; }
|
||||
List<FrameworkElement> GetRegions();
|
||||
string ConfigPath { get; set; }
|
||||
bool DoesUserHaveEditPermission { get; set; }
|
||||
void ZoomReset();
|
||||
//inform left arrow key was pressed
|
||||
void LeftKeyPress();
|
||||
//inform right arrow key was pressed
|
||||
void RightKeyPress();
|
||||
Common.Enums.IsoViewMode ChannelCodeViewMode { get; set; }
|
||||
Common.Enums.Sensors.CalibrationBehaviors CalibrationBehaviorSetting { get; set; }
|
||||
bool CalibrationBehaviorSettableInViewer { get; set; }
|
||||
Visibility SettingsVisibility { get; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IPSDReportResultsView : IBaseView
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
using DTS.Common.Base;
|
||||
using Prism.Commands;
|
||||
using System.Collections.ObjectModel;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IPSDReportResultsViewModel : IBaseViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the Results View.
|
||||
/// </summary>
|
||||
IBaseView View { get; set; }
|
||||
IBaseViewModel Parent { get; set; }
|
||||
|
||||
DelegateCommand ExportToPDFCommand { get; }
|
||||
DelegateCommand ExportToCSVCommand { get; }
|
||||
ObservableCollection<IChannelGRMSSummary> Results { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
using DTS.Common.Base;
|
||||
using DTS.Common.Enums.Viewer.Reports;
|
||||
using Prism.Commands;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IPSDReportSettingsModel : IBaseModel
|
||||
{
|
||||
IPSDReportSettingsViewModel Parent { get; set; }
|
||||
bool LowPassFilterEnabled { get; set; }
|
||||
double LowPassFilterFrequency { get; set; }
|
||||
PassFilterType LowPassFilterType { get; set; }
|
||||
int LowPassFilterOrder { get; set; }
|
||||
bool HighPassFilterEnabled { get; set; }
|
||||
double HighPassFilterFrequency { get; set; }
|
||||
PassFilterType HighPassFilterType { get; set; }
|
||||
int HighPassFilterOrder { get; set; }
|
||||
WindowWidth WindowWidth { get; set; }
|
||||
WindowType WindowType { get; set; }
|
||||
WindowAveragingType WindowAveragingType { get; set; }
|
||||
double WindowOverlappingPercent { get; set; }
|
||||
bool ShowEnvelope { get; set; }
|
||||
bool CanPublishChanges { get; set; }
|
||||
bool ReadData { get; set; }
|
||||
double DataStart { get; set; }
|
||||
double DataEnd { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IPSDReportSettingsView : IBaseView
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IPSDReportSettingsViewModel : IBaseViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the Settings View.
|
||||
/// </summary>
|
||||
IBaseView View { get; set; }
|
||||
IBaseViewModel Parent { get; set; }
|
||||
IPSDReportSettingsModel Model { get; set; }
|
||||
|
||||
void PublishChanges();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ITestCalculatedChannel : INotifyPropertyChanged
|
||||
{
|
||||
string SerialNumber { get; set; }
|
||||
string ChannelId { get; set; }
|
||||
string Description { get; set; }
|
||||
string ChannelGroupName { get; set; }
|
||||
string ChannelType { get; set; }
|
||||
int Number { get; set; }
|
||||
string DigitalMultiplier { get; set; }
|
||||
string DigitalMode { get; set; }
|
||||
DateTime Start { get; set; }
|
||||
string Bridge { get; set; }
|
||||
int BridgeResistanceOhms { get; set; }
|
||||
double ZeroPoint { get; set; }
|
||||
string ChannelDescriptionString { get; set; }
|
||||
string ChannelName2 { get; set; }
|
||||
string HardwareChannelName { get; set; }
|
||||
double DesiredRange { get; set; }
|
||||
double Sensitivity { get; set; }
|
||||
string SoftwareFilter { get; set; }
|
||||
bool ProportionalToExcitation { get; set; }
|
||||
bool IsInverted { get; set; }
|
||||
string LinearizationFormula { get; set; }
|
||||
bool IsSubsampled { get; set; }
|
||||
int AbsoluteDisplayOrder { get; set; }
|
||||
DateTime LastCalibrationDate { get; set; }
|
||||
string SensorId { get; set; }
|
||||
int OffsetToleranceLowMv { get; set; }
|
||||
int OffsetToleranceHighMv { get; set; }
|
||||
int DataFlag { get; set; }
|
||||
int ExcitationVoltage { get; set; }
|
||||
string Eu { get; set; }
|
||||
bool CalSignalEnabled { get; set; }
|
||||
bool ShuntEnabled { get; set; }
|
||||
bool VoltageInsertionCheckEnabled { get; set; }
|
||||
bool RemoveOffset { get; set; }
|
||||
string ZeroMethod { get; set; }
|
||||
double ZeroAverageWindowBegin { get; set; }
|
||||
double ZeroAverageWindowEnd { get; set; }
|
||||
int InitialEu { get; set; }
|
||||
string InitialOffset { get; set; }
|
||||
int UnsubsampledSampleRateHz { get; set; }
|
||||
double MeasuredShuntDeflectionMv { get; set; }
|
||||
double TargetShuntDeflectionMv { get; set; }
|
||||
double MeasuredExcitationVoltage { get; set; }
|
||||
double FactoryExcitationVoltage { get; set; }
|
||||
double TimeOfFirstSample { get; set; }
|
||||
int Multiplier { get; set; }
|
||||
int UserOffsetEu { get; set; }
|
||||
int UnitConversion { get; set; }
|
||||
bool AtCapacity { get; set; }
|
||||
int CapacityOutputIsBasedOn { get; set; }
|
||||
string SourceChannelNumber { get; set; }
|
||||
string SourceModuleNumber { get; set; }
|
||||
string SourceModuleSerialNumber { get; set; }
|
||||
string Calculation { get; set; }
|
||||
int SampleRateHz { get; set; }
|
||||
string SensitivityUnits { get; set; }
|
||||
int SensorCapacity { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,205 @@
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Windows.Media;
|
||||
using DTS.Common.Base;
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ITestChannel : INotifyPropertyChanged
|
||||
{
|
||||
string Group { get; set; }
|
||||
string SubGroup { get; set; }
|
||||
bool IsGraphChannel { get; set; }
|
||||
string GraphName { get; set; }
|
||||
string TestId { get; set; }
|
||||
|
||||
string TestSetupName { get; set; }
|
||||
string ModuleSerialNumber { get; set; }
|
||||
string SerialNumber { get; set; }
|
||||
string ChannelId { get; set; }
|
||||
string ChannelDisplayName { get; set; }
|
||||
string Description { get; set; }
|
||||
string IsoCode { get; set; }
|
||||
string IsoChannelName { get; set; }
|
||||
string UserCode { get; set; }
|
||||
string UserChannelName { get; set; }
|
||||
string ChannelGroupName { get; set; }
|
||||
string ChannelType { get; set; }
|
||||
bool IsCalculatedChannel { get; set; }
|
||||
int Number { get; set; }
|
||||
string DigitalMultiplier { get; set; }
|
||||
string DigitalMode { get; set; }
|
||||
DateTime Start { get; set; }
|
||||
string Bridge { get; set; }
|
||||
double BridgeResistanceOhms { get; set; }
|
||||
double ZeroPoint { get; set; }
|
||||
string ChannelDescriptionString { get; set; }
|
||||
void SetChannelDescriptionAndDisplayName(string channelDescriptionString);
|
||||
string ChannelName2 { get; set; }
|
||||
string HardwareChannelName { get; set; }
|
||||
double DesiredRange { get; set; }
|
||||
double ActualMaxRangeEu { get; set; }
|
||||
double ActualMinRangeEu { get; set; }
|
||||
double ActualMaxRangeAdc { get; }
|
||||
double ActualMinRangeAdc { get; }
|
||||
double ActualMaxRangeMv { get; set; }
|
||||
double ActualMinRangeMv { get; set; }
|
||||
double Sensitivity { get; set; }
|
||||
string SoftwareFilter { get; set; }
|
||||
bool ProportionalToExcitation { get; set; }
|
||||
bool IsInverted { get; set; }
|
||||
string LinearizationFormula { get; set; }
|
||||
bool IsSubsampled { get; set; }
|
||||
int AbsoluteDisplayOrder { get; set; }
|
||||
DateTime LastCalibrationDate { get; set; }
|
||||
string SensorId { get; set; }
|
||||
int OffsetToleranceLowMv { get; set; }
|
||||
int OffsetToleranceHighMv { get; set; }
|
||||
int DataFlag { get; set; }
|
||||
string ExcitationVoltage { get; set; }
|
||||
string Eu { get; set; }
|
||||
bool CalSignalEnabled { get; set; }
|
||||
bool ShuntEnabled { get; set; }
|
||||
bool VoltageInsertionCheckEnabled { get; set; }
|
||||
bool RemoveOffset { get; set; }
|
||||
string ZeroMethod { get; set; }
|
||||
double ZeroAverageWindowBegin { get; set; }
|
||||
double ZeroAverageWindowEnd { get; set; }
|
||||
int InitialEu { get; set; }
|
||||
string InitialOffset { get; set; }
|
||||
int UnsubsampledSampleRateHz { get; set; }
|
||||
double MeasuredShuntDeflectionMv { get; set; }
|
||||
double TargetShuntDeflectionMv { get; set; }
|
||||
double MeasuredExcitationVoltage { get; set; }
|
||||
double FactoryExcitationVoltage { get; set; }
|
||||
double TimeOfFirstSample { get; set; }
|
||||
double Multiplier { get; set; }
|
||||
double UserOffsetEu { get; set; }
|
||||
int UnitConversion { get; set; }
|
||||
bool AtCapacity { get; set; }
|
||||
int CapacityOutputIsBasedOn { get; set; }
|
||||
string SourceChannelNumber { get; set; }
|
||||
string SourceModuleNumber { get; set; }
|
||||
string SourceModuleSerialNumber { get; set; }
|
||||
string Calculation { get; set; }
|
||||
int SampleRateHz { get; set; }
|
||||
string SensitivityUnits { get; set; }
|
||||
int SensorCapacity { get; set; }
|
||||
string SensorPolarity { get; set; }
|
||||
int ChannelNumber { get; set; }
|
||||
string BinaryFileName { get; set; }
|
||||
string BinaryFilePath { get; set; }
|
||||
double Xmax { get; set; }
|
||||
double Xmin { get; set; }
|
||||
int SequentialNumbers { get; set; }
|
||||
ITestSetupMetadata ParentTestSetup { get; set; }
|
||||
ITestModule ParentModule { get; set; }
|
||||
IBaseViewModel Parent { get; set; }
|
||||
Color ChannelColor { get; set; }
|
||||
string ErrorMessage { get; set; }
|
||||
bool IsError { get; set; }
|
||||
Color? ErrorColor { get; set; }
|
||||
bool IsSelected { get; set; }
|
||||
bool CanSelectChannel { get; set; }
|
||||
bool IsLocked { get; set; }
|
||||
bool CanLock { get; set; }
|
||||
ITestChannel Copy();
|
||||
ulong T1Sample { get; set; }
|
||||
ulong T2Sample { get; set; }
|
||||
double HIC { get; set; }
|
||||
bool UseEUScaler { get; set; }
|
||||
double ScaleFactorEU { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Min value of ADC for entire dataset
|
||||
/// </summary>
|
||||
double MinADC { get; set; }
|
||||
/// <summary>
|
||||
/// Max value in ADC for entire dataset
|
||||
/// </summary>
|
||||
double MaxADC { get; set; }
|
||||
/// <summary>
|
||||
/// Average value in ADC for entire dataset
|
||||
/// </summary>
|
||||
double AveADC { get; set; }
|
||||
/// <summary>
|
||||
/// STD DEV in ADC for entire dataset
|
||||
/// </summary>
|
||||
double StdDevADC { get; set; }
|
||||
/// <summary>
|
||||
/// Value @ T0 in ADC
|
||||
/// </summary>
|
||||
double T0ADC { get; set; }
|
||||
/// <summary>
|
||||
/// Minimum value in mV for entire dataset
|
||||
/// </summary>
|
||||
double MinMV { get; set; }
|
||||
/// <summary>
|
||||
/// Maximum value in mV for entire dataset
|
||||
/// </summary>
|
||||
double MaxMV { get; set; }
|
||||
/// <summary>
|
||||
/// average value in mV for entire dataset
|
||||
/// </summary>
|
||||
double AveMV { get; set; }
|
||||
/// <summary>
|
||||
/// std dev in mV for entire dataset
|
||||
/// </summary>
|
||||
double StdDevMV { get; set; }
|
||||
/// <summary>
|
||||
/// value in mV at T0
|
||||
/// </summary>
|
||||
double T0MV { get; set; }
|
||||
/// <summary>
|
||||
/// minimum value in EU for entire dataset
|
||||
/// </summary>
|
||||
double MinEU { get; set; }
|
||||
/// <summary>
|
||||
/// maximum value in EU for entire dataset
|
||||
/// </summary>
|
||||
double MaxEU { get; set; }
|
||||
/// <summary>
|
||||
/// average value in EU for entire dataset
|
||||
/// </summary>
|
||||
double AveEU { get; set; }
|
||||
/// <summary>
|
||||
/// std dev in EU
|
||||
/// </summary>
|
||||
double StdDevEU { get; set; }
|
||||
/// <summary>
|
||||
/// value at T0 in EU
|
||||
/// </summary>
|
||||
double T0EU { get; set; }
|
||||
/// <summary>
|
||||
/// minimum value for whatever current units are for entire dataset
|
||||
/// </summary>
|
||||
double MinY { get; set; }
|
||||
/// <summary>
|
||||
/// maximum value for whatever current units are for entire dataset
|
||||
/// </summary>
|
||||
double MaxY { get; set; }
|
||||
/// <summary>
|
||||
/// average value for whatever current units are for entire dataset
|
||||
/// </summary>
|
||||
double AveY { get; set; }
|
||||
/// <summary>
|
||||
/// std deviation for whatever current units are
|
||||
/// </summary>
|
||||
double StdDevY { get; set; }
|
||||
/// <summary>
|
||||
/// Value at T0 in whatever current units are
|
||||
/// </summary>
|
||||
double T0Value { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// EID channel was originally set up with
|
||||
/// </summary>
|
||||
string SetupEID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// EID present on channel when data was collected
|
||||
/// </summary>
|
||||
string DataCollectionEID { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
using System.ComponentModel;
|
||||
using DTS.Common.Base;
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ITestEvent : INotifyPropertyChanged
|
||||
{
|
||||
string TestId { get; set; }
|
||||
string TestItem { get; set; }
|
||||
string DTSFile { get; set; }
|
||||
bool IsLocked { get; set; }
|
||||
bool IsSelected { get; set; }
|
||||
bool CanLock { get; set; }
|
||||
IBaseViewModel Parent { get; set; }
|
||||
string Name { get; set; }
|
||||
int TreeIndex { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
using System.Collections.Generic;
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ITestGraphs
|
||||
{
|
||||
string Name { get; set; }
|
||||
string HardwareChannelName { get; set; }
|
||||
List<string> ChannelIds { get; set; }
|
||||
List<ITestChannel> Channels { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
// ReSharper disable CheckNamespace
|
||||
namespace DTS.Common.Interface.TestDefinition
|
||||
{
|
||||
public interface ITestMetadata
|
||||
{
|
||||
ITestRunMetadata TestRun { get; set; }
|
||||
ITestSetupMetadata TestSetup { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
// ReSharper disable CheckNamespace
|
||||
// ReSharper disable InconsistentNaming
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ITestModule : INotifyPropertyChanged
|
||||
{
|
||||
string SerialNumber { get; set; }
|
||||
string BaseSerialNumber { get; set; }
|
||||
int AaFilterRateHz { get; set; }
|
||||
int Number { get; set; }
|
||||
int NumberOfSamples { get; set; }
|
||||
int UnsubsampledNumberOfSamples { get; set; }
|
||||
double RequestedPostTriggerSeconds { get; set; }
|
||||
double RequestedPreTriggerSeconds { get; set; }
|
||||
double PostTriggerSeconds { get; set; }
|
||||
double PreTriggerSeconds { get; set; }
|
||||
string RecordingMode { get; set; }
|
||||
int SampleRateHz { get; set; }
|
||||
int StartRecordSampleNumber { get; set; }
|
||||
int NumberOfChannels { get; set; }
|
||||
bool InlineSerializedData { get; set; }
|
||||
int StartRecordTimestampSec { get; set; }
|
||||
int StartRecordTimestampNanoSec { get; set; }
|
||||
int TriggerTimestampSec { get; set; }
|
||||
int TriggerTimestampNanoSec { get; set; }
|
||||
List<ulong> TriggerSampleNumbers { get; set; }
|
||||
bool PTPMasterSync { get; set; }
|
||||
int TiltSensorAxisXDegreesPre { get; set; }
|
||||
int TiltSensorAxisYDegreesPre { get; set; }
|
||||
int TiltSensorAxisZDegreesPre { get; set; }
|
||||
int TiltSensorAxisXDegreesPost { get; set; }
|
||||
int TiltSensorAxisYDegreesPost { get; set; }
|
||||
int TiltSensorAxisZDegreesPost { get; set; }
|
||||
int TemperatureLocation1Pre { get; set; }
|
||||
int TemperatureLocation2Pre { get; set; }
|
||||
int TemperatureLocation3Pre { get; set; }
|
||||
int TemperatureLocation4Pre { get; set; }
|
||||
int TemperatureLocation1Post { get; set; }
|
||||
int TemperatureLocation2Post { get; set; }
|
||||
int TemperatureLocation3Post { get; set; }
|
||||
int TemperatureLocation4Post { get; set; }
|
||||
List<ITestChannel> Channels { get; set; }
|
||||
List<ITestChannel> CalculatedChannels { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ITestRunMetadata : INotifyPropertyChanged
|
||||
{
|
||||
string Name { get; set; }
|
||||
string Id { get; set; }
|
||||
string Description { get; set; }
|
||||
bool InlineSerializedData { get; set; }
|
||||
string TestGuid { get; set; }
|
||||
int FaultFlags { get; set; }
|
||||
string Software { get; set; }
|
||||
string SoftwareVersion { get; set; }
|
||||
string DataType { get; set; }
|
||||
DateTime FileDate { get; set; }
|
||||
string FilePath { get; set; }
|
||||
List<ITestModule> Modules { get; set; }
|
||||
List<ITestChannel> Channels { get; set; }
|
||||
List<ITestChannel> CalculatedChannels { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using DTS.Common.Enums.Sensors;
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ITestSetupMetadata
|
||||
{
|
||||
string SetupName { get; set; }
|
||||
DateTime TimeStamp { get; set; }
|
||||
List<ITestGraphs> TestGraphs { get; set; }
|
||||
CalibrationBehaviors CalibrationBehavior { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface.TestDefinition
|
||||
{
|
||||
public interface ITestSummary : IBaseClass
|
||||
{
|
||||
string Id { get; set; }
|
||||
string Name { get; set; }
|
||||
string Description { get; set; }
|
||||
int ChannelCount { get; set; }
|
||||
DateTime TestDate { get; set; }
|
||||
string DataType { get; set; }
|
||||
bool IsSelected { get; set; }
|
||||
List<ITestGraphs> Graphs { get; set; }
|
||||
List<ITestChannel> Channels { get; set; }
|
||||
List<ITestChannel> CalculatedChannels { get; set; }
|
||||
IBaseViewModel Parent { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,123 @@
|
||||
using DTS.Common.Base;
|
||||
using DTS.Common.Interface.Sensors;
|
||||
using DTS.Common.Interface.Sensors.SoftwareFilters;
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ITestModificationModel : IBaseModel
|
||||
{
|
||||
ITestModificationViewModel Parent { get; set; }
|
||||
/// <summary>
|
||||
/// channel modifications are based on
|
||||
/// </summary>
|
||||
ITestChannel SelectedChannel { get; set; }
|
||||
/// <summary>
|
||||
/// whether the Description field has been modified
|
||||
/// </summary>
|
||||
bool IsModifiedDescription { get; }
|
||||
/// <summary>
|
||||
/// the ChannelDescriptionString field of the selected channel
|
||||
/// </summary>
|
||||
string Description { get; set; }
|
||||
/// <summary>
|
||||
/// Whether the EuMultiplier has been modified
|
||||
/// </summary>
|
||||
bool IsModifiedEuMultiplier { get; }
|
||||
/// <summary>
|
||||
/// the Eu multiplier of the selected channel
|
||||
/// </summary>
|
||||
double EuMultiplier { get; set; }
|
||||
/// <summary>
|
||||
/// the Eu offset of the selected channel
|
||||
/// </summary>
|
||||
double EuOffset { get; set; }
|
||||
/// <summary>
|
||||
/// indicates that the eu offset has been modified
|
||||
/// </summary>
|
||||
bool IsModifiedEuOffset { get; }
|
||||
/// <summary>
|
||||
/// indicates that T0 has been modified
|
||||
/// </summary>
|
||||
bool IsModifiedT0 { get; }
|
||||
/// <summary>
|
||||
/// the current offset in ms of T0
|
||||
/// </summary>
|
||||
double T0 { get; set; }
|
||||
/// <summary>
|
||||
/// indicates whether any values have changed from default for the selected channel
|
||||
/// </summary>
|
||||
bool IsModified { get; }
|
||||
/// <summary>
|
||||
/// indicates whether T1 or T2 (line fit start/end) has been modified
|
||||
/// </summary>
|
||||
bool IsModifiedLineFit { get; set; }
|
||||
/// <summary>
|
||||
/// time in ms for start of line fit
|
||||
/// </summary>
|
||||
double T1 { get; set; }
|
||||
/// <summary>
|
||||
/// time in ms for end of line fit
|
||||
/// </summary>
|
||||
double T2 { get; set; }
|
||||
/// <summary>
|
||||
/// indicates whether sensitivity has been modified
|
||||
/// </summary>
|
||||
bool IsModifiedSensitivity { get; }
|
||||
/// <summary>
|
||||
/// sensitivity of selected channel
|
||||
/// </summary>
|
||||
double Sensitivity { get; set; }
|
||||
/// <summary>
|
||||
/// indicates whether filter has been modified
|
||||
/// </summary>
|
||||
bool IsModifiedFilter { get; }
|
||||
/// <summary>
|
||||
/// the software filter for the selected class
|
||||
/// </summary>
|
||||
//FB 13120 Use IFilterClass instead of CFCFilter
|
||||
IFilterClass SelectedFilter { get; set; }
|
||||
/// <summary>
|
||||
/// T0 adjustment mode
|
||||
/// </summary>
|
||||
T0Mode T0Mode { get; set; }
|
||||
/// <summary>
|
||||
/// indicates whether DataFlag has been modified or not
|
||||
/// </summary>
|
||||
bool IsModifiedDataFlag { get; }
|
||||
/// <summary>
|
||||
/// the dataflag for the selected channel
|
||||
/// </summary>
|
||||
DataFlag SelectedDataFlag { get; set; }
|
||||
/// <summary>
|
||||
/// returns true if T0 is valid (within the dataset),
|
||||
/// false otherwise
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
bool ValidateT0();
|
||||
/// <summary>
|
||||
/// Sensor in database corresponding to channel
|
||||
/// </summary>
|
||||
ISensorDbRecord Sensor { get; set; }
|
||||
/// <summary>
|
||||
/// Latest calibration in database corresponding to channel
|
||||
/// </summary>
|
||||
ISensorCalDbRecord Cal { get; set; }
|
||||
/// <summary>
|
||||
/// Whether to show the sensor calibration or not
|
||||
/// </summary>
|
||||
bool ShowSensorCal { get; }
|
||||
/// <summary>
|
||||
/// Sensitivity corresponding to calibration for channel
|
||||
/// </summary>
|
||||
double CalSensitivity { get; set; }
|
||||
/// <summary>
|
||||
/// whether the calibration is non linear or not
|
||||
/// </summary>
|
||||
bool NonLinear { get; }
|
||||
/// <summary>
|
||||
/// whether sensor is proportional to excitation or not
|
||||
/// </summary>
|
||||
bool ProportionalToExcitation { get; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
using DTS.Common.Base;
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ITestModificationView : IBaseView { }
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
using DTS.Common.Base;
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ITestModificationViewModel : IBaseViewModel
|
||||
{
|
||||
ITestModificationView View { get; set; }
|
||||
IBaseViewModel Parent { get; set; }
|
||||
void PublishChanges();
|
||||
// controls whether isocode should be modified when software filter is modified
|
||||
bool UseISOCodeFilterMapping { get; set; }
|
||||
// controls whether 0 or P is used when isocode is modified because a software filter was modified
|
||||
bool UseZeroForUnfiltered { get; set; }
|
||||
/// <summary>
|
||||
/// Update the sensor calibration in the database
|
||||
/// http://manuscript.dts.local/f/cases/43615/SW-Feature-Request-UART-Channel-Diagnostics-GPS-NMEA-1PPS
|
||||
/// </summary>
|
||||
void UpdateDatabaseMethod();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
using DTS.Common.Base;
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ITestModuleView : IBaseView { }
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Reflection;
|
||||
using DTS.Common.Base;
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ITestModuleViewModel : IBaseViewModel
|
||||
{
|
||||
List<Assembly> AssemblyList { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using DTS.Common.Base;
|
||||
using DTS.Common.Enums.Sensors;
|
||||
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace DTS.Common.Interface.TestDefinition
|
||||
{
|
||||
public interface ITestSummary : IBaseClass
|
||||
{
|
||||
string Id { get; set; }
|
||||
string SetupName { get; set; }
|
||||
string Description { get; set; }
|
||||
int ChannelCount { get; set; }
|
||||
DateTime FileDate { get; set; }
|
||||
DateTime TimeStamp { get; set; }
|
||||
string DataType { get; set; }
|
||||
bool IsSelected { get; set; }
|
||||
List<ITestGraphs> Graphs { get; set; }
|
||||
List<ITestChannel> Channels { get; set; }
|
||||
List<ITestChannel> CalculatedChannels { get; set; }
|
||||
IBaseViewModel Parent { get; set; }
|
||||
ITestMetadata TestMetadata { get; set; }
|
||||
CalibrationBehaviors CalibrationBehavior { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
// ReSharper disable CheckNamespace
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ITestSummaryListView : IBaseView { }
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Collections.Specialized;
|
||||
using DTS.Common.Base;
|
||||
using DTS.Common.Interface.TestDefinition;
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ITestSummaryListViewModel : IBaseViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the Shell View.
|
||||
/// </summary>
|
||||
ITestSummaryListView View { get; }
|
||||
ObservableCollection<ITestSummary> TestSummaryList { get; set; }
|
||||
List<ITestSummary> SelectedTestSummaryList { get; set; }
|
||||
void PublishSelectedTestSummaryList();
|
||||
void TestSummaryList_CollectionChanged(object sender, NotifyCollectionChangedEventArgs e);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IViewerSettingsView : IBaseView { }
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
using System.Windows;
|
||||
using DTS.Common.Base;
|
||||
using DTS.Common.Classes.Sensors;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IViewerSettingsViewModel : IBaseViewModel
|
||||
{
|
||||
IViewerSettingsView View { get; set; }
|
||||
IBaseViewModel Parent { get; set; }
|
||||
void PublishChanges();
|
||||
Visibility CalibrationBehaviorSettingVisibility { get; set; }
|
||||
Visibility OverallSettingsVisibility { get; }
|
||||
DisplayedCalibrationBehavior[] AvailableCalibrationBehaviors { get; }
|
||||
DisplayedCalibrationBehavior CalibrationBehaviorSetting { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user