55 lines
2.5 KiB
C#
55 lines
2.5 KiB
C#
|
|
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<int, ISensorData> sensorLookup, IDictionary<long, IGroupChannel> channelLookup);
|
|||
|
|
Dictionary<IGroup, IGroupChannel[]> ChannelsForGroup { get; set; }
|
|||
|
|
Dictionary<string, bool> DASClockMasterList { get; set; }
|
|||
|
|
Dictionary<string, double> DASSampleRateList { get; set; }
|
|||
|
|
Dictionary<string, float> DASAAFRateList { get; set; }
|
|||
|
|
Dictionary<string, List<string>> 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<IGroup> Groups { get; set; }
|
|||
|
|
void AddGroup(IGroup group, IDictionary<int, ISensorData> sensorLookup, IDictionary<int, IDASHardware> hardwareLookup, IChannelSetting[] channelDefaults);
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// explicitly adds hardware to test, regardless of what hardware is
|
|||
|
|
/// included through groups
|
|||
|
|
/// </summary>
|
|||
|
|
int[] AddedHardware { get; set; }
|
|||
|
|
/// <summary>
|
|||
|
|
/// explicitly removes hardware from test, regardless of what hardware was included through groups
|
|||
|
|
/// </summary>
|
|||
|
|
int[] RemovedHardware { get; set; }
|
|||
|
|
|
|||
|
|
int[] GetAllIncludedHardware();
|
|||
|
|
|
|||
|
|
void AddHardware(int dasId, string dasSerialNumber, IDASHardware[] allHardware, IDictionary<int, IDASHardware> lookup);
|
|||
|
|
void AddHardware(int dasId, IDictionary<int, IDASHardware> lookup);
|
|||
|
|
void RemoveHardware(int dasId, IDASHardware[] allHardware, IDictionary<int, IDASHardware> lookup);
|
|||
|
|
void SaveGroups();
|
|||
|
|
void SaveHardware();
|
|||
|
|
void RemoveGroup(IGroup group);
|
|||
|
|
void MoveGroupUp(IGroup group);
|
|||
|
|
void MoveGroupDown(IGroup group);
|
|||
|
|
void MoveGroupToDisplayOrder(IGroup group, int displayOrder);
|
|||
|
|
|
|||
|
|
List<IGroupChannel> GetChannels();
|
|||
|
|
void SetTestSetupChannelOrder();
|
|||
|
|
}
|
|||
|
|
}
|