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,39 @@
using DTS.Common.Interface.Hardware;
using System;
using System.Windows;
using System.Windows.Data;
// ReSharper disable PossibleNullReferenceException
namespace DTS.Common.Converters
{
public class DASStatusArmColorConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
if (value is DASStatuses status)
{
switch (status)
{
case DASStatuses.MissingNotBooted:
return BrushesAndColors.Brush_ApplicationStatus_Failed;
case DASStatuses.BootedNotArmedYet:
return BrushesAndColors.Brush_ApplicationStatus_Failed;
case DASStatuses.BootedNeverArmed:
return BrushesAndColors.Brush_ApplicationStatus_Failed;
case DASStatuses.ArmedReady:
return BrushesAndColors.Brush_ApplicationStatus_Complete;
case DASStatuses.ArmedButFailedDiag:
return BrushesAndColors.Brush_ApplicationStatus_Busy;
case DASStatuses.ReadyForDownload:
return BrushesAndColors.Brush_ApplicationStatus_Idle;
}
}
return BrushesAndColors.Brush_ApplicationStatus_Idle;
}
public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
return value.Equals(true) ? parameter : Binding.DoNothing;
}
}
}

View File

@@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DTS.Common.Interface.DASFactory.Diagnostics
{
public interface IOptimizationValues
{
float TransferSpeed { get; set; }
}
}

View File

@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Common")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("Common")]
[assembly: AssemblyCopyright("Copyright © Microsoft 2016")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("d16201c7-478c-4b92-ba6e-a0d39fd5f081")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

@@ -0,0 +1,41 @@
using DTS.Common.Enums;
using System;
namespace DTS.Common.Interface.Sensors.SensorsList
{
public interface ISquib
{
int DatabaseId { get; set; }
bool Included { get; set; }
string SerialNumber { get; set; }
string Description { get; set; }
double ResistanceLow { get; set; }
double ResistanceHigh { get; set; }
string ID { get; set; }
string SQMode { get; set; }
double SQDelay { get; set; }
double SQCurrent { get; set; }
double SQDuration { get; set; }
bool LimitDuration { get; set; }
string ModifiedBy { get; set; }
DateTime LastModified { get; set; }
bool Filter(string term);
bool Assigned { get; set; }
bool Online { get; set; }
string ISOCode { get; set; }
string ISOChannelName{ get; set; }
string UserCode { get; set; }
string UserChannelName { get; set; }
SquibFireMode Mode { get; set; }
/// <summary>
/// marks the squib as broken
/// broken sensors do not appear in lists of available sensors in edit test setup or edit group
/// </summary>
bool Broken { get; set; }
/// <summary>
/// marks the squib as donotuse
/// donotuse sensors do not appear in lists of available sensors in edit test setup or edit group
/// </summary>
bool DoNotUse { get; set; }
}
}