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,27 @@
using DTS.Common.Enums.Hardware;
using DTS.Common.Interface.DataRecorders;
using System;
using System.Collections.Generic;
namespace DTS.Common.Interface.DASFactory.Diagnostics
{
public interface IISOHardware : IDASDBRecord
{
void GetChannelsString(out int analog, out int digitalIn, out int digitalOut, out int squib, out int uart, out int streamOut, out int streamIn);
HardwareTypes DASTypeEnum { get; set; }
string IPAddress { get; set; }
//Pseudo racks are racks are collections of hardware that associated with each
//other but aren't racks, this includes SLICE slabs and SLICE6 with S6DB
//this just indicates whether it's capable, not whether it's serving that role
bool IsPseudoRackModule();
bool IsTSRAIR();
bool ValidateSerialNumber(ref List<string> errors);
bool ValidateIPAddress(ref List<string> errors);
void Insert();
void Update();
/// <summary>
/// remove this hardware from the database
/// </summary>
void Delete();
}
}

View File

@@ -0,0 +1,36 @@
using DTS.Common.Interface.Channels;
using System.Data;
namespace DTS.Common.Classes.Groups.ChannelSettings
{
public class ChannelSettingRecord : Common.Base.BasePropertyChanged, IChannelSettingRecord
{
private int _id;
public int Id
{
get => _id;
set => SetProperty(ref _id, value, "Id");
}
private string _settingName;
public string SettingName
{
get => _settingName;
set => SetProperty(ref _settingName, value, "SettingName");
}
private string _defaultValue;
public string DefaultValue
{
get => _defaultValue;
set => SetProperty(ref _defaultValue, value, "DefaultValue");
}
public ChannelSettingRecord() { }
public ChannelSettingRecord(IDataReader reader)
{
Id = Utility.GetInt(reader, "Id");
SettingName = Utility.GetString(reader, "SettingName");
DefaultValue = Utility.GetString(reader, "DefaultValue");
}
}
}

View File

@@ -0,0 +1,18 @@
namespace DTS.Common.Interface.DASFactory.Download
{
public interface IEventInfoAggregate
{
string EventId { get; set; }
string EventDescription { get; set; }
double DurationSeconds { get; set; }
string GUID { get; set; }
bool HasBeenDownloaded { get; set; }
bool WasTriggered { get; set; }
int NumberOfChannels { get; set; }
ulong NumberOfSamples { get; set; }
ulong NumberOfBytes { get; set; }
bool Faulted { get; set; }
int EventNumber { get; set; }
void Add(IEventInfo newEvent);
}
}

View File

@@ -0,0 +1,10 @@
// ReSharper disable once CheckNamespace
namespace DTS.Common.Enums.Viewer
{
public enum ChannelGroups
{
Channel,
Graph,
CalculatedChannel,
}
}

View File

@@ -0,0 +1,11 @@
using DTS.Common.Base;
namespace DTS.Common.Interface
{
public interface ISummaryView : IBaseView
{
void UpdateTestIds(string[] serializedValues);
string GetTestId();
void SetTestName(string testName);
}
}

View File

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