init
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
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();
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DTS.Common.Import.Enums
|
||||
{
|
||||
public enum ImportFormats
|
||||
{
|
||||
NOT_SPECIFIED = 1,
|
||||
DTS_XML = 2,
|
||||
ISF = 3,
|
||||
TSF = 4,
|
||||
DTS_CSV = 5,
|
||||
TTS_XML = 6,
|
||||
CrashDesigner_XML = 7,
|
||||
E2X = 8,
|
||||
TTS_CSV = 9,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user