85 lines
2.7 KiB
Plaintext
85 lines
2.7 KiB
Plaintext
using DTS.Common.Enums.DASFactory;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace DTS.Common.Interface.DASFactory.Config
|
|
{
|
|
public interface IInfoResultModule
|
|
{
|
|
/// <summary>
|
|
/// Serial number of this module
|
|
/// </summary>
|
|
string SerialNumber { get; set; }
|
|
|
|
/// <summary>
|
|
/// Firmware version in this module
|
|
/// </summary>
|
|
string FirmwareVersion { get; set; }
|
|
|
|
/// <summary>
|
|
/// who does this module belong to?
|
|
/// </summary>
|
|
//public InfoResult OwningInfoResult { get; set; }
|
|
|
|
/// <summary>
|
|
/// The number of this Module as it would be indexed in an array of Modules.
|
|
/// </summary>
|
|
int ModuleArrayIndex { get; set; }
|
|
|
|
/// <summary>
|
|
/// How many channels are connected to this Module.
|
|
/// </summary>
|
|
uint NumberOfChannels { get; set; }
|
|
|
|
/// <summary>
|
|
/// What sample rates does it support (in samples per second).
|
|
/// </summary>
|
|
uint[] SupportedSampleRates { get; set; }
|
|
|
|
/// <summary>
|
|
/// An associative list (Dictionary) of sample rates and corresponding
|
|
/// Anti-Aliasing filter frequencies.
|
|
/// </summary>
|
|
Dictionary<uint, float> SampleRate2AAFrequency { get; set; }
|
|
|
|
/// <summary>
|
|
/// How many bytes of sample storage is available in this module? This is null
|
|
/// if it's specified per DAS instead.
|
|
/// </summary>
|
|
ulong? MaxEventStorageSpaceInBytes { get; set; }
|
|
|
|
/// <summary>
|
|
/// How many bytes are stored for all channels at each sample interval? This is
|
|
/// null if it's specified per DAS instead.
|
|
/// </summary>
|
|
uint? NumberOfBytesPerSampleClock { get; set; }
|
|
|
|
/// <summary>
|
|
/// How many samples can you record in this module?
|
|
/// </summary>
|
|
double MaxRecordingSamples { get; set; }
|
|
|
|
/// <summary>
|
|
/// The <see cref="System.DateTime"/> of this module's last calibration.
|
|
/// </summary>
|
|
DateTime? CalibrationDate { get; set; }
|
|
|
|
/// <summary>
|
|
/// True if a TDAS rack is armed and doesn't respond to some queries.
|
|
/// </summary>
|
|
bool RackIsUnreadable { get; set; }
|
|
|
|
/// <summary>
|
|
/// What type of module is this?
|
|
/// </summary>
|
|
DFConstantsAndEnums.ModuleType TypeOfModule { get; set; }
|
|
|
|
/// <summary>
|
|
/// What recording modes does this Module support.
|
|
/// </summary>
|
|
DFConstantsAndEnums.RecordingMode[] SupportedModes { get; set; }
|
|
|
|
bool IsProgrammable { get; set; }
|
|
}
|
|
}
|