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,12 @@
using DTS.Common.Base;
namespace DTS.Common.Interface
{
public interface IChannelSummary : IBaseClass
{
string ChannelType { get; set; }
int Requested { get; set; }
int Assigned { get; set; }
int Unassigned { get; set; }
}
}

View File

@@ -0,0 +1,14 @@
using DTS.Common.Base;
namespace DTS.Common.Interface
{
public interface IDasSummary : IBaseClass
{
string DASSerial { get; set; }
string EIDFound { get; set; }
string BatteryVoltageStatus { get; set; }
System.Windows.Media.SolidColorBrush BatteryVoltageColor { get; set; }
string InputVoltageStatus { get; set; }
System.Windows.Media.SolidColorBrush InputVoltageColor { get; set; }
}
}

View File

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

View File

@@ -0,0 +1,25 @@
using System.Collections.Generic;
using DTS.Common.Base;
using DTS.Common.Interface.TestSetups.Imports.TTS.HardwareScan;
using DTS.Common.Interface.TestSetups.Imports.TTS.ReadFile;
using DTS.Common.Utils;
namespace DTS.Common.Interface
{
public interface IHardwareScanViewModel : IBaseViewModel
{
IHardwareScanView View { get; set; }
IHardwareSummaryRecord[] HardwareRecords { get; }
void SetStatus(string status);
void SetProgress(double progress);
void HardwareScan();
void SetChannelSummaryList(ITTSChannelRecord[] channelRecords);
}
/// <summary>
/// delegate to scan hardware
/// </summary>
public delegate void HardwareScanDelegate();
}

View File

@@ -0,0 +1,21 @@
namespace DTS.Common.Interface.TestSetups.Imports.TTS.HardwareScan
{
public interface IHardwareSummaryRecord
{
uint DOut { get; set; }
uint DIn { get; set; }
uint Squib { get; set; }
uint Analog { get; set; }
uint Total { get; }
uint SPS { get; set; }
uint SPD { get; set; }
uint SPT { get; set; }
uint ECM { get; set; }
uint Rack { get; set; }
uint G5 { get; set; }
void UpdateTotal();
void Update(uint analog, uint squib, uint din, uint dout, uint ecm, uint sps, uint spt, uint spd, uint g5,
uint rack);
}
}