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,35 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace DTS.Common.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.10.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default {
get {
return defaultInstance;
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("Assets\\Tiles\\")]
public string TilesLocation {
get {
return ((string)(this["TilesLocation"]));
}
}
}
}

View File

@@ -0,0 +1,80 @@
using DTS.Common.Enums;
using System;
namespace DTS.Common.Interface.Sensors.SensorsList
{
public interface IStreamInputSetting
{
/// <summary>
/// ID in the database for the stream output setting
/// only positive numbers are valid database ids
/// </summary>
int DatabaseId { get; set; }
/// <summary>
/// whether the stream output is checked in a list with a checkbox
/// </summary>
bool Included { get; set; }
/// <summary>
/// the serial number / setting name
/// </summary>
string SerialNumber { get; set; }
/// <summary>
/// description or comment of setting
/// </summary>
string Description { get; set; }
/// <summary>
/// the user who last modified setting
/// </summary>
string LastModifiedBy { get; set; }
/// <summary>
/// when the setting was last modified
/// </summary>
DateTime LastModified { get; set; }
/// <summary>
/// returns true if stream output matches filter criteria
/// </summary>
/// <param name="term"></param>
/// <returns></returns>
bool Filter(string term);
/// <summary>
/// whether the stream output is associated with a channel
/// </summary>
bool Assigned { get; set; }
/// <summary>
/// whether the stream output is online or not
/// </summary>
bool Online { get; set; }
/// <summary>
/// the isocode for the stream output
/// </summary>
string ISOCode { get; set; }
/// <summary>
/// the iso channel name for the stream output
/// </summary>
string ISOChannelName { get; set; }
/// <summary>
/// the user code for the stream output
/// </summary>
string UserCode { get; set; }
/// <summary>
/// the user channel name for the stream output
/// </summary>
string UserChannelName { get; set; }
/// <summary>
/// marks the stream output setting as broken or not
/// broken sensors do not appear in selectable lists of sensors in edit test setup or edit group
/// </summary>
bool Broken { get; set; }
/// <summary>
/// marks the stream output setting as donotuse
/// donotuse sensors do not appear in selectable lists of sensors in edit test setup or edit group
/// </summary>
bool DoNotUse { get; set; }
///<summary>
/// udp address setting value
///</summary>
string UDPAddress { get; set; }
}
}

View File

@@ -0,0 +1,78 @@
G\PN:{NAME OF PROGRAM};
G\TA:{TEST ID}_{DAS SERIAL NUMBER};
G\106:17;
G\DSI\N:1;
G\DSI-1:{TEST ID};
G\DST-1:STO;
R-1\ID:{TEST ID};
R-1\RID:TSRAIR;
R-1\R1:generated from XML CH10 mapping;
R-1\TC1:OTHR;
R-1\COM:=========================================================================;
R-1\COM: This simple settings for PCM stream
R-1\COM: Mapping defined in the CH10 Programmers Handbook (RCC document 123-16) ;
R-1\COM: appendix P/Q from the definition of a user defined external XML file;
R-1\COM:=========================================================================;
R-1\RML:E;
R-1\ERBS:AUTO;
R-1\NSB:0;
R-1\RI1:Data Bus Tools GmbH;
R-1\RI2:TSRAIR;
R-1\RI3:N;
R-1\RI6:N;
R-1\CRE:F;
R-1\RSS:R;
R-1\N:2;
R-1\TK1-1:1;
R-1\TK4-1:1;
R-1\COM: ======================= Time Channel ========================;
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:{STREAM TIME FORMAT};
R-1\SHTF-1:1;
R-1\COM: ======================= PCM Channel Description =====================;
R-1\DSI-2:PCMIN;
R-1\TK1-2:3;
R-1\TK4-2:3;
R-1\CHE-2:T;
R-1\CDT-2:PCMIN;
R-1\CDLN-2:{DAS SERIAL NUMBER};
R-1\PDTF-2:1;
R-1\PDP-2:TM;
R-1\ICE-2:180;
R-1\IST-2:SE;
R-1\ITH-2:1;
R-1\ITM-2:Low-Z;
R-1\PTF-2:NONE;
P-1\DLN:{DAS SERIAL NUMBER};
P-1\D1:NRZ-L;
P-1\D2:{DAS BIT RATE};
P-1\D3:U;
P-1\D4:N;
P-1\D7:N;
P-1\D8:NA;
P-1\TF:ONE;
P-1\F1:16;
P-1\F2:M;
P-1\F3:NO;
P-1\F4:T;
P-1\ISF\N:0;
P-1\MF\N:1;
P-1\COM: === Number of channels (including time sync) ===;
P-1\COM: === 224 without subframeID and 24 with subframeID ===;
P-1\MF1:{NUMBER OF CHANNELS PLUS TIME};
P-1\MF2:{NUMBER OF BITS PER MINOR FRAME};
P-1\MF3:FPT;
P-1\MF4:32;
P-1\MF5:11111110011010110010100001000000;
D-1\DLN:{DAS SERIAL NUMBER};
D-1\ML\N:1;
D-1\MLN-1:Measurement List;
D-1\COM: === Number of channels in the measurement list ===;
D-1\MN\N-1:{NUMBER OF STREAMED CHANNELS};

View File

@@ -0,0 +1,12 @@
// ReSharper disable once CheckNamespace
namespace DTS.Common.Enums.Viewer
{
public enum TestSetupMetadataFields
{
Name,
DateOfTheTest,
Graphs,
Timestamp,
CalibrationBehavior
}
}

View File

@@ -0,0 +1,39 @@
using System;
namespace DTS.Common.Interface.Sensors.AnalogDiagnostics
{
public interface IDiagnosticEntry
{
long? Id { get; set; }
long DiagnosticRunId { get; set; }
double? Excitation { get; set; }
DiagnosticStatus ExcitationStatus { get; set; }
double? Offset { get; set; }
DiagnosticStatus OffsetStatus { get; set; }
double? ActualRange { get; set; }
DiagnosticStatus ActualRangeStatus { get; set; }
double? Noise { get; set; }
DiagnosticStatus NoiseStatus { get; set; }
double? Shunt { get; set; }
DiagnosticStatus ShuntStatus { get; set; }
int? SensorId { get; set; }
string SensorSerialNumber { get; set; }
int? DASId { get; set; }
string DASSerialNumber { get; set; }
int DASChannelIdx { get; set; }
string UserCode { get; set; }
string UserChannelName { get; set; }
string IsoCode { get; set; }
string IsoChannelName { get; set; }
double ScaleFactor { get; set; }
int CalibrationRecordId { get; set; }
string CalibrationRecordXML { get; set; }
DateTime Timestamp { get; set; }
}
public enum DiagnosticStatus
{
Untested = 0,
Passed = 1,
Failed = 2
}
}

View File

@@ -0,0 +1,13 @@
using Prism.Events;
namespace DTS.Common.Events.GroupTemplates.CustomChannels
{
/// <summary>
/// Event to inform app that it should mark itself busy or available
/// </summary>
/// <remarks>
///
/// </remarks>
public class CustomChannelExportFileSetEvent : PubSubEvent<string> { }
}