using System.Collections.Generic; using System.Collections.ObjectModel; using System.Windows; using DTS.Common.Interface.Channels; using DTS.Common.Interface.DataRecorders; using DTS.Common.Interface.Groups.GroupList; using DTS.Common.Interface.Sensors; namespace DTS.Common.Interface.TestSetups.TestSetupsList { public interface ITestSetup : ITestSetupRecord { void AddGroup(IGroup group, IDictionary sensorLookup, IDictionary channelLookup); Dictionary ChannelsForGroup { get; set; } Dictionary DASClockMasterList { get; set; } Dictionary DASSampleRateList { get; set; } Dictionary DASAAFRateList { get; set; } Dictionary> EncapsulatedDASList { get; set; } //returns rate for das, if doesn't currently have a rate uses default value double GetSampleRate(string dasSerialNumber, double defaultValue); bool Filter(string term); Visibility TooltipVisibility { get; } string TooltipMessage { get; } string CompletionErrorMessage { get; } ObservableCollection Groups { get; set; } void AddGroup(IGroup group, IDictionary sensorLookup, IDictionary hardwareLookup, IChannelSetting[] channelDefaults); /// /// explicitly adds hardware to test, regardless of what hardware is /// included through groups /// int[] AddedHardware { get; set; } /// /// explicitly removes hardware from test, regardless of what hardware was included through groups /// int[] RemovedHardware { get; set; } int[] GetAllIncludedHardware(); void AddHardware(int dasId, string dasSerialNumber, IDASHardware [] allHardware, IDictionary lookup); void AddHardware(int dasId, IDictionary lookup); void RemoveHardware(int dasId, IDASHardware[] allHardware, IDictionary lookup); void SaveGroups(); void SaveHardware(); void RemoveGroup(IGroup group); void MoveGroupUp(IGroup group); void MoveGroupDown(IGroup group); void MoveGroupToDisplayOrder(IGroup group, int displayOrder); List GetChannels(); void SetTestSetupChannelOrder(); } }