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: 717 B

View File

@@ -0,0 +1,52 @@
using System.ComponentModel;
using DTS.Common.Converters;
namespace DTS.Common.Enums
{
/// <summary>
/// FB15313 Configure S6A udp streaming
/// </summary>
[TypeConverter(typeof(EnumDescriptionTypeConverter))]
public enum UDPStreamProfile : byte
{
[Description("UDPStreamProfiles_RTCStreaming")]
RTCStreaming = 0,
[Description("UDPStreamProfiles_DTS_UDP")]
DTS_UDP = 1, // DTS with UDP timestamped using IRIG106 spec.
// /! profile with time format 1 RTC. /
[Description("UDPStreamProfiles_CH10_MANUAL_CONFIG")]
CH10_MANUAL_CONFIG = 2, // chapter 10 with manual configuration
[Description("UDPStreamProfiles_CH10_PCM128_MM")]
CH10_PCM128_MM = 3, // PCM format with TDP format 1 and 128bit minor frame/major frame. No supercom.
[Description("UDPStreamProfiles_CH10_ANALOG")]
CH10_ANALOG = 4, // analog format with time format 1.
[Description("UDPStreamProfiles_CH10_PCM_STANDARD")]
CH10_PCM_STANDARD = 5, // PCM with standard format similar to one used for TmNS payload.
[Description("UDPStreamProfiles_CH10_PCM_SUPERCOM")]
CH10_PCM_SUPERCOM = 6, // PCM with supercom format similar to one used for TmNS payload.
/*! profile with time format 2 + 2hdr option */
[Description("UDPStreamProfiles_CH10_PCM_128BIT_2HDR")]
CH10_PCM_128BIT_2HDR = 7, // current PCM with 12-bit. 32-bit sync + 96 bit ADC (16x6)
[Description("UDPStreamProfiles_CH10_ANALOG_2HDR")]
CH10_ANALOG_2HDR = 8, // Ch10 with analog + time format 1
[Description("UDPStreamProfiles_CH10_PCM_STANDARD_2HDR")]
CH10_PCM_STANDARD_2HDR = 9, // PCM with standard format similar to one used for TmNS payload.
[Description("UDPStreamProfiles_CH10_PCM_SUPERCOM_2HDR")]
CH10_PCM_SUPERCOM_2HDR = 10, // PCM with supercom format similar to one used for TmNS payload.
/*! TmNS PCM payload format */
[Description("UDPStreamProfiles_TMNS_PCM_STANDARD")]
TMNS_PCM_STANDARD = 11, // TmNS with standard PCM format.
[Description("UDPStreamProfiles_TMNS_PCM_SUPERCOM")]
TMNS_PCM_SUPERCOM = 12, // TmNS with supercom PCM format.
[Description("UDPStreamProfiles_IENAPTYPESTREAM")]
IENA_PTYPE_STREAM = 13, // message format for Positional parameter only.
[Description("UDPStreamProfiles_UART_STREAM")]
UART_STREAM = 14, // ADC-to-UART stream. no actual UDP messages sent
/*! reserved */
/*
[Description("UDPStreamProfiles_RSV15")]
RSV15 = 15*/
}
}

View File

@@ -0,0 +1,14 @@
namespace DTS.Common.Enums.GroupTemplates
{
public enum GroupTemplateFields
{
Name,
Description,
Channels,
LastModifiedBy,
LastModified,
AssociatedGroups
}
}

View File

@@ -0,0 +1,7 @@
namespace DTS.Common.Enums.Sensors
{
public enum SensorChangeTypes
{
OffsetTolerance
}
}

View File

@@ -0,0 +1,14 @@
using System.Collections.Generic;
using DTS.Common.Interface;
// ReSharper disable CheckNamespace
namespace DTS.Common.Classes.Viewer.TestMetadata
{
public class TestGraphs : ITestGraphs
{
public string Name { get; set; }
public string HardwareChannelName { get; set; }
public List<string> ChannelIds { get; set; }
public List<ITestChannel> Channels { get; set; }
}
}

View File

@@ -0,0 +1,45 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DTS.Common.Classes.Hardware
{
public class SerializableAAF
{
public enum DAS_TYPE { TDAS = 0, SLICE = 1 };
/*private DAS_TYPE _type = DAS_TYPE.TDAS;
public DAS_TYPE DasType { get { return _type; } }
private UInt64 _sampleRate = 0;
public UInt64 SampleRate { get { return _sampleRate; } }
private float _aaf = 0F;
public float AAF { get { return _aaf; } }
public SerializableAAF(DAS_TYPE type, ulong sps, float aaf)
{
_type = type;
_sampleRate = sps;
_aaf = aaf;
}
private const string SEPARATOR = "_x_";
public string GetSerializedKey()
{
return string.Format("{0}{1}{2}", (int)DasType, SEPARATOR, SampleRate);
}
public string GetSerializedValue()
{
return AAF.ToString(System.Globalization.CultureInfo.InvariantCulture);
}
public void FromSerializedStrings(string key, string value)
{
string[] tokens = key.Split(new string[] { SEPARATOR }, StringSplitOptions.None);
if (2 != tokens.Length) { throw new NotSupportedException("Invalid Format AAF key: " + key.ToArray()); }
_type = (DAS_TYPE)Convert.ToInt32(tokens[0]);
_sampleRate = Convert.ToUInt64(tokens[1]);
_aaf = Convert.ToSingle(value);
}*/
}
}

View File

@@ -0,0 +1,12 @@
using DTS.Common.Base;
namespace DTS.Common.Interface
{
public interface IDockPanelHorizontalViewModel : IBaseViewModel
{
/// <summary>
/// Gets the Tab View.
/// </summary>
IDockPanelHorizontalView View { get; }
}
}