init
This commit is contained in:
@@ -0,0 +1,84 @@
|
||||
|
||||
using DTS.Common.Enums.Hardware;
|
||||
using System;
|
||||
|
||||
namespace DTS.Common.Interface.DataRecorders
|
||||
{
|
||||
/// <summary>
|
||||
/// represents hardware in TTS import
|
||||
/// </summary>
|
||||
public interface IDASHardware
|
||||
{
|
||||
int ProtocolVersion { get; }
|
||||
/// <summary>
|
||||
/// returns true if the hardware is standin for a real das, but not a physical das in itself
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
bool IsStandIn();
|
||||
/// <summary>
|
||||
/// whether hardware supports and is using first use date
|
||||
/// 15524 DAS "First Use Date"
|
||||
/// </summary>
|
||||
bool IsFirstUseValid { get; }
|
||||
/// <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; }
|
||||
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; }
|
||||
/// <summary>
|
||||
/// Used to display DAS connectivity in Hardware Scan
|
||||
/// </summary>
|
||||
string ParentDAS { get; set; }
|
||||
/// <summary>
|
||||
/// Used to determine DAS connectivity for Hardware Scan
|
||||
/// </summary>
|
||||
string Connection { get; set; }
|
||||
IHardwareChannel[] GetIHardwareChannels();
|
||||
/// <summary>
|
||||
/// returns whether DAS is a SLICE Ethernet Controller or not
|
||||
/// </summary>
|
||||
bool IsSLICEEthernetController { get; }
|
||||
/// <summary>
|
||||
/// returns true if the the DAS is a TDAS rack
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
bool IsTDASRack();
|
||||
|
||||
bool IsG5();
|
||||
bool IsTSRAIR();
|
||||
bool IsTSRAIRModule();
|
||||
/// <summary>
|
||||
/// returns the minimum sample rate allowed on this DAS
|
||||
/// </summary>
|
||||
double GetMinSampleRateDouble();
|
||||
|
||||
/// <summary>
|
||||
/// returns the maximum sample rate allowed on this DAS
|
||||
/// </summary>
|
||||
double GetMaxSampleRateDouble();
|
||||
|
||||
/// <summary>
|
||||
/// 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)
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
bool IsModule();
|
||||
|
||||
string LastModifiedBy { get; set; }
|
||||
|
||||
DateTime LastModified { get; set; }
|
||||
HardwareTypes DASTypeEnum { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user