Initial commit

This commit is contained in:
Rowlander
2021-10-01 11:09:20 +02:00
commit fe54fceb1e
1301 changed files with 853973 additions and 0 deletions
@@ -0,0 +1,32 @@
using System;
namespace Xylem.Common.Hardware.WaterMeter.Genesis.Applications
{
/// <summary>
/// describe a genesis register.
/// need for read and write
/// all request protocols uses RegisterDefinition
/// </summary>
public class ApplicationDefinition
{
/// <summary>
/// name of the application
/// </summary>
public String AppName;
/// <summary>
/// address of application
/// </summary>
public Byte AppId;
/// <summary>
/// Get application name
/// </summary>
/// <returns></returns>
public String GetIdent()
{
return $"{AppName}";
}
}
}
@@ -0,0 +1,93 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{315E94B8-B82F-4B25-B5BD-297DF3BC1D54}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Xylem.Common.Hardware.WaterMeter.Genesis.Applications</RootNamespace>
<AssemblyName>Xylem.Common.Hardware.WaterMeter.Genesis.Applications</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>false</Deterministic>
<TargetFrameworkProfile />
<SccProjectName>SAK</SccProjectName>
<SccLocalPath>SAK</SccLocalPath>
<SccAuxPath>SAK</SccAuxPath>
<SccProvider>SAK</SccProvider>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<LangVersion>7.0</LangVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<LangVersion>7.0</LangVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == '_MANUAL_CONTROL|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\_MANUAL_CONTROL\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<LangVersion>7.0</LangVersion>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Net.Http" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\..\..\.shared\SharedAssemblyInfo.cs">
<Link>Properties\SharedAssemblyInfo.cs</Link>
</Compile>
<Compile Include="ApplicationDefinition.cs" />
<Compile Include="Const\MeterAppState.cs" />
<Compile Include="Const\MeterAppStateInfo.cs" />
<Compile Include="Const\MeterAppStateText.cs" />
<Compile Include="FileApplications.cs" />
<Compile Include="MeterApplications.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Properties\Resources.de.Designer.cs">
<DependentUpon>Resources.de.resx</DependentUpon>
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
</Compile>
<Compile Include="Properties\Resources.Designer.cs">
<DependentUpon>Resources.resx</DependentUpon>
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Properties\Resources.de.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.de.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
@@ -0,0 +1,70 @@
namespace Xylem.Common.Hardware.WaterMeter.Genesis.Applications.Const
{
/// <summary>
/// Genesis meter application state
/// </summary>
public enum MeterAppState
{
/// <summary>
/// This file application is not installed in the meter
/// </summary>
MeterAppNotInstalled,
/// <summary>
/// Meter version is equal to file version - it is up to date
/// </summary>
MeterAppUpToDate,
/// <summary>
/// Installation of application is required
/// </summary>
MeterAppInstallationRequired,
/// <summary>
/// Meter application is different from file application
/// </summary>
MeterAppVersionOutdated,
/// <summary>
/// CRC does not match even if meter and file application version are
/// shown as being identical!
/// </summary>
InvalidCrc,
/// <summary>
/// Meter applications has to be erased
/// </summary>
MeterAppErasureRequired,
/// <summary>
/// Application successfully downloaded to meter
/// </summary>
MeterAppDownloadSucceeded,
/// <summary>
/// Application download to meter suspicious
/// </summary>
MeterAppDownloadSuspicious,
/// <summary>
/// Application successfully erased from meter
/// </summary>
MeterAppSuccessfulErased,
/// <summary>
/// Application successfully updated in meter
/// </summary>
MeterAppSuccessfulUpdated,
/// <summary>
/// Application download to meter failed
/// </summary>
MeterAppDownloadFailed,
/// <summary>
/// Application download to meter active ongoing
/// </summary>
MeterAppDownloadActive,
/// <summary>
/// This file application is invalid
/// </summary>
FileAppInvalid,
/// <summary>
/// State is unknown because package file not loaded
/// </summary>
Unknown,
/// <summary>
/// Delimiter for list
/// </summary>
MeterAppStateListDelimiter
}
}
@@ -0,0 +1,86 @@
using System;
using System.Linq;
using Xylem.Common.Hardware.WaterMeter.Genesis.Applications.Properties;
namespace Xylem.Common.Hardware.WaterMeter.Genesis.Applications.Const
{
/// <summary>
/// Concatenation of state and string
/// </summary>
public class MeterAppStateInfo
{
/// <summary>
/// Build state information
/// </summary>
private readonly MeterAppStateText[] _stateInfos;
/// <summary>
/// Ctor
/// </summary>
public MeterAppStateInfo()
{
_stateInfos = new MeterAppStateText[(Int32)MeterAppState.MeterAppStateListDelimiter];
_stateInfos[0].State = MeterAppState.MeterAppNotInstalled;
_stateInfos[0].Message = Resources.StrMeterAppNotInstalled;
_stateInfos[1].State = MeterAppState.MeterAppUpToDate;
_stateInfos[1].Message = Resources.StrMeterAppUpToDate;
_stateInfos[2].State = MeterAppState.MeterAppInstallationRequired;
_stateInfos[2].Message = Resources.StrMeterAppInstallationRequired;
_stateInfos[3].State = MeterAppState.MeterAppVersionOutdated;
_stateInfos[3].Message = Resources.StrMeterAppVersionOutdated;
_stateInfos[4].State = MeterAppState.InvalidCrc;
_stateInfos[4].Message = Resources.StrInvalidCrc;
_stateInfos[5].State = MeterAppState.MeterAppErasureRequired;
_stateInfos[5].Message = Resources.StrMeterAppErasureRequired;
_stateInfos[6].State = MeterAppState.MeterAppDownloadSucceeded;
_stateInfos[6].Message = Resources.StrMeterAppDownloadSucceeded;
_stateInfos[7].State = MeterAppState.MeterAppDownloadSuspicious;
_stateInfos[7].Message = Resources.StrMeterAppDownloadSuspicious;
_stateInfos[8].State = MeterAppState.MeterAppSuccessfulErased;
_stateInfos[8].Message = Resources.StrMeterAppSuccessfulErased;
_stateInfos[9].State = MeterAppState.MeterAppSuccessfulUpdated;
_stateInfos[9].Message = Resources.StrMeterAppSuccessfulUpdated;
_stateInfos[10].State = MeterAppState.MeterAppDownloadFailed;
_stateInfos[10].Message = Resources.StrMeterAppDownloadFailed;
_stateInfos[11].State = MeterAppState.MeterAppDownloadActive;
_stateInfos[11].Message = Resources.StrMeterAppDownloadActive;
_stateInfos[12].State = MeterAppState.FileAppInvalid;
_stateInfos[12].Message = Resources.StrFileAppInvalid;
_stateInfos[13].State = MeterAppState.Unknown;
_stateInfos[13].Message = "";
}
/// <summary>
/// Get the text of this state
/// </summary>
/// <param name="state">state to search for information text</param>
public String GetTextFromState(MeterAppState state)
{
return (from stateInfo in _stateInfos
where stateInfo.State == state select stateInfo.Message).Last();
}
/// <summary>
/// Get the state of the text
/// </summary>
/// <param name="text">information text to search if state is assigned</param>
public MeterAppState GetStateFromText(String text)
{
return (from stateInfo in _stateInfos
where stateInfo.Message == text select stateInfo.State).Last();
}
}
}
@@ -0,0 +1,19 @@
using System;
namespace Xylem.Common.Hardware.WaterMeter.Genesis.Applications.Const
{
/// <summary>
/// Concatenation between meter application state and text
/// </summary>
public struct MeterAppStateText
{
/// <summary>
/// The state of the firmware update
/// </summary>
public MeterAppState State;
/// <summary>
/// The message text of the meter application state
/// </summary>
public String Message;
}
}
@@ -0,0 +1,83 @@
using System;
using System.Collections.Generic;
namespace Xylem.Common.Hardware.WaterMeter.Genesis.Applications
{
/// <summary>
/// File FW and application information
/// </summary>
public class FileApplications
{
/// <summary>
/// Name of application
/// </summary>
public String AppName;
/// <summary>
/// File name of the file system where the binaries are stored
/// </summary>
public String BinaryFilename;
/// <summary>
/// File name of the meter including the "1\\upg" string and the AppId as hexadecimal 2 digits
/// </summary>
public String MeterFilename;
/// <summary>
/// Ctor file applications
/// </summary>
/// <param name="binaryFilename"></param>
public FileApplications(String binaryFilename)
{
BinaryFilename = binaryFilename;
}
/// <summary>
/// Identification number of application
/// </summary>
public Byte AppId;
/// <summary>
/// Version of application
/// </summary>
public UInt32 Version;
/// <summary>
/// Version string of application because of FLEXNETVERSION
/// does return a different layout, instead of decimals it
/// used hexadecimals. Therefore the version has to be saved as
/// string at time of receiving for the FW-Update comparison
/// </summary>
public String StrVersion;
/// <summary>
/// Check of application for verification
/// </summary>
public UInt16 Crc;
/// <summary>
/// Validation of application
/// </summary>
public Boolean IsValid;
/// <summary>
/// Binary file content
/// </summary>
public List<Byte> BinData = new List<Byte>();
/// <summary>
/// Actual part if file is going to be partitioned
/// </summary>
public Int32 Part = 0;
/// <summary>
/// Number of parts for entire file if partitioned
/// </summary>
public Int32 Parts = 1;
/// <summary>
/// Meter file offset if file is partitioned
/// </summary>
public Int32 MeterFileOffset = 0;
}
}
@@ -0,0 +1,60 @@
using System;
using Xylem.Common.Hardware.WaterMeter.Genesis.Applications.Const;
namespace Xylem.Common.Hardware.WaterMeter.Genesis.Applications
{
/// <summary>
/// Meter FW and application information
/// </summary>
public class MeterApplications
{
/// <summary>
/// Name of application
/// </summary>
public String AppName;
/// <summary>
/// Identification number of application
/// </summary>
public Byte AppId;
/// <summary>
/// Version of application
/// </summary>
public UInt32 Version;
/// <summary>
/// Version string of application because of FLEXNETVERSION
/// does return a different layout, instead of decimals it
/// used hexadecimals. Therefore the version has to be safed as
/// string at time of receiving for the FW-Update comparison
/// </summary>
public String StrVersion;
/// <summary>
/// Check of application for verification
/// </summary>
public UInt16 Crc;
/// <summary>
/// Check if application is installed
/// </summary>
public Boolean IsInstalled;
/// <summary>
/// Update this version
/// </summary>
public Boolean Update;
/// <summary>
/// Erase this version
/// </summary>
public Boolean Erase;
/// <summary>
/// Status text
/// </summary>
public MeterAppState Status;
}
}
@@ -0,0 +1,34 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Xylem.Common.Hardware.WaterMeter.Genesis.Applications")]
[assembly: AssemblyDescription("")]
//[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Xylem")]
[assembly: AssemblyProduct("")]
[assembly: AssemblyCopyright("Copyright © Xylem 2019")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(true)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("315e94b8-b82f-4b25-b5bd-297df3bc1d54")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
@@ -0,0 +1,180 @@
//------------------------------------------------------------------------------
// <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 Xylem.Common.Hardware.WaterMeter.Genesis.Applications.Properties {
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", "15.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
public class Resources {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
public static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Xylem.Common.Hardware.WaterMeter.Genesis.Applications.Properties.Resources", typeof(Resources).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)]
public static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to INVALID UPDATE FILE.
/// </summary>
public static string StrFileAppInvalid {
get {
return ResourceManager.GetString("StrFileAppInvalid", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to CRC ERROR.
/// </summary>
public static string StrInvalidCrc {
get {
return ResourceManager.GetString("StrInvalidCrc", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to DOWNLOAD....
/// </summary>
public static string StrMeterAppDownloadActive {
get {
return ResourceManager.GetString("StrMeterAppDownloadActive", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Download failed.
/// </summary>
public static string StrMeterAppDownloadFailed {
get {
return ResourceManager.GetString("StrMeterAppDownloadFailed", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Burn - Trigger upgrade required.
/// </summary>
public static string StrMeterAppDownloadSucceeded {
get {
return ResourceManager.GetString("StrMeterAppDownloadSucceeded", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Verification required.
/// </summary>
public static string StrMeterAppDownloadSuspicious {
get {
return ResourceManager.GetString("StrMeterAppDownloadSuspicious", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Erase - Trigger upgrade required.
/// </summary>
public static string StrMeterAppErasureRequired {
get {
return ResourceManager.GetString("StrMeterAppErasureRequired", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Installation required.
/// </summary>
public static string StrMeterAppInstallationRequired {
get {
return ResourceManager.GetString("StrMeterAppInstallationRequired", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Application not required.
/// </summary>
public static string StrMeterAppNotInstalled {
get {
return ResourceManager.GetString("StrMeterAppNotInstalled", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Erasure succeeded.
/// </summary>
public static string StrMeterAppSuccessfulErased {
get {
return ResourceManager.GetString("StrMeterAppSuccessfulErased", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Update succeeded.
/// </summary>
public static string StrMeterAppSuccessfulUpdated {
get {
return ResourceManager.GetString("StrMeterAppSuccessfulUpdated", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Up To Date.
/// </summary>
public static string StrMeterAppUpToDate {
get {
return ResourceManager.GetString("StrMeterAppUpToDate", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Update required.
/// </summary>
public static string StrMeterAppVersionOutdated {
get {
return ResourceManager.GetString("StrMeterAppVersionOutdated", resourceCulture);
}
}
}
}
@@ -0,0 +1,159 @@
<?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="StrMeterAppNotInstalled" xml:space="preserve">
<value>Anwendung nicht erforderlich</value>
</data>
<data name="StrMeterAppUpToDate" xml:space="preserve">
<value>Version ist aktuell</value>
</data>
<data name="StrMeterAppInstallationRequired" xml:space="preserve">
<value>Installation notwendig</value>
</data>
<data name="StrMeterAppVersionOutdated" xml:space="preserve">
<value>Version ist unterschiedlich</value>
</data>
<data name="StrInvalidCrc" xml:space="preserve">
<value>Prüfsummenfehler (CRC)</value>
</data>
<data name="StrMeterAppErasureRequired" xml:space="preserve">
<value>Lösche beim Abschlußvorgang</value>
</data>
<data name="StrMeterAppDownloadSucceeded" xml:space="preserve">
<value>Übernehme beim Abschlußvorgang</value>
</data>
<data name="StrMeterAppDownloadSuspicious" xml:space="preserve">
<value>Überprüfung notwendig</value>
</data>
<data name="StrMeterAppSuccessfulErased" xml:space="preserve">
<value>Löschen erforderlich</value>
</data>
<data name="StrMeterAppSuccessfulUpdated" xml:space="preserve">
<value>Aktualisierung war erfolgreich</value>
</data>
<data name="StrMeterAppDownloadFailed" xml:space="preserve">
<value>Dateiübertragung fehlgeschlagen</value>
</data>
<data name="StrMeterAppDownloadActive" xml:space="preserve">
<value>EINSPIELEN...</value>
</data>
<data name="StrFileAppInvalid" xml:space="preserve">
<value>Ungültige Aktualisierungsdatei</value>
</data>
</root>
@@ -0,0 +1,159 @@
<?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="StrMeterAppNotInstalled" xml:space="preserve">
<value>Application not required</value>
</data>
<data name="StrMeterAppUpToDate" xml:space="preserve">
<value>Up To Date</value>
</data>
<data name="StrMeterAppInstallationRequired" xml:space="preserve">
<value>Installation required</value>
</data>
<data name="StrMeterAppVersionOutdated" xml:space="preserve">
<value>Update required</value>
</data>
<data name="StrInvalidCrc" xml:space="preserve">
<value>CRC ERROR</value>
</data>
<data name="StrMeterAppErasureRequired" xml:space="preserve">
<value>Erase - Trigger upgrade required</value>
</data>
<data name="StrMeterAppDownloadSucceeded" xml:space="preserve">
<value>Burn - Trigger upgrade required</value>
</data>
<data name="StrMeterAppDownloadSuspicious" xml:space="preserve">
<value>Verification required</value>
</data>
<data name="StrMeterAppSuccessfulErased" xml:space="preserve">
<value>Erasure succeeded</value>
</data>
<data name="StrMeterAppSuccessfulUpdated" xml:space="preserve">
<value>Update succeeded</value>
</data>
<data name="StrMeterAppDownloadFailed" xml:space="preserve">
<value>Download failed</value>
</data>
<data name="StrMeterAppDownloadActive" xml:space="preserve">
<value>DOWNLOAD...</value>
</data>
<data name="StrFileAppInvalid" xml:space="preserve">
<value>INVALID UPDATE FILE</value>
</data>
</root>
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>