This commit is contained in:
2026-04-17 14:55:32 -04:00
commit bc3ac1d4c9
18017 changed files with 4371742 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
using System.ComponentModel;
namespace DTS.Common.Interface.RegionOfInterest
{
public interface IRegionOfInterest : INotifyPropertyChanged
{
string Suffix { get; set; }
double Start { get; set; }
double End { get; set; }
bool IsEnabled { get; set; }
bool IsDefault { get; set; }
string[] ChannelNames { get; set; }
void SetChannelNamesNoNotify(string[] names);
void ResetSuffix();
}
}

View File

@@ -0,0 +1,6 @@
using DTS.Common.Base;
namespace DTS.Common.Interface.RegionOfInterest.RegionOfInterestChannels
{
public interface IRegionOfInterestChannelsView : IBaseView { }
}

View File

@@ -0,0 +1,36 @@
using DTS.Common.Base;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using DTS.Common.Interface.DataRecorders;
using DTS.Common.Interface.Groups;
using DTS.Common.Interface.GroupTemplate;
using DTS.Common.Interface.TestSetups.TestSetupsList;
using DTS.Common.Enums;
namespace DTS.Common.Interface.RegionOfInterest.RegionOfInterestChannels
{
public interface IRegionOfInterestChannelsViewModel : IBaseViewModel
{
void SetParent(object o);
IRegionOfInterestChannelsView View { get; set; }
BindingList<IRegionOfInterest> RegionsOfInterest { get; set; }
string[] AllChannelSSNs { get; }
//void SetGroups(ITestObject[] groups, Dictionary<string, IDASHardware> hardwareLookup, ITestObjectTemplate[] groupTemplates);
void SetGroups(ITestSetup testSetup, Dictionary<string, IDASHardware> serialNumberToHardware, IsoViewMode viewMode);
void SetTest(string path, IsoViewMode viewMode);
void Filter(object tag, string term);
/// <summary>
/// filters in (search for) search term among all channels
/// </summary>
/// <param name="term"></param>
void Filter(string term);
void Sort(object o, bool columnClick);
void SelectAll(int roiIndex, bool selection);
bool Validate(ref List<string> errors);
IsoViewMode ISOViewMode { get; set; }
}
}