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