namespace DTS.Common.Interface.DASFactory.ARM
{
public interface IArmStatusData
{
///
/// returns true if unit received InvalidMode to query commands during initial setup
/// 15932 Error when performing test when S6A is streaming
/// this is used in some places currently to detect when a unit is streaming
///
bool ReceivedInvalidModeDuringSetup { get; set; }
///
/// clears any flags set or needed for triggercheck
///
void ClearTriggerCheckStatus();
///
/// Is the DAS currently armed?
///
bool IsArmed { get; set; }
///
/// Has the DAS sensed a trigger?
///
bool IsTriggered { get; set; }
///
/// a little bit distinct from IsTriggered
/// in that IsTriggerShorted is only set during TriggerCheck
/// while IsTriggered is set in many places
///
bool IsTriggerShorted { get; set; }
///
/// indicates that trigger was shorted
/// is only set during triggercheck
///
bool IsStartShorted { get; set; }
///
/// Is the DAS currently recording sample data?
///
bool IsRecording { get; set; }
///
/// Has the DAS faulted?
///
bool IsFaulted { get; set; }
///
/// Is the DAS in real time mode?
///
bool IsInRealtime { get; set; }
///
/// is the DAS in flash write (G5)
///
bool IsInFlashWrite { get; set; }
///
/// used for the times when TDAS ARM STAT READ just doesn't return anything
///
bool IsUndefined { get; set; }
///
/// Is the DAS in post test diagnostics
///
bool IsInPostTestDiagnostics { get; set; }
///
/// How many seconds are left of recording?
///
double TimeRemainingSeconds { get; set; }
///
/// what percentage is complete [flashwrite]
///
double PercentComplete { get; set; }
///
/// How many samples total will the DAS be recording this test?
///
ulong TotalSamples { get; set; }
///
/// What sample are we currently recording?
///
ulong CurrentSample { get; set; }
///
/// At what sample rate are we currently recording?
///
uint SampleRate { get; set; }
///
/// What's the current input voltage?
///
double? InputMilliVolts { get; set; }
///
/// What's the current battery voltage (null if no battery)?
///
double? BatteryMilliVolts { get; set; }
///
/// Which event number is currently being recorded?
///
int? EventNumber { get; set; }
//FB 26817
///
/// The Max number of events supported by a device
///
ushort? MaxEventsPossible { get; set; }
int RecordingMode { get; set; }
///
/// optional fault message if there is a fault
/// (software will flag some faults and when we do we know what caused it)
///
string FaultMessage { get; set; }
bool IsRearming { get; set; }
bool HasBeenRecording { get; set; }
double? TimeLeftInArm { get; set; }
}
}