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,37 @@
using System;
using DTS.Common.Interface.GroupTemplate;
namespace DTS.Common.Interface.Groups
{
public interface ITestObject
{
void SortChannels();
string DisplaySerialNumber { get; }
string SerialNumberConverted { get; set; }
string SerialNumber { get; set; }
string SerialNumberOrOriginalSerialNumber { get; }
string TestObjectType { get; set; }
string ParentObject { get; set; }
bool SysBuilt { get; set; }
string TextL1 { get; set; }
string[] HardwareIds
{
get; set;
}
string Template { get; set; }
void SetTemplateOnly(string value);
bool LocalOnly { get; set; }
string LastModifiedBy { get; set; }
DateTime LastModified { get; set; }
bool Embedded { get; set; }
string OriginalSerialNumber { get; set; }
/// <summary>
/// the original template for this group (the template is also changed once it's embedded in a test setup)
/// </summary>
string OriginalTemplate { get; set; }
}
}

View File

@@ -0,0 +1,18 @@
using System.Collections.ObjectModel;
using DTS.Common.Base;
using DTS.Common.Classes.Viewer.TestMetadata;
namespace DTS.Common.Interface
{
public interface IGraphChannelViewModel : IBaseViewModel
{
/// <summary>
/// Gets the Tab View.
/// </summary>
IGraphChannelView View { get; }
ObservableCollection<ITestChannel> GraphChannelList { get; set; }
ObservableCollection<ITestChannel> SelectedGraphChannelList { get; set; }
TestChannel SelectedGraphChannel { get; set; }
}
}

View File

@@ -0,0 +1,38 @@
using System.Collections.Generic;
using System.Windows;
using DTS.Common.Base;
// ReSharper disable once CheckNamespace
namespace DTS.Common.Interface
{
public interface IViewerMainViewModel : IBaseViewModel, ISelectedDataViewModel
{
/// <summary>
/// Gets the Main View.
/// </summary>
IBaseView View { get; set; }
bool Standalone { get; set; }
object ContextNavigationRegion { get; set; }
object ContextGraphRegion { get; set; }
object ContextTestsRegion { get; set; }
object ContextGraphsRegion { get; set; }
object ContextLegendRegion { get; set; }
object ContextDiagRegion { get; set; }
object ContextStatsRegion { get; set; }
object ContextCursorRegion { get; set; }
object ContextPropertyRegion { get; set; }
List<FrameworkElement> GetRegions();
string ConfigPath { get; set; }
bool DoesUserHaveEditPermission { get; set; }
void ZoomReset();
//inform left arrow key was pressed
void LeftKeyPress();
//inform right arrow key was pressed
void RightKeyPress();
Common.Enums.IsoViewMode ChannelCodeViewMode { get; set; }
Common.Enums.Sensors.CalibrationBehaviors CalibrationBehaviorSetting { get; set; }
bool CalibrationBehaviorSettableInViewer { get; set; }
Visibility SettingsVisibility { get; }
}
}

View File

@@ -0,0 +1,15 @@
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Reflection;
using DataPro.Common.Base;
namespace DataPro.Common.Interface
{
public interface IGroupViewModel : IBaseViewModel
{
IGroupView View { get; set; }
string GroupName { get; set; }
List<AssemblyNameImage> AssemblyList { get; set; }
}
}