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,6 @@
using DTS.Common.Base;
namespace DTS.Common.Interface.DASFactory.Diagnostics.HardwareList
{
public interface ISLICE6TreeView : IBaseView { }
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -0,0 +1,188 @@
using System;
using System.ComponentModel;
using System.Windows.Input;
namespace DTS.Common.RibbonControl
{
public class ControlData : INotifyPropertyChanged
{
public string Label
{
get => _label;
set
{
if (_label != value)
{
_label = value;
OnPropertyChanged(new PropertyChangedEventArgs("Label"));
}
}
}
private string _label;
public Uri LargeImage
{
get => _largeImage;
set
{
if (_largeImage != value)
{
_largeImage = value;
OnPropertyChanged(new PropertyChangedEventArgs("LargeImage"));
}
}
}
private Uri _largeImage;
public Uri SmallImage
{
get => _smallImage;
set
{
if (_smallImage != value)
{
_smallImage = value;
OnPropertyChanged(new PropertyChangedEventArgs("SmallImage"));
}
}
}
private Uri _smallImage;
public string ToolTipTitle
{
get => _toolTipTitle;
set
{
if (_toolTipTitle != value)
{
_toolTipTitle = value;
OnPropertyChanged(new PropertyChangedEventArgs("ToolTipTitle"));
}
}
}
private string _toolTipTitle;
public string ToolTipDescription
{
get => _toolTipDescription;
set
{
if (_toolTipDescription != value)
{
_toolTipDescription = value;
OnPropertyChanged(new PropertyChangedEventArgs("ToolTipDescription"));
}
}
}
private string _toolTipDescription;
public Uri ToolTipImage
{
get => _toolTipImage;
set
{
if (_toolTipImage != value)
{
_toolTipImage = value;
OnPropertyChanged(new PropertyChangedEventArgs("ToolTipImage"));
}
}
}
private Uri _toolTipImage;
public string ToolTipFooterTitle
{
get => _toolTipFooterTitle;
set
{
if (_toolTipFooterTitle != value)
{
_toolTipFooterTitle = value;
OnPropertyChanged(new PropertyChangedEventArgs("ToolTipFooterTitle"));
}
}
}
private string _toolTipFooterTitle;
public string ToolTipFooterDescription
{
get => _toolTipFooterDescription;
set
{
if (_toolTipFooterDescription != value)
{
_toolTipFooterDescription = value;
OnPropertyChanged(new PropertyChangedEventArgs("ToolTipFooterDescription"));
}
}
}
private string _toolTipFooterDescription;
public Uri ToolTipFooterImage
{
get => _toolTipFooterImage;
set
{
if (_toolTipFooterImage != value)
{
_toolTipFooterImage = value;
OnPropertyChanged(new PropertyChangedEventArgs("ToolTipFooterImage"));
}
}
}
private Uri _toolTipFooterImage;
public ICommand Command
{
get => _command;
set
{
if (_command != value)
{
_command = value;
OnPropertyChanged(new PropertyChangedEventArgs("Command"));
}
}
}
private ICommand _command;
public string KeyTip
{
get => _keyTip;
set
{
if (_keyTip != value)
{
_keyTip = value;
OnPropertyChanged(new PropertyChangedEventArgs("KeyTip"));
}
}
}
private string _keyTip;
#region INotifyPropertyChanged Members
public event PropertyChangedEventHandler PropertyChanged;
protected void OnPropertyChanged(PropertyChangedEventArgs e)
{
if (PropertyChanged != null)
{
PropertyChanged(this, e);
}
}
#endregion
}
}

View File

@@ -0,0 +1,75 @@
using System;
namespace DTS.Common.Interface.DataRecorders
{
/// <summary>
/// interface encapsulating a DAS record in the DB
/// </summary>
public interface IDASDBRecord
{
int DASId { get; set; }
string SerialNumber { get; set; }
int DASType { get; set; }
int MaxModules { get; set; }
long MaxMemory { get; set; }
double MaxSampleRate { get; set; }
double MinSampleRate { get; set; }
string FirmwareVersion { get; set; }
DateTime CalDate { get; set; }
int ProtocolVersion { get; set; }
DateTime LastModified { get; set; }
string LastModifiedBy { get; set; }
int Version { get; set; }
bool LocalOnly { get; set; }
DateTime LastUsed { get; set; }
string LastUsedBy { get; set; }
/// <summary>
/// Used to determine DAS connectivity for Hardware Scan
/// </summary>
string Connection { get; set; }
int Channels { get; set; }
string Position { get; set; }
int[] ChannelTypes { get; set; }
bool IsProgrammable { get; set; }
bool IsReconfigurable { get; set; }
/// <summary>
/// the module flag is whether this hardware is operating by itself or as part
/// of a collection (a rack module)
/// </summary>
bool IsModule { get; set; }
int PositionOnDistributor { get; set; }
int PositionOnChain { get; set; }
int Port { get; set; }
string ParentDAS { get; set; }
/// <summary>
/// first date of use after calibration
/// only valid if IsFirstUseValid is true
/// null value indicates hardware has not been used since calibration
/// (once again, only if IsFirstUseValid is true)
/// 15524 DAS "First Use Date"
/// </summary>
DateTime? FirstUseDate { get; set; }
/// <summary>
/// The test id this hardware is associated with if it's a
/// standin hardware existing in a test only
/// 15727 Building and Replacing Racks/Mods
/// </summary>
int? TestId { get; set; }
/// <summary>
/// The group id this hardware is associated with if it's a
/// standin hardware existing in a group only
/// </summary>
int? GroupId { get; set; }
/// <summary>
/// whether this hardware is standin/dummy hardware and not actually
/// physical hardware that data can be collected on
/// </summary>
bool StandIn { get; set; }
double MaxAAFRate { get; set; }
/// <summary>
/// whether hardware supports and is using first use date
/// 15524 DAS "First Use Date"
/// </summary>
bool IsFirstUseValid { get; set; }
}
}