58 lines
2.2 KiB
Plaintext
58 lines
2.2 KiB
Plaintext
|
|
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; }
|
||
|
|
/// <summary>
|
||
|
|
/// determines the ChannelCount text
|
||
|
|
/// </summary>
|
||
|
|
/// <param name="showCompact">whether to show compact or expanded
|
||
|
|
/// compact will not show SLICEPro units connect to ECMs
|
||
|
|
/// </param>
|
||
|
|
void DetermineChannelCount(bool showCompact, IHardware [] allHardware);
|
||
|
|
string IPAddress { get; set; }
|
||
|
|
/// <summary>
|
||
|
|
/// 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"
|
||
|
|
/// </summary>
|
||
|
|
DateTime? FirstUseDate { get; set; }
|
||
|
|
/// <summary>
|
||
|
|
/// whether hardware supports and is using first use date
|
||
|
|
/// 15524 DAS "First Use Date"
|
||
|
|
/// </summary>
|
||
|
|
bool IsFirstUseValid { get; set; }
|
||
|
|
bool IsTSRAIR { get; }
|
||
|
|
byte PTPDomainID { get; set; }
|
||
|
|
}
|
||
|
|
}
|