namespace DTS.Common.Interface.DASFactory.ARM { /// /// Arm interface for a DAS unit. /// public interface IArmStatus { /// /// marks the unit as being in arm /// whether to write to db or not /// void SetInArm(bool WriteToDb); /// /// marks the unit as being in realtime /// whether to write to db or not /// void SetInRealtime(bool WriteToDb, bool ExitRealtimeIfPossible); /// /// returns true if the unit is in known to be in Arm /// does not query the hardware, just returns a flag if it has been set /// /// bool GetIsInArm(); /// /// returns true if unit is known to be in realtime /// does not query the hardware, just returns a flag if it has been set /// /// bool GetIsInRealtime(); /// /// returns true if the unit is known to be streaming /// does not query the hardware, just returns a flag if it has been set /// /// bool GetIsStreaming(); IArmStatusData DASArmStatus { get; set; } /// /// sets DASArmStatus and optionally stores in the db /// /// /// void SetDASArmStatus(IArmStatusData status, bool bSetInDb); /// /// sets to the db (if connected) the current DASArmStatus /// void SetDASArmStatus(); } }