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,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 @@
namespace DTS.Common.Enums.Sensors.SensorsList
{
public enum UartSettingFields
{
Included,
SerialNumber,
BaudRate,
DataBits,
StopBits,
Parity,
FlowControl,
DataFormat,
LastModifiedBy,
LastModified
}
}

View File

@@ -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; }
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View File

@@ -0,0 +1,12 @@
using Prism.Events;
namespace DTS.Common.Events
{
/// <summary>
/// The CloseApplicationRequested event.
/// </summary>
///
/// <remarks>This event is used by the Application to notify subscribers that the Application is requested to be closed.</remarks>
///
public class CloseApplicationRequested : PubSubEvent<object> { }
}