This module provides centralized constant definitions for the DTS data acquisition system. It consolidates hardware configuration thresholds, embedded sensor parameters, digital input breakpoints, clock synchronization profiles, recording mode definitions, and application-wide settings. The module serves as the single source of truth for magic numbers, hardware limits, default values, and configuration boundaries used throughout the system.
2. Public Interface
DTS.Common.Constant.XamlConstants (partial class)
Signature: public partial class XamlConstants
Behavior: Empty partial class in code-behind; intended to be paired with a XAML resource file. No members defined in this source file.
DTS.Common.Constant.DigitalInputs (static class)
Member
Signature
Description
ConstantCurrentBreakPointDefault
public const double
Default breakpoint value (19005D) for contact closure digital input transitions.
VoltageInputBreakPointDefault
public const double
Default breakpoint value (19661D) for voltage input digital modes (THL and TLH).
DisplaySPDADCDefault
public const bool
Default display setting for SLICE Pro Digital ADC (false).
ConstantCurrentBreakPoint
public static double { get; set; }
Mutable static property for current constant current breakpoint. Defaults to ConstantCurrentBreakPointDefault. Does not persist to storage.
VoltageInputBreakPoint
public static double { get; set; }
Mutable static property for voltage input breakpoint. Defaults to VoltageInputBreakPointDefault. Does not persist to storage.
DisplaySPDADC
public static bool { get; set; }
Mutable static property controlling SLICE Pro Digital analog ADC display. Defaults to DisplaySPDADCDefault. Does not persist to storage.