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,26 @@
namespace DTS.Common.DAS.Concepts.DAS.Channel
{
/// <summary>
/// Definition of the concept of calsignal-check awareness.
/// </summary>
public interface ICalSignalAware
{
/// <summary>
/// Get/set this object's <see cref="double"/> measured shunt deflection value.
/// </summary>
double MeasuredCalSignalMv
{
get;
set;
}
/// <summary>
/// Get/set this object's <see cref="double"/> target shunt deflection value.
/// </summary>
double TargetCalSignalMv
{
get;
set;
}
}
}

View File

@@ -0,0 +1,65 @@
/*
* DTS.Channel.IDecimatable
*
* Copyright © 2009
* Diversified Technical Systems, Inc.
* All Rights Reserved
*/
namespace DTS.Common.DAS.Concepts.DAS.Channel
{
/// <summary>
/// Definition of what it means for a DAS channel to be "decimatable".
/// </summary>
///
/// <typeparam name="T">
/// The type of data handled by this DAS channel.
/// </typeparam>
///
public interface IDecimatable<out T>
{
/// <summary>
/// The number of points to be squeezed into a single index point.
/// </summary>
uint PointsPerPoint
{
get;
set;
}
/// <summary>
/// Get/set the decimation method to be applied.
/// </summary>
DecimationMethod DecimationType
{
get;
set;
}
/// <summary>
/// Generate a decimated array using the current <see cref="DTS.Common.DAS.Concepts.DAS.Channel.DecimationMethod"/>.
/// </summary>
///
/// <returns>
/// A decimated array of type "T".
/// </returns>
///
T[] ToDecimatedArray();
/// <summary>
/// Get the value at the specified post-decimation index.
/// </summary>
/// <param name="i"></param>
/// <returns></returns>
///
/// <remarks>
/// Note that implementing this interface implies that the indexing operator should return values from
/// the set decimated according to the PointsPerPoint and Method properties.
/// </remarks>
///
T this[long i]
{
get;
}
}
}

View File

@@ -0,0 +1,25 @@
/*
* DTS.Common.DAS.Concepts.DAS.Channel.IEngineeringUnitAware.cs
*
* Copyright © 2009
* Diversified Technical Systems, Inc.
* All Rights Reserved
*/
namespace DTS.Common.DAS.Concepts.DAS.Channel
{
/// <summary>
/// Definition of the concept of engineering unit awareness.
/// </summary>
public interface IEngineeringUnitAware
{
/// <summary>
/// Get/set this object's engineering unit description <see cref="string"/>.
/// </summary>
string EngineeringUnits
{
get;
set;
}
}
}

View File

@@ -0,0 +1,26 @@
/*
* DTS.Common.DAS.Concepts.DAS.Channel.IInversionAware.cs
*
* Copyright © 2009
* Diversified Technical Systems, Inc.
* All Rights Reserved
*/
namespace DTS.Common.DAS.Concepts.DAS.Channel
{
/// <summary>
/// Definition of the concept of inversion awareness.
/// </summary>
public interface IInversionAware
{ ///
/// <summary>
/// Get/set this object's inversion state <see cref="bool"/>.
/// </summary>
///
bool IsInverted
{
get;
set;
}
}
}

View File

@@ -0,0 +1,25 @@
/*
* DTS.Common.DAS.Concepts.DAS.Channel.IIsoCodeAware.cs
*
* Copyright © 2009
* Diversified Technical Systems, Inc.
* All Rights Reserved
*/
namespace DTS.Common.DAS.Concepts.DAS.Channel
{
/// <summary>
/// Definition of the concept of ISO code awareness.
/// </summary>
public interface IIsoCodeAware
{
/// <summary>
/// Get/set this object's IsoCode <see cref="string"/>.
/// </summary>
string IsoCode
{
get;
set;
}
}
}

View File

@@ -0,0 +1,39 @@
/*
* DTS.Common.DAS.Concepts.DAS.Channel.ILevelTriggerable.cs
*
* Copyright © 2009
* Diversified Technical Systems, Inc.
* All Rights Reserved
*/
using System;
namespace DTS.Common.DAS.Concepts.DAS.Channel
{
///
/// <summary>
/// Definition of the concept of level triggerability.
/// </summary>
///
public interface ILevelTriggerable
{
/// <summary>
/// created for 14042 Flash Clear turns of excitation for s6
/// this allows for a cached ADC value to be used rather than having to retrieve a sample average
/// when calculating already level triggered
/// </summary>
double? SampleAverageADC { get; set; }
/// <summary>
/// Get/set the "trigger below" threshold. Set to "null" to deactivate.
/// </summary>
double? TriggerBelowThresholdEu { get; set; }
/// <summary>
/// Get/set the "trigger above" threshold. Set to "null" to deactivate.
/// </summary>
double? TriggerAboveThresholdEu { get; set; }
LevelTriggerTypes LevelTriggerType { get; set; }
}
}

View File

@@ -0,0 +1,11 @@
namespace DTS.Common.DAS.Concepts.DAS.Channel
{
public interface ILinearized
{
DTS.Common.Classes.Sensors.LinearizationFormula LinearizationFormula
{
get;
set;
}
}
}

View File

@@ -0,0 +1,25 @@
/*
* DTS.Common.DAS.Concepts.DAS.Channel.ISerialNumberAware.cs
*
* Copyright © 2009
* Diversified Technical Systems, Inc.
* All Rights Reserved
*/
namespace DTS.Common.DAS.Concepts.DAS.Channel
{
/// <summary>
/// Definition of the concept of serial number awareness.
/// </summary>
public interface ISerialNumberAware
{
/// <summary>
/// Get/set this object's serial number <see cref="string"/>.
/// </summary>
string SerialNumber
{
get;
set;
}
}
}

View File

@@ -0,0 +1,35 @@
/*
* DTS.Common.DAS.Concepts.DAS.Channel.IShuntAware.cs
*
* Copyright © 2009
* Diversified Technical Systems, Inc.
* All Rights Reserved
*/
namespace DTS.Common.DAS.Concepts.DAS.Channel
{
/// <summary>
/// Definition of the concept of shunt-check awareness.
/// </summary>
public interface IShuntAware
{
/// <summary>
/// Get/set this object's <see cref="double"/> measured shunt deflection value.
/// </summary>
double MeasuredShuntDeflectionMv
{
get;
set;
}
/// <summary>
/// Get/set this object's <see cref="double"/> target shunt deflection value.
/// </summary>
double TargetShuntDeflectionMv
{
get;
set;
}
}
}

View File

@@ -0,0 +1,7 @@
namespace DTS.Common.DAS.Concepts.DAS.Channel
{
public interface ITimestampAware
{
TimestampPartTypes TimestampPartType { get; set; }
}
}

View File

@@ -0,0 +1,35 @@
/*
* DTS.Common.DAS.Concepts.DAS.Channel.IVoltageInsertionAware.cs
*
* Copyright © 2012
* Diversified Technical Systems, Inc.
* All Rights Reserved
*/
namespace DTS.Common.DAS.Concepts.DAS.Channel
{
/// <summary>
/// Definition of the concept of shunt-check awareness.
/// </summary>
public interface IVoltageInsertionAware
{
/// <summary>
/// Get/set this object's <see cref="double"/> measured shunt deflection value.
/// </summary>
double ExpectedGain
{
get;
set;
}
/// <summary>
/// Get/set this object's <see cref="double"/> target shunt deflection value.
/// </summary>
double MeasuredGain
{
get;
set;
}
}
}