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,16 @@
using DTS.Common.Base;
using DTS.Common.Interface.Pagination;
namespace DTS.Common.Interface.TestSetups.TestSetupsList
{
public interface ITestSetupsListViewModel : IBaseViewModel, IFilterableListView
{
ITestSetupsListView View { get; set; }
ITestSetup[] TestSetups { get; set; }
void SetTestSetups(ITestSetup[] allTestSetups);
void Sort(object sortBy, bool bColumnClick);
void Unset();
void Filter(string currentFilter);
void MouseDoubleClick(int index);
}
}

View File

@@ -0,0 +1,19 @@
using System.Collections.Generic;
using System.Windows;
using DTS.Common.Base;
namespace DTS.Common.Interface
{
public interface IMainViewerViewModel : IBaseViewModel
{
/// <summary>
/// Gets the Main View.
/// </summary>
IBaseView View { get; }
object ContextMainRegion { get; set; }
object ContextNavigationRegion { get; set; }
object ContextHorizontalTabRegion { get; set; }
object ContextVerticalTabRegion { get; set; }
List<FrameworkElement> GetRegions();
}
}

View File

@@ -0,0 +1,52 @@
using DTS.Common.Enums;
namespace DTS.Common.Interface.Sensors
{
/// <summary>
/// this interface describes the default properties
/// for an IEPE sensor
/// </summary>
public interface IIEPESensorDefaults
{
/// <summary>
/// low limit for a valid reading of 24V power
/// </summary>
double _24VPowerLow { get; set; }
/// <summary>
/// high limit for a valid reading of 24V power
/// </summary>
double _24VPowerHigh { get; set; }
/// <summary>
/// the actual range low acceptable value (scalar applied to desired range)
/// </summary>
double RangeLowLimitScalar { get; set; }
/// <summary>
/// the actual range high acceptable value (scalar applied to desired range)
/// </summary>
double RangeHighLimitScalar { get; set; }
/// <summary>
/// indicates whether the setting is valid or not
/// </summary>
/// <returns></returns>
bool Validate();
/// <summary>
/// Indicates whether range tolerance value is valid
/// </summary>
bool RangeToleranceValid { get; }
/// <summary>
/// indicates whether tolerance value is valid
/// </summary>
bool ToleranceValid { get; }
/// <summary>
/// whether AutoSense is allowed or not
/// 14634 Implement enable/disable of the "SLICE PRO Auto-sense" feature
/// </summary>
bool DisableAutoSense { get; set; }
/// <summary>
/// FB15758 Import/Export settings
/// </summary>
void ReadXML(System.Xml.XmlElement root);
void WriteXML(ref System.Xml.XmlWriter writer);
}
}

View File

@@ -0,0 +1,6 @@
using DTS.Common.Base;
namespace DTS.Common.Interface
{
public interface IDBExportView : IBaseView { }
}

View File

@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
// ReSharper disable CheckNamespace
namespace DTS.Common.Interface
{
public interface ITestSetupMetadata
{
string Name { get; set; }
DateTime TestDate { get; set; }
DateTime TimeStamp { get; set; }
List<ITestGraphs> TestGraphs { get; set; }
}
}