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,162 @@
using DTS.Common.Base;
using DTS.Common.Interface.TestSetups.Imports.TTS.HardwareScan;
namespace TTSImport.Model
{
public class HardwareSummaryRecord : BasePropertyChanged, IHardwareSummaryRecord
{
private uint _dout;
public uint DOut
{
get => _dout;
set
{
_dout = value;
OnPropertyChanged("DOut");
}
}
private uint _din;
public uint DIn
{
get => _din;
set
{
_din = value;
OnPropertyChanged("DIn");
}
}
private uint _squib;
public uint Squib
{
get => _squib;
set
{
_squib = value;
OnPropertyChanged("Squib");
}
}
private uint _analog;
public uint Analog
{
get => _analog;
set
{
_analog = value;
OnPropertyChanged("Analog");
}
}
private uint _sps;
public uint SPS
{
get => _sps;
set
{
_sps = value;
OnPropertyChanged("SPS");
}
}
private uint _spd;
public uint SPD
{
get => _spd;
set
{
_spd = value;
OnPropertyChanged("SPD");
}
}
private uint _spt;
public uint SPT
{
get => _spt;
set
{
_spt = value;
OnPropertyChanged("SPT");
}
}
private uint _ecm;
public uint ECM
{
get => _ecm;
set
{
_ecm = value;
OnPropertyChanged("ECM");
}
}
private uint _rack;
public uint Rack
{
get => _rack;
set
{
_rack = value;
OnPropertyChanged("Rack");
}
}
private uint _g5;
public uint G5
{
get => _g5;
set
{
_g5 = value;
OnPropertyChanged("G5");
}
}
private uint _total;
public uint Total
{
get => _total;
private set
{
_total = value;
OnPropertyChanged("Total");
}
}
public void UpdateTotal()
{
Total = Analog + Squib + DIn + DOut;
}
public void Update(uint analog, uint squib, uint din, uint dout, uint ecm, uint sps, uint spt, uint spd,
uint g5,
uint rack)
{
Analog = analog;
Squib = squib;
DIn = din;
DOut = dout;
ECM = ecm;
SPS = sps;
SPT = spt;
SPD = spd;
G5 = g5;
Rack = rack;
UpdateTotal();
}
}
}