init
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IUISettingsViewModel : IBaseViewModel { }
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
using System;
|
||||
|
||||
namespace DTS.Common.Interactivity
|
||||
{
|
||||
public interface IInteractionRequest
|
||||
{
|
||||
event EventHandler<InteractionRequestedEventArgs> Raised;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
// ReSharper disable CheckNamespace
|
||||
namespace DTS.Common.Base
|
||||
{
|
||||
/// <summary>
|
||||
/// Provides an easy way to recognize a class that exposes a HeaderInfo that can be used to bind to a header from XAML.
|
||||
/// </summary>
|
||||
/// <typeparam name="T">The HeaderInfo type.</typeparam>
|
||||
public interface IHeaderInfoProvider<T>
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the header info of type T.
|
||||
/// </summary>
|
||||
T HeaderInfo { get; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
using System.Collections.Generic;
|
||||
using DTS.Common.Base;
|
||||
using DTS.Common.Enums;
|
||||
using DTS.Common.Interface.TestSetups.Imports.TTS.ReadFile;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ISummaryViewModel : IBaseViewModel
|
||||
{
|
||||
ISummaryView View { get; set; }
|
||||
void SetStatus(string status, string error = default(string));
|
||||
void SetProgress(double progress);
|
||||
bool TestSetupComplete { get; set; }
|
||||
string ImportFileName { get; }
|
||||
string TestSetupName { get; }
|
||||
double SampleRate { get; }
|
||||
RecordingModes RecordingMode { get; }
|
||||
string PreTrigger { get; }
|
||||
string PostTrigger { get; }
|
||||
void SetChannelList();
|
||||
void UpdateUI();
|
||||
void SetSerializedTestIdValues(string[] values);
|
||||
void SetAvailableSampleRates(int[] values);
|
||||
|
||||
string GetTestId();
|
||||
void SetAAFExceptions(Dictionary<double, List<double>> values);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
using DTS.Common.Converters;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace DTS.Common.Enums.Viewer.Reports
|
||||
{
|
||||
[TypeConverter(typeof(EnumDescriptionTypeConverter))]
|
||||
public enum WindowType
|
||||
{
|
||||
[Description("Rectangle")]
|
||||
Rectangle,
|
||||
[Description("Hamming")]
|
||||
Hamming,
|
||||
[Description("Hanning")]
|
||||
Hanning,
|
||||
[Description("Blackman")]
|
||||
Blackman,
|
||||
[Description("Blackman-Harris")]
|
||||
BlackmanHarris,
|
||||
[Description("Flat Top")]
|
||||
FlatTop
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user