using DTS.Common.Enums.Hardware; using System; namespace DTS.Common.Interface.DataRecorders { /// /// represents hardware in TTS import /// public interface IDASHardware { int ProtocolVersion { get; } /// /// returns true if the hardware is standin for a real das, but not a physical das in itself /// /// bool IsStandIn(); /// /// whether hardware supports and is using first use date /// 15524 DAS "First Use Date" /// bool IsFirstUseValid { get; } /// /// first date of use after calibration /// only valid if IsFirstUseValid is true /// null value indicates hardware has not been used since calibration /// (once again, only if IsFirstUseValid is true) /// 15524 DAS "First Use Date" /// DateTime? FirstUseDate { get; } bool IsPseudoRack(); int DASId { get; } string SerialNumber { get; set; } string SerialNumberFamily { get; set; } string EIDFound { get; set; } string BatteryVoltageStatus { get; set; } System.Windows.Media.SolidColorBrush BatteryVoltageColor { get; set; } string InputVoltageStatus { get; set; } System.Windows.Media.SolidColorBrush InputVoltageColor { get; set; } /// /// Used to display DAS connectivity in Hardware Scan /// string ParentDAS { get; set; } /// /// Used to determine DAS connectivity for Hardware Scan /// string Connection { get; set; } IHardwareChannel[] GetIHardwareChannels(); /// /// returns whether DAS is a SLICE Ethernet Controller or not /// bool IsSLICEEthernetController { get; } /// /// returns true if the the DAS is a TDAS rack /// /// bool IsTDASRack(); bool IsG5(); bool IsTSRAIR(); bool IsTSRAIRModule(); /// /// returns the minimum sample rate allowed on this DAS /// double GetMinSampleRateDouble(); /// /// returns the maximum sample rate allowed on this DAS /// double GetMaxSampleRateDouble(); /// /// TTS import sets to True for modules which should not be displayed in Hardware Scan (Slice bridges) /// and to False for modules which should be displayed (those in TDAS racks) /// /// bool IsModule(); string LastModifiedBy { get; set; } DateTime LastModified { get; set; } HardwareTypes DASTypeEnum { get; set; } } }