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,21 @@
using DTS.Common.Base;
using DTS.Common.Interface;
using Microsoft.Practices.Prism.Events;
// ReSharper disable CheckNamespace
namespace DTS.Common.Events
{
/// <summary>
/// The Data Folder changed event.
/// </summary>
public class ChartOptionsChangedEvent : CompositePresentationEvent<ChartOptionsChangedEventArg> { }
public class ChartOptionsChangedEventArg
{
public IBaseViewModel ParentVM { get; set; }
public IChartOptionsModel Model { get; set; }
public string ChartType { get; set; }
}
}

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,21 @@
namespace DTS.Common.Enums.DBExport
{
/// <summary>
/// different tags for an ISODll.FineLocation1
/// </summary>
public enum CustomFinLoc1Fields
{
Date,
Expired,
Fine_Loc_1,
History,
Last_Change,
Last_Change_Text,
Remarks,
S_GUID,
SortKey,
Text_L1,
Text_L2,
Version,
}
}

View File

@@ -0,0 +1,34 @@
using DTS.Common.Classes.Sensors;
using DTS.Common.Enums;
using DTS.Common.Enums.Sensors;
using System;
namespace DTS.Common.Interface.Sensors
{
public interface ISensorCalibration : ISensorCalDbRecord
{
string EngineeringUnits { get; }
long CalVersion { get; set; }
string UUID { get; set; }
double GetPolynomialEU(double inputmV, double excitation);
string DocumentID { get; set; }
NonLinearStyles IRTraccCalculationType { get; set; }
string ToSerializedString();
void FromSerializedString(string s);
string ToDisplayString(ExcitationVoltageOptions.ExcitationVoltageOption excitation, string linearFormat,
string nonlinearFormat, bool iepe);
string ToLinearDisplayString(ExcitationVoltageOptions.ExcitationVoltageOption excitation, string linearFormat, bool iepe);
string ToNonLinearDisplayString(string nonlinearFormat, bool iepe);
void ReadXML(System.Xml.XmlElement root);
void WriteXML(ref System.Xml.XmlWriter writer);
/// <summary>
/// returns true if the calibration is compatible with IEPE
/// IEPE sensors require linear calibrations and non proportional
/// </summary>
/// <returns></returns>
bool IsCompatibleWithIEPE();
void CopyValues(ISensorCalibration copy);
}
}