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,57 @@
G\PN:{NAME OF PROGRAM};
G\TA:{TEST ID};
G\106:17;
G\DSI\N:1;
G\DSI-1:PTP;
G\DSI-2:{TEST ID};
G\DST-1:DRS;
G\DSC-1:U;
G\SC:U;
G\COM:--- DTS Analog Time format 2 file export -----;
R-1\ID:{TEST ID};
R-1\RID:S6ACH6;
R-1\N:2;
R-1\NSB:0;
R-1\RI1:DTS;
R-1\RI2:S6A;
R-1\RI3:Y;
R-1\RI4:{CREATE DATE};
R-1\COM:Ver-17;
V-1\ID:{TEST ID};
V-1\VN:DTS;
V-1\DTS:STREAMCH10;
R-1\EV\E:F;
R-1\IDX\E:F;
R-1\IDX\IT:F;
R-1\RI6:N;
R-1\CRE:F;
R-1\RSS:R;
R-1\RML:E;
R-1\ERBS:AUTO;
R-1\COM:--- Channel '1', ID: 0x0001, TIME Data Packet Format ---------------;
R-1\TK1-1:1;
R-1\TK2-1:OTHER;
R-1\DSI-1:1;
R-1\TK3-1:FWD;
R-1\TK4-1:1;
R-1\CHE-1:T;
R-1\CDT-1:TIMEIN;
R-1\CDLN-1:1;
R-1\TTF-1:2;
R-1\TFMT-1:B;
R-1\TSRC-1:E;
R-1\SHTF-1:1;
R-1\COM:--------------------- Main Analog Channel Description --------------;
R-1\DSI-2:{UDP STREAM DATA CHANNEL ID};
R-1\TK1-2:{UDP STREAM DATA CHANNEL ID};
R-1\TK2-2:OTHER;
R-1\TK3-2:FWD;
R-1\TK4-2:{UDP STREAM DATA CHANNEL ID};
R-1\CHE-2:T;
R-1\CDLN-2:DTS_CH10_Export;
R-1\CDT-2:ANAIN;
R-1\ATF-2:1;
R-1\ACH\N-2:{NUMBER_OF_CHANNELS};
R-1\ADP-2:NO;
R-1\ASR-2:{DAS SAMPLE RATE};
R-1\SHTF-2:1;

View File

@@ -0,0 +1,26 @@
using System;
using System.Windows.Controls;
using System.Windows.Data;
using DTS.Common.Base;
namespace DTS.Common.Converters
{
public class ActiveContentConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
if (value is ContentControl)
return value;
return Binding.DoNothing;
}
public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
if (value is ContentControl)
return value;
return Binding.DoNothing;
}
}
}

View File

@@ -0,0 +1,27 @@
using Prism.Events;
namespace DTS.Common.Events.Hardware.HardwareList
{
/// <summary>
/// The HardwareListHardwareTestSampleRateEvent event.
/// </summary>
///
/// <remarks>This event is used to indicate the hardware's sample rate in this test was changed.</remarks>
///
public class HardwareListHardwareTestSampleRateEvent : PubSubEvent<HardwareListHardwareTestSampleRateEventArgs> { }
public class HardwareListHardwareTestSampleRateEventArgs
{
public string SerialNumber { get; private set; }
public int DASId { get; private set; }
public double TestSampleRate { get; private set; }
public HardwareListHardwareTestSampleRateEventArgs(string serial, double testSampleRate, int dasId)
{
DASId = dasId;
SerialNumber = serial;
TestSampleRate = testSampleRate;
}
}
}

View File

@@ -0,0 +1,20 @@
using System;
using System.Windows.Markup;
namespace DTS.Common.Strings
{
[MarkupExtensionReturnType(typeof(string))]
public class TranslateExtension : MarkupExtension
{
private readonly string _key;
public TranslateExtension(string key) { _key = key; }
private const string NotFound = "#stringnotfound#";
public override object ProvideValue(IServiceProvider serviceProvider)
{
if (string.IsNullOrEmpty(_key)) { return NotFound; }
return Strings.ResourceManager.GetString(_key) ?? NotFound + " " + _key;
}
}
}

View File

@@ -0,0 +1,91 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DTS.Common.XMLUtils
{
public class FieldsXMLClass
{
public string SetupName { get; set; }
public string SetupDescription { get; set; }
public string AutomaticTestProgression { get; set; }
public string AutomaticProgressionDelayMS { get; set; }
public string InvertTrigger { get; set; }
public string InvertStart { get; set; }
public string IgnoreShortedStart { get; set; }
public string IgnoreShortedTrigger { get; set; }
public string ViewDiagnostics { get; set; }
public string VerifyChannels { get; set; }
public string AutoVerifyChannels { get; set; }
public string VerifyChannelsDelayMS { get; set; }
public string RecordingMode { get; set; }
public string SamplesPerSecond { get; set; }
public string PreTriggerSeconds { get; set; }
public string PostTriggerSeconds { get; set; }
public string NumberOfEvents { get; set; }
public string WakeUpMotionTimeout { get; set; }
public string ScheduledStartDateTime { get; set; }
public string IntervalBetweenEventStartsMinutes { get; set; }
public string StartWithEvent { get; set; }
public string WakeUpWithMotion { get; set; }
public string StrictDiagnostics { get; set; }
public string RequireConfirmationOnErrors { get; set; }
public string ROIDownload { get; set; }
public string ViewROIDownload { get; set; }
public string DownloadAll { get; set; }
public string ViewRealtime { get; set; }
public string RealtimePlotCount { get; set; }
//public RegionsOfInterestXMLClass RegionsOfInterest { get; set; }
public string ROIStart { get; set; }
public string ROIEnd { get; set; }
public string ViewDownloadAll { get; set; }
public string Export { get; set; }
public string ExportFormat { get; set; }
public string LabDetails { get; set; }
public string UseLabDetails { get; set; }
public string CustomerDetails { get; set; }
public string UseCustomerDetails { get; set; }
public string AllowMissingSensors { get; set; }
public string AllowSensorIdToBlankChannel { get; set; }
public string ExcitationWarmupTimeMS { get; set; }
public string LocalOnly { get; set; }
public string LastModified { get; set; }
public string LastModifiedBy { get; set; }
public string TurnOffExcitation { get; set; }
public string TriggerCheckRealtime { get; set; }
public string TriggerCheckStep { get; set; }
public string PostTestDiagnostics { get; set; }
public string ExportFolder { get; set; }
public string DownloadFolder { get; set; }
public string CommonStatusLine { get; set; }
public string SameAsDownloadFolder { get; set; }
public string UploadData { get; set; }
public string UploadDataFolder { get; set; }
public string UploadExportsOnly { get; set; }
public string Settings { get; set; }
public string WarnOnBatteryFail { get; set; }
public string Dirty { get; set; }
public string Complete { get; set; }
public string ErrorMessage { get; set; }
public string TestEngineerDetails { get; set; }
public string UseTestEngineerDetails { get; set; }
public string UserTags { get; set; }
public string DoAutoArm { get; set; }
public string DoEnableRepeat { get; set; }
public string DoStreaming { get; set; }
public string CheckoutMode { get; set; }
public string QuitTestWithoutWarning { get; set; }
public string SuppressMissingSensorsWarning { get; set; }
public string ISFFile { get; set; }
public string NotAllChannelsRealTime { get; set; }
public string NotAllChannelsViewer { get; set; }
public string CalibrationBehavior { get; set; }
public string ClockSyncProfileMaster { get; set; }
public string ClockSyncProfileSlave { get; set; }
public string ExtraProperties { get; set; }
public string MeasureSquibResistancesStep { get; set; }
public string TestSetupUniqueId { get; set; }
}
}

View File

@@ -0,0 +1,18 @@
using DTS.Common.Interface.Sensors.SensorsList;
namespace DTS.Common.Classes.Sensors.SensorsList
{
public class DragAndDropPayload
{
public IDragAndDropItem[] Items { get; }
public DragAndDropPayload(IDragAndDropItem[] items)
{
Items = items;
}
public const string FORMAT = "DTS.Common.Classes.Sensors.SensorsList.DragAndDropPayload";
public const string ALT_FORMAT = "ALT_DTS.Common.Classes.Sensors.SensorsList.DragAndDropPayload";
public const string CTRL_FORMAT = "CTRL_DTS.Common.Classes.Sensors.SensorsList.DragAndDropPayload";
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB