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 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 : PubSubEvent<List<ITestChannel>> { }
}

View File

@@ -0,0 +1,10 @@
using 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 : PubSubEvent<int> { }
}

View File

@@ -0,0 +1,26 @@
using System.Collections.Generic;
using DTS.Common.Interface;
using Prism.Events;
// ReSharper disable CheckNamespace
namespace DTS.Common.Events
{
/// <summary>
/// The number of selected Graphs changed event.
/// </summary>
public class ChannelsModificationLineFitNotification : PubSubEvent<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 Prism.Events;
// ReSharper disable CheckNamespace
namespace DTS.Common.Events
{
/// <summary>
/// The number of selected Graphs changed event.
/// </summary>
public class ChannelsModificationNotification : PubSubEvent<List<ITestChannel>> { }
}

View File

@@ -0,0 +1,16 @@
using DTS.Common.Base;
using Prism.Events;
namespace DTS.Common.Events
{
//A datafile was selected, but don't want to trip all of the DataFolderChangedEvent subscriptions
public class DataFileSelectedEvent : PubSubEvent<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,32 @@
using DTS.Common.Base;
using Prism.Events;
// ReSharper disable CheckNamespace
namespace DTS.Common.Events
{
/// <summary>
/// The Data Folder changed event.
/// </summary>
public class DataFolderChangedEvent : PubSubEvent<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>
/// Whether (Export) or not (View) to select all of the tests
/// 43387 Export multiple events
/// </summary>
public bool SelectAll { 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 Prism.Events;
namespace DTS.Common.Events
{
public class GraphChannelReadCalcProgressChangedEvent : PubSubEvent<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 Prism.Events;
// ReSharper disable CheckNamespace
namespace DTS.Common.Events
{
/// <summary>
/// The number of selected Tests changed event.
/// </summary>
public class GraphChannelsReadCompletedNotification : PubSubEvent<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 Prism.Events;
// ReSharper disable CheckNamespace
namespace DTS.Common.Events
{
/// <summary>
/// The number of selected Tests changed event.
/// </summary>
public class GraphClearNotification : PubSubEvent<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 Prism.Events;
// ReSharper disable CheckNamespace
namespace DTS.Common.Events
{
/// <summary>
/// The number of selected Tests changed event.
/// </summary>
public class GraphLoadedCountNotification : PubSubEvent<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 Prism.Events;
// ReSharper disable CheckNamespace
namespace DTS.Common.Events
{
/// <summary>
/// The number of loaded Tests changed event.
/// </summary>
public class GraphSelectedChannelCountNotification : PubSubEvent<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 Prism.Events;
// ReSharper disable CheckNamespace
namespace DTS.Common.Events
{
/// <summary>
/// The number of selected Tests changed event.
/// </summary>
public class GraphSelectedChannelsNotification : PubSubEvent<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 Prism.Events;
// ReSharper disable CheckNamespace
namespace DTS.Common.Events
{
/// <summary>
/// The number of loaded Events changed event.
/// </summary>
public class GraphSelectedEventCountNotification : PubSubEvent<GraphSelectedEventCountNotificationArg> { }
public class GraphSelectedEventCountNotificationArg
{
public int SelectedEventCount { 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 Prism.Events;
// ReSharper disable CheckNamespace
namespace DTS.Common.Events
{
/// <summary>
/// The number of selected Events changed event.
/// </summary>
public class GraphSelectedEventsNotification : PubSubEvent<GraphSelectedEventsNotificationArg> { }
public class GraphSelectedEventsNotificationArg
{
public System.ComponentModel.BindingList<ITestEvent> SelectedEvents { 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 Prism.Events;
// ReSharper disable CheckNamespace
namespace DTS.Common.Events
{
/// <summary>
/// The number of loaded Tests changed event.
/// </summary>
public class TestLoadedCountNotification : PubSubEvent<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,23 @@
using System.Collections.Generic;
using DTS.Common.Base;
using DTS.Common.Interface.TestDefinition;
using 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 : PubSubEvent<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; }
public int TotalSummaryCount { get; set; }
}
}

View File

@@ -0,0 +1,20 @@
using DTS.Common.Base;
using Prism.Events;
// ReSharper disable CheckNamespace
namespace DTS.Common.Events
{
/// <summary>
/// The number of selected Tests changed event.
/// </summary>
public class TestSummaryCountNotification : PubSubEvent<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; }
}
}