using System.Xml;
using System.Xml.Schema;
namespace DTS.Common.Interface.DASFactory.Config
{
public interface IConfigurationData
{
///
/// Array of Module objects in the DAS.
///
IDASModule[] Modules { get; set; }
///
/// EID's for the whole DAS.
///
IEID[] IDs { get; set; }
///
/// The ID of the current test/event.
///
string TestID { get; set; }
string TestSetupUniqueId { get; set; }
///
/// The ID of an instance of a test run, for the purpose
/// of identifying where to download data.
///
string InstanceID { get; set; }
///
/// A description of the current test/event.
///
string Description { get; set; }
bool ClearSetup { get; set; }
///
/// Counts how many channels are configured. If a channel's
/// 'IsConfigured' property is 'true' it is configured.
///
/// Number of configured channels
int NumberOfConfiguredChannels();
///
/// Count how many channels we have (regardless if they are configured or not).
///
/// Total number of channels
int NumberOfChannels();
///
/// Count how many downloadable channels (i.e. not UART or StreamOut) we have (regardless if they are configured or not).
///
/// Total number of downloadable channels
int NumberOfDownloadChannels();
int[] DisplayOrder { get; set; }
int DasDisplayOrder { get; set; }
int GetDisplayOrder(uint channelIdx);
#region Serialization functions
void WriteXml(XmlWriter writer);
void ReadXml(XmlReader reader);
XmlSchema GetSchema();
///
/// the Address the DAS receives UDP information from
/// used to control the OBR-DDR
///
string UDPReceiveAddress { get; set; }
#endregion
}
}