This commit is contained in:
2026-04-17 14:55:32 -04:00
commit bc3ac1d4c9
18017 changed files with 4371742 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -0,0 +1,16 @@
namespace DTS.Common.Enums.Channels
{
public class ChannelEnumsAndConstants
{
public const string IsoCodeTypeString = "ISO 13499";
public const string UserCodeTypeString = "User";
public const int ISO_CODE_LENGTH = 16;
public const int USER_CODE_LENGTH = 50;
public enum ChannelCodeType
{
ISO,
User
}
}
}

View File

@@ -0,0 +1,26 @@
using System.Collections.Generic;
namespace DTS.Common.Interface.DASFactory.Diagnostics
{
public interface IArmCheckResults
{
Dictionary<int, string[]> SensorIds { get; set; }
Dictionary<int, double> SquibResistances { get; set; }
/// <summary>
/// some DAS (TDAS Pro rack) can have multiple battery voltages for modules ...
/// </summary>
double?[] BatteryVoltage { get; set; }
double? InputVoltage { get; set; }
bool? StartLineShorted { get; set; }
bool? EventLineShorted { get; set; }
short[] TiltSensorDataPre { get; set; }
double[] TiltDegrees { get; set; }
Dictionary<byte, short[]> IndexedTiltSensorDataPre { get; set; }
Dictionary<byte, double[]> IndexedTiltDegrees { get; set; }
float[] TemperaturesPre { get; set; }
double[] Gains { get; set; }
double[] ZeroData { get; set; }
IDictionary<InputClockSource, bool> InputClockLocks { get; set; }
}
}

View File

@@ -0,0 +1,12 @@
using DTS.Common.Interface;
using Microsoft.Practices.Prism.Events;
// ReSharper disable CheckNamespace
namespace DTS.Common.Events
{
/// <summary>
/// The Data Folder changed event.
/// </summary>
public class TestModificationChangedEvent : CompositePresentationEvent<ITestModificationModel> { }
}

View File

@@ -0,0 +1,50 @@
using System.Windows.Media;
using DTS.Common.Base;
using DTS.Common.Enums.Database;
namespace DTS.Common.Interface.Database
{
/// <summary>
/// this viewmodel handles the logic for database status in a UI
/// it handles the current connection and status
/// </summary>
public interface IDatabaseStatusBarViewModel : IBaseViewModel
{
/// <summary>
/// the associated view for the model
/// </summary>
IDatabaseStatusBarView View { get; set; }
//frees up any memory associated with viewmodel
void Unset();
/// <summary>
/// gets the database type
/// use initializevalues to populate
/// </summary>
DbType DatabaseType { get; }
/// <summary>
/// gets whether the remote database is connected
/// use initializevalues to populate
/// </summary>
bool RemoteConnected { get; }
/// <summary>
/// the server (not db) name
/// use initialize values to populate
/// </summary>
string ServerName { get; }
/// <summary>
/// sets the initial values for db type, server name, and remote connection status
/// </summary>
/// <param name="dbType"></param>
/// <param name="serverName"></param>
/// <param name="remoteConnected"></param>
void InitializeValues(DbType dbType, string serverName, bool remoteConnected);
/// <summary>
/// returns the current active db name (either server name or local depending on db type and remote connection status)
/// </summary>
string ActiveDbName { get; }
/// <summary>
/// returns the background brush for the active db name
/// </summary>
Brush BackgroundBrush { get; }
}
}