init
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user