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,198 @@
//------------------------------------------------------------------------------
// <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 RealtimeSettings.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("RealtimeSettings.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 Delay between polls.
/// </summary>
internal static string DelayBetweenPolls {
get {
return ResourceManager.GetString("DelayBetweenPolls", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to period between retrieving data from DAS (ms). Too high of a setting may result in data drop out, too low of a setting may result in putting a stress on available resources..
/// </summary>
internal static string DelayBetweenPollsHelp {
get {
return ResourceManager.GetString("DelayBetweenPollsHelp", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to High draw delay.
/// </summary>
internal static string HighDelay {
get {
return ResourceManager.GetString("HighDelay", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Maximum time (ms) between UI updates when data is available..
/// </summary>
internal static string HighDelayHelp {
get {
return ResourceManager.GetString("HighDelayHelp", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Low draw delay.
/// </summary>
internal static string LowDelay {
get {
return ResourceManager.GetString("LowDelay", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Minimum time (ms) between UI updates when data is available. Too low of a setting may cause UI to become unresponsive. Too high of a delay may result in jerky realtime performance..
/// </summary>
internal static string LowDelayHelp {
get {
return ResourceManager.GetString("LowDelayHelp", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Realtime sample rate.
/// </summary>
internal static string RealtimeSampleRate {
get {
return ResourceManager.GetString("RealtimeSampleRate", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Realtime sample rates.
/// </summary>
internal static string RealtimeSampleRates {
get {
return ResourceManager.GetString("RealtimeSampleRates", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Realtime sample rate (Slice IP).
/// </summary>
internal static string RealtimeSampleRateSliceIP {
get {
return ResourceManager.GetString("RealtimeSampleRateSliceIP", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Realtime sample rate (Slice USB).
/// </summary>
internal static string RealtimeSampleRateSliceUSB {
get {
return ResourceManager.GetString("RealtimeSampleRateSliceUSB", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Realtime sample rate (TDAS G5).
/// </summary>
internal static string RealtimeSampleRateTDASG5 {
get {
return ResourceManager.GetString("RealtimeSampleRateTDASG5", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Sample rate.
/// </summary>
internal static string SampleRate {
get {
return ResourceManager.GetString("SampleRate", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Samples per second for realtime data acquisition. Too high of a setting may cause data drop out, and too low of a setting may cause aliasing..
/// </summary>
internal static string SampleRateHelp {
get {
return ResourceManager.GetString("SampleRateHelp", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Polls all active sensors and allows selecting sensors by tag in meter mode.
/// </summary>
internal static string UseMeterModeHelp {
get {
return ResourceManager.GetString("UseMeterModeHelp", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Use meter mode table style.
/// </summary>
internal static string UseMeterModeTableStyle {
get {
return ResourceManager.GetString("UseMeterModeTableStyle", resourceCulture);
}
}
}
}

View File

@@ -0,0 +1,165 @@
<?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="DelayBetweenPolls" xml:space="preserve">
<value>Delay between polls</value>
</data>
<data name="DelayBetweenPollsHelp" xml:space="preserve">
<value>period between retrieving data from DAS (ms). Too high of a setting may result in data drop out, too low of a setting may result in putting a stress on available resources.</value>
</data>
<data name="HighDelay" xml:space="preserve">
<value>High draw delay</value>
</data>
<data name="HighDelayHelp" xml:space="preserve">
<value>Maximum time (ms) between UI updates when data is available.</value>
</data>
<data name="LowDelay" xml:space="preserve">
<value>Low draw delay</value>
</data>
<data name="LowDelayHelp" xml:space="preserve">
<value>Minimum time (ms) between UI updates when data is available. Too low of a setting may cause UI to become unresponsive. Too high of a delay may result in jerky realtime performance.</value>
</data>
<data name="RealtimeSampleRate" xml:space="preserve">
<value>Realtime sample rate</value>
</data>
<data name="RealtimeSampleRates" xml:space="preserve">
<value>Realtime sample rates</value>
</data>
<data name="RealtimeSampleRateSliceIP" xml:space="preserve">
<value>Realtime sample rate (Slice IP)</value>
</data>
<data name="RealtimeSampleRateSliceUSB" xml:space="preserve">
<value>Realtime sample rate (Slice USB)</value>
</data>
<data name="RealtimeSampleRateTDASG5" xml:space="preserve">
<value>Realtime sample rate (TDAS G5)</value>
</data>
<data name="SampleRate" xml:space="preserve">
<value>Sample rate</value>
</data>
<data name="SampleRateHelp" xml:space="preserve">
<value>Samples per second for realtime data acquisition. Too high of a setting may cause data drop out, and too low of a setting may cause aliasing.</value>
</data>
<data name="UseMeterModeHelp" xml:space="preserve">
<value>Polls all active sensors and allows selecting sensors by tag in meter mode</value>
</data>
<data name="UseMeterModeTableStyle" xml:space="preserve">
<value>Use meter mode table style</value>
</data>
</root>

View File

@@ -0,0 +1,20 @@
using System;
using System.Windows.Markup;
namespace RealtimeSettings.Resources
{
[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;
}
}
}