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,12 @@
using System.Collections.Generic;
using DTS.Common.Interface;
using Microsoft.Practices.Prism.Events;
// ReSharper disable ClassNeverInstantiated.Global
// ReSharper disable CheckNamespace
namespace DTS.Common.Events
{
/// <summary>
/// The selected Test Summary list changed event.
/// </summary>
public class ChannelSelectionChangeNotification : CompositePresentationEvent<List<ITestChannel>> { }
}

View File

@@ -0,0 +1,10 @@
using Microsoft.Practices.Prism.Events;
// ReSharper disable ClassNeverInstantiated.Global
// ReSharper disable CheckNamespace
namespace DTS.Common.Events
{
/// <summary>
/// The selected Test Summary list changed event.
/// </summary>
public class ChannelSelectionCountNotification : CompositePresentationEvent<int> { }
}

View File

@@ -0,0 +1,26 @@
using System.Collections.Generic;
using DTS.Common.Interface;
using Microsoft.Practices.Prism.Events;
// ReSharper disable CheckNamespace
namespace DTS.Common.Events
{
/// <summary>
/// The number of selected Graphs changed event.
/// </summary>
public class ChannelsModificationLineFitNotification : CompositePresentationEvent<LineFitArgs> { }
public class LineFitArgs
{
public ITestChannel Channel { get; }
public ulong StartIndex { get; }
public ulong EndIndex { get; }
public LineFitArgs(ITestChannel channel, ulong startIndex, ulong endIndex)
{
Channel = channel;
StartIndex = startIndex;
EndIndex = endIndex;
}
}
}

View File

@@ -0,0 +1,12 @@
using System.Collections.Generic;
using DTS.Common.Interface;
using Microsoft.Practices.Prism.Events;
// ReSharper disable CheckNamespace
namespace DTS.Common.Events
{
/// <summary>
/// The number of selected Graphs changed event.
/// </summary>
public class ChannelsModificationNotification : CompositePresentationEvent<List<ITestChannel>> { }
}

View File

@@ -0,0 +1,16 @@
using DTS.Common.Base;
using Microsoft.Practices.Prism.Events;
namespace DTS.Common.Events
{
//A datafile was selected, but don't want to trip all of the DataFolderChangedEvent subscriptions
public class DataFileSelectedEvent : CompositePresentationEvent<DataFileSelectionArg> { }
public class DataFileSelectionArg
{
public string File { get; set; }
/// <summary>
/// 24417 start pulling apart viewer to allow reuse for PSD reports
/// </summary>
public IBaseViewModel ParentVM { get; set; }
}
}

View File

@@ -0,0 +1,25 @@
using DTS.Common.Base;
using Microsoft.Practices.Prism.Events;
// ReSharper disable CheckNamespace
namespace DTS.Common.Events
{
/// <summary>
/// The Data Folder changed event.
/// </summary>
public class DataFolderChangedEvent : CompositePresentationEvent<DataFolderSelectionArg> { }
public class DataFolderSelectionArg
{
public string Path{ get; set; }
public string File { get; set; }
/// <summary>
/// whether to set the given test as selected in ui and viewer
/// 16158 Browse button on View Data tab not functiona
/// </summary>
public bool SetSelected { get; set; } = false;
/// <summary>
/// 24417 start pulling apart viewer to allow reuse for PSD reports
/// </summary>
public IBaseViewModel ParentVM { get; set; }
}
}

View File

@@ -0,0 +1,16 @@
using DTS.Common.Base;
using Microsoft.Practices.Prism.Events;
namespace DTS.Common.Events
{
public class GraphChannelReadCalcProgressChangedEvent : CompositePresentationEvent<GraphChannelReadCalcProgressChangedEventArgs> { }
public class GraphChannelReadCalcProgressChangedEventArgs
{
public string ProgressMessage { get; set; }
public double ProgressPercent { get; set; }
public IBaseViewModel GraphVM { get; set; }
}
}

View File

@@ -0,0 +1,17 @@
using DTS.Common.Base;
using Microsoft.Practices.Prism.Events;
// ReSharper disable CheckNamespace
namespace DTS.Common.Events
{
/// <summary>
/// The number of selected Tests changed event.
/// </summary>
public class GraphChannelsReadCompletedNotification : CompositePresentationEvent<GraphChannelsReadCompletedNotificationArgs> { }
public class GraphChannelsReadCompletedNotificationArgs
{
public bool IsReadCompleted { get; set; }
public IBaseViewModel GraphVM { get; set; }
}
}

View File

@@ -0,0 +1,21 @@
using DTS.Common.Base;
using DTS.Common.Interface;
using Microsoft.Practices.Prism.Events;
// ReSharper disable CheckNamespace
namespace DTS.Common.Events
{
/// <summary>
/// The number of selected Tests changed event.
/// </summary>
public class GraphClearNotification : CompositePresentationEvent<GraphClearNotificationArg>{ }
public class GraphClearNotificationArg
{
public bool GraphClear { get; set; }
/// <summary>
/// 24417 start pulling apart viewer to allow reuse for PSD reports
/// </summary>
public IBaseViewModel ParentVM { get; set; }
}
}

View File

@@ -0,0 +1,19 @@
using DTS.Common.Base;
using Microsoft.Practices.Prism.Events;
// ReSharper disable CheckNamespace
namespace DTS.Common.Events
{
/// <summary>
/// The number of selected Tests changed event.
/// </summary>
public class GraphLoadedCountNotification : CompositePresentationEvent<GraphLoadedCountNotificationArg> { }
public class GraphLoadedCountNotificationArg
{
public int LoadedCount { get; set; }
/// <summary>
/// 24417 start pulling apart viewer to allow reuse for PSD reports
/// </summary>
public IBaseViewModel ParentVM { get; set; }
}
}

View File

@@ -0,0 +1,19 @@
using DTS.Common.Base;
using Microsoft.Practices.Prism.Events;
// ReSharper disable CheckNamespace
namespace DTS.Common.Events
{
/// <summary>
/// The number of loaded Tests changed event.
/// </summary>
public class GraphSelectedChannelCountNotification : CompositePresentationEvent<GraphSelectedChannelCountNotificationArg> { }
public class GraphSelectedChannelCountNotificationArg
{
public int SelectedChannelCount { get; set; }
/// <summary>
/// 24417 start pulling apart viewer to allow reuse for PSD reports
/// </summary>
public IBaseViewModel ParentVM { get; set; }
}
}

View File

@@ -0,0 +1,21 @@
using System.Collections.Generic;
using DTS.Common.Base;
using DTS.Common.Interface;
using Microsoft.Practices.Prism.Events;
// ReSharper disable CheckNamespace
namespace DTS.Common.Events
{
/// <summary>
/// The number of selected Tests changed event.
/// </summary>
public class GraphSelectedChannelsNotification : CompositePresentationEvent<GraphSelectedChannelsNotificationArg> { }
public class GraphSelectedChannelsNotificationArg
{
public List<ITestChannel> SelectedChannels { get; set; }
/// <summary>
/// 24417 start pulling apart viewer to allow reuse for PSD reports
/// </summary>
public IBaseViewModel ParentVM { get; set; }
}
}

View File

@@ -0,0 +1,20 @@
using DTS.Common.Base;
using Microsoft.Practices.Prism.Events;
// ReSharper disable CheckNamespace
namespace DTS.Common.Events
{
/// <summary>
/// The number of loaded Tests changed event.
/// </summary>
public class TestLoadedCountNotification : CompositePresentationEvent<TestLoadedCountNotificationArg> { }
public class TestLoadedCountNotificationArg
{
public int LoadedCount { get; set; }
/// <summary>
/// 24417 start pulling apart viewer to allow reuse for PSD reports
/// </summary>
public IBaseViewModel ParentVM { get; set; }
}
}

View File

@@ -0,0 +1,22 @@
using System.Collections.Generic;
using DTS.Common.Base;
using DTS.Common.Interface.TestDefinition;
using Microsoft.Practices.Prism.Events;
// ReSharper disable ClassNeverInstantiated.Global
// ReSharper disable CheckNamespace
namespace DTS.Common.Events
{
/// <summary>
/// The selected Test Summary list changed event.
/// </summary>
public class TestSummaryChangeNotification : CompositePresentationEvent<TestSummaryChangeNotificationArg> { }
public class TestSummaryChangeNotificationArg
{
public List<ITestSummary> SummaryList { get; set; }
/// <summary>
/// 24417 start pulling apart viewer to allow reuse for PSD reports
/// </summary>
public IBaseViewModel ParentVM { get; set; }
}
}

View File

@@ -0,0 +1,20 @@
using DTS.Common.Base;
using Microsoft.Practices.Prism.Events;
// ReSharper disable CheckNamespace
namespace DTS.Common.Events
{
/// <summary>
/// The number of selected Tests changed event.
/// </summary>
public class TestSummaryCountNotification : CompositePresentationEvent<TestSummaryCountNotificationArg> { }
public class TestSummaryCountNotificationArg
{
public int SummaryCount { get; set; }
/// <summary>
/// 24417 start pulling apart viewer to allow reuse for PSD reports
/// </summary>
public IBaseViewModel ParentVM { get; set; }
}
}