using System; namespace DTS.Common.Interface.DASFactory.Diagnostics.HardwareList { public interface IHardware { int DASId { get; set; } bool Disabled { get; set; } bool Included { get; set; } double TestSampleRate { get; set; } string SerialNumber { get; set; } string HardwareType { get; set; } string ChannelCount { get; set; } string Firmware { get; set; } double? MaxSampleRate{ get; set; } DateTime? CalDate { get; set; } DateTime? CalDueDate { get; set; } object Hardware { get; set; } void SetIncluded(bool bIncluded); void SetMixedRates(bool mixed); bool Filter(string term); string ParentDAS{ get; set; } int PositionOnChain { get; set; } int PositionOnDistributor{ get; set; } int Port{ get; set; } int AnalogChannels { get; set; } int SquibChannels { get; set; } int DigitalInChannels { get; set; } int DigitalOutChannels { get; set; } int UartChannels { get; set; } int StreamOutChannels { get; set; } int StreamInChannels { get; set; } /// /// determines the ChannelCount text /// /// whether to show compact or expanded /// compact will not show SLICEPro units connect to ECMs /// void DetermineChannelCount(bool showCompact, IHardware [] allHardware); string IPAddress { get; set; } /// /// 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; set; } /// /// whether hardware supports and is using first use date /// 15524 DAS "First Use Date" /// bool IsFirstUseValid { get; set; } bool IsTSRAIR { get; } byte PTPDomainID { get; set; } } }