Files
DP44/Common/DTS.CommonCore/Interface/Sensors/IDigitalInputDefaults.cs
2026-04-17 14:55:32 -04:00

31 lines
1.1 KiB
C#

namespace DTS.Common.Interface.Sensors
{
/// <summary>
/// this interface describes the default properties
/// for digital inputs
/// </summary>
public interface IDigitalInputDefaults
{
/// <summary>
/// the default value in ADC for Constant Current digital input where default state switches active or vice versa
/// (CCNO or CCNC)
/// </summary>
double ConstantCurrentBreakpointADC { get; set; }
/// <summary>
/// the default value in ADC for Voltage digital input modes where default state switches to active or vice vera
/// (Transition High To Low [THL] or [TLH])
/// </summary>
double VoltageBreakpointADC { get; set; }
/// <summary>
/// whether to display analog SLICE PRO DIGITAL ADC data
/// </summary>
bool DisplaySPDADC { get; set; }
/// <summary>
/// indicates whether the setting is valid or not
/// </summary>
/// <returns></returns>
bool Validate();
}
}