This commit is contained in:
2026-04-17 14:55:32 -04:00
commit bc3ac1d4c9
18017 changed files with 4371742 additions and 0 deletions

View File

@@ -0,0 +1,72 @@
using System.Threading.Tasks;
// ReSharper disable CheckNamespace
namespace DTS.Common.Base
{
public interface IBaseViewModel : IBasePropertyChanged
{
/// <summary>
/// Gets, sets the IsMenuIncluded status.
/// </summary>
bool IsMenuIncluded { get; set; }
/// <summary>
/// Gets, sets the IsNavigationIncluded status.
/// </summary>
bool IsNavigationIncluded { get; set; }
/// <summary>
/// Gets the IsBusy status.
/// </summary>
bool IsBusy { get; set; }
/// <summary>
/// The Activated method.
/// </summary>
void Activated();
/// <summary>
/// Gets the IsDirty status.
/// </summary>
bool IsDirty { get; }
/// <summary>
/// The Cleanup method.
/// </summary>
void Cleanup();
/// <summary>
/// Starts the cleanup process asynchronously.
/// </summary>
Task CleanupAsync();
/// <summary>
/// The Initialize method.
/// </summary>
void Initialize();
/// <summary>
/// The Initialize method.
/// </summary>
/// <param name="parameter">The parameter to initialize the viewmodel.</param>
void Initialize(object parameter);
/// <summary>
/// The Initialize method.
/// </summary>
/// <param name="parameter">The parameter to initialize the viewmodel.</param>
/// <param name="model">Another parameter to initialize the viewmodel.</param>
void Initialize(object parameter, object model);
/// <summary>
/// Starts the initialization process asynchronously.
/// </summary>
Task InitializeAsync();
/// <summary>
/// Starts the initialization process asynchronously.
/// </summary>
/// <param name="parameter">The parameter to initialize the viewmodel.</param>
Task InitializeAsync(object parameter);
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 B

View File

@@ -0,0 +1,34 @@
using Microsoft.Practices.Prism.Events;
// ReSharper disable CheckNamespace
namespace DTS.Common.Events
{
public class ShiftT0Event : CompositePresentationEvent<ShiftT0EventArguments> { }
public class ShiftT0EventArguments
{
public double T0Time { get; }
public bool IsInitialization {get; }
/// <summary>
/// the steps/samples from T0 to shift
/// </summary>
public int T0Steps{ get; }
/// <summary>
/// whether shift is caused by a keypress (left/right arrow)
/// </summary>
public bool IsKeyPress { get; }
public ShiftT0EventArguments(double t0, bool isInitialization)
{
T0Time = t0;
IsInitialization = isInitialization;
T0Steps = 0;
IsKeyPress = false;
}
public ShiftT0EventArguments( int steps, bool isInitialization, bool isKeyPress)
{
T0Time = 0D;
IsInitialization = isInitialization;
IsKeyPress = isKeyPress;
T0Steps = steps;
}
}
}

View File

@@ -0,0 +1,18 @@
using System.Collections.Generic;
using System.Collections.ObjectModel;
using DTS.Common.Base;
using DTS.Common.Interface.TestDefinition;
namespace DTS.Common.Interface
{
public interface ITestSummaryListViewModel : IBaseViewModel
{
/// <summary>
/// Gets the Shell View.
/// </summary>
ITestSummaryListView TestSummaryListView { get; }
ObservableCollection<ITestSummary> TestSummaryList { get; set; }
List<ITestSummary> SelectedTestSummaryList { get; set; }
void PublishSelectedTestSummaryList();
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 734 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

@@ -0,0 +1,7 @@
using DTS.Common.Base;
// ReSharper disable CheckNamespace
namespace DTS.Common.Interface
{
public interface IMainView : IBaseView { }
}