init
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IReadFileView : IBaseView { }
|
||||
}
|
||||
@@ -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,12 @@
|
||||
using DTS.Common.Enums.Channels;
|
||||
|
||||
namespace DTS.Common.Interface.Channels
|
||||
{
|
||||
public interface IChannelCode
|
||||
{
|
||||
int Id { get; }
|
||||
string Code { get; }
|
||||
string Name { get; }
|
||||
ChannelEnumsAndConstants.ChannelCodeType CodeType { get; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
using Microsoft.Practices.Prism.Events;
|
||||
using Microsoft.Practices.Prism.Regions;
|
||||
|
||||
namespace DTS.Common.Events.RegionOfInterest.RegionOfInterestChannels
|
||||
{
|
||||
public class RegionOfInterestChannelsSelectedEvent : CompositePresentationEvent<RegionOfInterestChannelsSelectedEventArgs> { }
|
||||
|
||||
public class RegionOfInterestChannelsSelectedEventArgs
|
||||
{
|
||||
public string RegionOfInterestSuffix { get; private set; }
|
||||
public string[] ChannelNames { get; private set; }
|
||||
|
||||
public object Consumer { get; private set; }
|
||||
public RegionOfInterestChannelsSelectedEventArgs(string roiSuffix, string[] selectedChannelNames, object o)
|
||||
{
|
||||
RegionOfInterestSuffix = roiSuffix;
|
||||
ChannelNames = selectedChannelNames;
|
||||
Consumer = o;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user