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,387 @@
//------------------------------------------------------------------------------
// <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.Viewer.AddCalculatedChannel.Resources {
using System;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class StringResources {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal StringResources() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("DTS.Viewer.AddCalculatedChannel.Resources.StringResources", typeof(StringResources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to Add Calculated Channel.
/// </summary>
internal static string AddCalculatedChannel {
get {
return ResourceManager.GetString("AddCalculatedChannel", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Average.
/// </summary>
internal static string CalculatedChannel_Average {
get {
return ResourceManager.GetString("CalculatedChannel_Average", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to 3D IR-TRACC (upper thorax).
/// </summary>
internal static string CalculatedChannel_IRTRACC3D {
get {
return ResourceManager.GetString("CalculatedChannel_IRTRACC3D", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to 3D IR-TRACC (abdomen).
/// </summary>
internal static string CalculatedChannel_IRTRACC3D_Abdomen {
get {
return ResourceManager.GetString("CalculatedChannel_IRTRACC3D_Abdomen", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to 3D IR-TRACC (lower thorax).
/// </summary>
internal static string CalculatedChannel_IRTRACC3D_LowerThorax {
get {
return ResourceManager.GetString("CalculatedChannel_IRTRACC3D_LowerThorax", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to 3D IR-TRACC (thorax).
/// </summary>
internal static string CalculatedChannel_IRTRACC3D_Thorax {
get {
return ResourceManager.GetString("CalculatedChannel_IRTRACC3D_Thorax", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to 3D IR-TRACC (abdomen).
/// </summary>
internal static string CalculatedChannel_IRTRACC3DAbdomen {
get {
return ResourceManager.GetString("CalculatedChannel_IRTRACC3DAbdomen", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to 3D IR-TRACC (lower thorax).
/// </summary>
internal static string CalculatedChannel_IRTRACC3DLowerThorax {
get {
return ResourceManager.GetString("CalculatedChannel_IRTRACC3DLowerThorax", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Sum.
/// </summary>
internal static string CalculatedChannel_Sum {
get {
return ResourceManager.GetString("CalculatedChannel_Sum", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Calculation.
/// </summary>
internal static string Calculation {
get {
return ResourceManager.GetString("Calculation", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cosine.
/// </summary>
internal static string CALCULATION_Cos {
get {
return ResourceManager.GetString("CALCULATION_Cos", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Derivative.
/// </summary>
internal static string CALCULATION_Derivative {
get {
return ResourceManager.GetString("CALCULATION_Derivative", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Double integral.
/// </summary>
internal static string CALCULATION_DoubleIntegral {
get {
return ResourceManager.GetString("CALCULATION_DoubleIntegral", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Integral.
/// </summary>
internal static string CALCULATION_Integral {
get {
return ResourceManager.GetString("CALCULATION_Integral", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Sine.
/// </summary>
internal static string CALCULATION_Sin {
get {
return ResourceManager.GetString("CALCULATION_Sin", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to 3D IR-TRACC (upper thorax).
/// </summary>
internal static string CALCULATION_ThreeDIRTracc {
get {
return ResourceManager.GetString("CALCULATION_ThreeDIRTracc", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to 3D IR-TRACC (abdomen).
/// </summary>
internal static string CALCULATION_ThreeDIRTraccAbdomen {
get {
return ResourceManager.GetString("CALCULATION_ThreeDIRTraccAbdomen", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to 3D IR-TRACC (lower thorax).
/// </summary>
internal static string CALCULATION_ThreeDIRTraccLowerThorax {
get {
return ResourceManager.GetString("CALCULATION_ThreeDIRTraccLowerThorax", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Calculation Input Channel.
/// </summary>
internal static string CalculationInputChannel {
get {
return ResourceManager.GetString("CalculationInputChannel", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Channel.
/// </summary>
internal static string Channel {
get {
return ResourceManager.GetString("Channel", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Channel Name.
/// </summary>
internal static string ChannelName {
get {
return ResourceManager.GetString("ChannelName", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Clip length (ms).
/// </summary>
internal static string ClipLengthMS {
get {
return ResourceManager.GetString("ClipLengthMS", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Description.
/// </summary>
internal static string Description {
get {
return ResourceManager.GetString("Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Acceleration X.
/// </summary>
internal static string HICAccelerationX {
get {
return ResourceManager.GetString("HICAccelerationX", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Acceleration Y.
/// </summary>
internal static string HICAccelerationY {
get {
return ResourceManager.GetString("HICAccelerationY", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to AccelerationZ.
/// </summary>
internal static string HICAccelerationZ {
get {
return ResourceManager.GetString("HICAccelerationZ", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Error: Head injury criterion requires 3 channels.
/// </summary>
internal static string HICRequires3Channels {
get {
return ResourceManager.GetString("HICRequires3Channels", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Input channels.
/// </summary>
internal static string InputChannels {
get {
return ResourceManager.GetString("InputChannels", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to ISO Code.
/// </summary>
internal static string ISOCode {
get {
return ResourceManager.GetString("ISOCode", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Error: No channels included.
/// </summary>
internal static string NoChannelsIncluded {
get {
return ResourceManager.GetString("NoChannelsIncluded", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Error: Units don&apos;t match for all input channels.
/// </summary>
internal static string ResultantUnitsDontMatch {
get {
return ResourceManager.GetString("ResultantUnitsDontMatch", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Error: Sample rates don&apos;t match for all input channels.
/// </summary>
internal static string SampleRatesDontMatch {
get {
return ResourceManager.GetString("SampleRatesDontMatch", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Calculation contains multiple sample rates. Input will be resampled to the highest sample rate using linear interpolation..
/// </summary>
internal static string SuperSamplingWarning {
get {
return ResourceManager.GetString("SuperSamplingWarning", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to IR-TRACC.
/// </summary>
internal static string ThreeD_IRTracc {
get {
return ResourceManager.GetString("ThreeD_IRTracc", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to R. Pot Y.
/// </summary>
internal static string ThreeD_RotPot1 {
get {
return ResourceManager.GetString("ThreeD_RotPot1", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to R. Pot Z.
/// </summary>
internal static string ThreeD_RotPot2 {
get {
return ResourceManager.GetString("ThreeD_RotPot2", resourceCulture);
}
}
}
}

View File

@@ -0,0 +1,228 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="AddCalculatedChannel" xml:space="preserve">
<value>Add Calculated Channel</value>
</data>
<data name="Calculation" xml:space="preserve">
<value>Calculation</value>
</data>
<data name="CalculationInputChannel" xml:space="preserve">
<value>Calculation Input Channel</value>
</data>
<data name="Channel" xml:space="preserve">
<value>Channel</value>
</data>
<data name="ChannelName" xml:space="preserve">
<value>Channel Name</value>
</data>
<data name="Description" xml:space="preserve">
<value>Description</value>
</data>
<data name="InputChannels" xml:space="preserve">
<value>Input channels</value>
</data>
<data name="ISOCode" xml:space="preserve">
<value>ISO Code</value>
</data>
<data name="CalculatedChannel_Average" xml:space="preserve">
<value>Average</value>
</data>
<data name="CalculatedChannel_IRTRACC3D" xml:space="preserve">
<value>3D IR-TRACC (upper thorax)</value>
</data>
<data name="CalculatedChannel_IRTRACC3DAbdomen" xml:space="preserve">
<value>3D IR-TRACC (abdomen)</value>
</data>
<data name="CalculatedChannel_IRTRACC3DLowerThorax" xml:space="preserve">
<value>3D IR-TRACC (lower thorax)</value>
</data>
<data name="CalculatedChannel_IRTRACC3D_Abdomen" xml:space="preserve">
<value>3D IR-TRACC (abdomen)</value>
</data>
<data name="CalculatedChannel_IRTRACC3D_LowerThorax" xml:space="preserve">
<value>3D IR-TRACC (lower thorax)</value>
</data>
<data name="CalculatedChannel_IRTRACC3D_Thorax" xml:space="preserve">
<value>3D IR-TRACC (thorax)</value>
</data>
<data name="CalculatedChannel_Sum" xml:space="preserve">
<value>Sum</value>
</data>
<data name="CALCULATION_Cos" xml:space="preserve">
<value>Cosine</value>
</data>
<data name="CALCULATION_Derivative" xml:space="preserve">
<value>Derivative</value>
</data>
<data name="CALCULATION_DoubleIntegral" xml:space="preserve">
<value>Double integral</value>
</data>
<data name="CALCULATION_Integral" xml:space="preserve">
<value>Integral</value>
</data>
<data name="CALCULATION_Sin" xml:space="preserve">
<value>Sine</value>
</data>
<data name="CALCULATION_ThreeDIRTracc" xml:space="preserve">
<value>3D IR-TRACC (upper thorax)</value>
</data>
<data name="CALCULATION_ThreeDIRTraccAbdomen" xml:space="preserve">
<value>3D IR-TRACC (abdomen)</value>
</data>
<data name="CALCULATION_ThreeDIRTraccLowerThorax" xml:space="preserve">
<value>3D IR-TRACC (lower thorax)</value>
</data>
<data name="ThreeD_IRTracc" xml:space="preserve">
<value>IR-TRACC</value>
</data>
<data name="ThreeD_RotPot1" xml:space="preserve">
<value>R. Pot Y</value>
</data>
<data name="ThreeD_RotPot2" xml:space="preserve">
<value>R. Pot Z</value>
</data>
<data name="SuperSamplingWarning" xml:space="preserve">
<value>Calculation contains multiple sample rates. Input will be resampled to the highest sample rate using linear interpolation.</value>
</data>
<data name="ClipLengthMS" xml:space="preserve">
<value>Clip length (ms)</value>
</data>
<data name="HICAccelerationX" xml:space="preserve">
<value>Acceleration X</value>
</data>
<data name="HICAccelerationY" xml:space="preserve">
<value>Acceleration Y</value>
</data>
<data name="HICAccelerationZ" xml:space="preserve">
<value>AccelerationZ</value>
</data>
<data name="HICRequires3Channels" xml:space="preserve">
<value>Error: Head injury criterion requires 3 channels</value>
</data>
<data name="NoChannelsIncluded" xml:space="preserve">
<value>Error: No channels included</value>
</data>
<data name="ResultantUnitsDontMatch" xml:space="preserve">
<value>Error: Units don't match for all input channels</value>
</data>
<data name="SampleRatesDontMatch" xml:space="preserve">
<value>Error: Sample rates don't match for all input channels</value>
</data>
</root>

View File

@@ -0,0 +1,21 @@
using System;
using System.Windows.Markup;
using DTS.Viewer.AddCalculatedChannel.Resources;
namespace DTS.Viewer.AddCalculatedChannel
{
[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 StringResources.ResourceManager.GetString(_key) ?? NotFound + " " + _key;
}
}
}