FM2014TestApp: - initial based on MiniPrf

This commit is contained in:
Thomas Wiedebusch
2026-02-01 12:45:36 +01:00
parent fd837cd947
commit c9c8bb6e6c
29 changed files with 4080 additions and 69 deletions
+86
View File
@@ -0,0 +1,86 @@
<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<variable name="BasePath" value="\\DELAZ1FSOPS01-1\CordonelDS$\${loggerpc}" />
<targets>
<!--CalibrationHelper-->
<target name="CalibrationHelper" xsi:type="File" fileName="${BasePath}\${shortdate}\${processname}\CalibrationHelper.log" CreateDirs="True" layout ="${longdate} | ${level} | ${message} ${exception:format=toString}" archiveAboveSize="50000000" archiveFileName="${BasePath}\${shortdate}\${processname}\{##}CalibrationHelper.log" />
<!--LedRawData-->
<target xsi:type="BufferingWrapper"
name="TargetLedRawDataBase"
bufferSize="10000"
flushTimeout="-1"
slidingTimeout="true"
>
<target name="LedRawDataBase" xsi:type="File" fileName="${BasePath}\${shortdate}\${processname}\LedRawData_BASE.log" CreateDirs="True" layout ="${longdate} | ${message} ${exception:format=toString}" archiveAboveSize="50000000" archiveFileName="${BasePath}\${shortdate}\${processname}\{##}_LedRawData_BASE.log" />
</target>
<!--C:\GenesisLog\${shortdate}
C:\GenesisLog\${shortdate}-->
<!--MeterBatch-->
<target name="MeterBatch" xsi:type="File" fileName="${BasePath}\${shortdate}\${processname}\Meter_BASE.log" CreateDirs="True" layout ="${longdate} | ${level} | ${message} ${exception:format=toString}" archiveAboveSize="50000000" archiveFileName="${BasePath}\${shortdate}\${processname}\{##}_Meter_BASE.log" />
<!--Meter-->
<target name="MeterBase" xsi:type="File" fileName="${BasePath}\${shortdate}\${processname}\Meter_BASE.log" CreateDirs="True" layout ="${longdate} | ${level} | ${message} ${exception:format=toString}" archiveAboveSize="50000000" archiveFileName="${BasePath}\${shortdate}\${processname}\{##}_Meter_BASE.log" />
<target name="Slot:0" xsi:type="File" fileName="${BasePath}\${shortdate}\${processname}\Meter_SlotSlot:0.log" CreateDirs="True" layout ="${longdate} | ${level} | ${message} ${exception:format=toString}" archiveAboveSize="50000000" archiveFileName="${BasePath}\${shortdate}\${processname}\{##}_Meter_SlotSlot:0.log" />
<!--COM-->
<target name="COMBase" xsi:type="File" fileName="${BasePath}\${shortdate}\${processname}\COM_BASE.log" CreateDirs="True" layout ="${longdate} | ${level} | ${message} ${exception:format=toString}" archiveAboveSize="50000000" archiveFileName="${BasePath}\${shortdate}\${processname}\{##}_COM_BASE.log" />
<!--ServiceFwUpdateBuilder-->
<target name="ServiceFwUpdateBuilder" xsi:type="File" fileName="${BasePath}\${shortdate}\${processname}\ServiceFwUpdateBuilder.log" CreateDirs="True" layout ="${longdate} | ${level} | ${message} ${exception:format=toString}" archiveAboveSize="50000000" archiveFileName="${BasePath}\${shortdate}\${processname}\{##}_ServiceFwUpdateBuilder.log" />
<!--ServiceFwUpdateLoader-->
<target name="ServiceFwUpdateLoader" xsi:type="File" fileName="${BasePath}\${shortdate}\${processname}\ServiceFwUpdateLoader.log" CreateDirs="True" layout ="${longdate} | ${level} | ${message} ${exception:format=toString}" archiveAboveSize="50000000" archiveFileName="${BasePath}\${shortdate}\${processname}\{##}_ServiceFwUpdateLoader.log" />
<!--ServiceFwUpdateSw-->
<target name="ServiceFwUpdateSw" xsi:type="File" fileName="${BasePath}\${shortdate}\${processname}\ServiceFwUpdateSw.log" CreateDirs="True" layout ="${longdate} | ${level} | ${message} ${exception:format=toString}" archiveAboveSize="50000000" archiveFileName="${BasePath}\${shortdate}\${processname}\{##}_ServiceFwUpdateSw.log" />
<!--default-->
<target name="default" xsi:type="File" fileName="${BasePath}\${shortdate}\${processname}\default.log" CreateDirs="True" layout ="${longdate} | ${level} | ${message} ${exception:format=toString}" archiveAboveSize="50000000" archiveFileName="${BasePath}\${shortdate}\${processname}\{##}_default.log" />
<target name="PreAdjWr" xsi:type="File" fileName="${BasePath}\${shortdate}\${processname}\PreAdjWr.log" CreateDirs="True" layout ="${longdate} | ${level} | ${message} ${exception:format=toString}" />
<target name="ctlBatch" xsi:type="File" fileName="${BasePath}\${shortdate}\${processname}\ctlBatch.log" CreateDirs="True" layout ="${longdate} | ${level} | ${message} ${exception:format=toString}" archiveAboveSize="50000000" archiveFileName="${BasePath}\${shortdate}\${processname}\{##}_ctlBatch.log" />
<target name="StreamingQualityFile" xsi:type="File" fileName="${BasePath}\${shortdate}\${processname}\StreamingQuality.log" CreateDirs="True" layout ="${longdate} | ${level} | ${message} ${exception:format=toString}" />
<target name="ProductionUIFile" xsi:type="File" fileName="${BasePath}\${shortdate}\${processname}\ProductionUIFile.log" CreateDirs="True" layout ="${longdate} | ${level} | ${message} ${exception:format=toString}" />
</targets>
<rules>
<!--ServiceFwUpdateBuilder-->
<logger name="ServiceFwUpdateBuilder" minLevel="Trace" appendTo="ServiceFwUpdateSw"/>
<!--ServiceFwUpdateLoader-->
<logger name="ServiceFwUpdateLoader" minLevel="Trace" appendTo="ServiceFwUpdateLoader"/>
<!--ServiceFwUpdateSw-->
<logger name="ServiceFwUpdateSw" minLevel="Trace" appendTo="ServiceFwUpdateSw"/>
<!--CalibrationHelper-->
<logger name="CalibrationHelper" minLevel="Trace" appendTo="CalibrationHelper"/>
<!--LedRawData-->
<logger name="LedRawDataBase" minLevel="Trace" appendTo="TargetLedRawDataBase"/>
<!--MeterBatch-->
<logger name="MeterBatch" minLevel="Trace" appendTo="MeterBatch"/>
<!--Meter-->
<logger name="MeterBase" minLevel="Trace" appendTo="MeterBase"/>
<logger name="Slot:0" minLevel="Trace" appendTo="Slot:0"/>
<logger name="GenesisRequestProtocolBase" minLevel="Trace" appendTo="MeterBase"/>
<logger name="MeasurementBase" minLevel="Trace" appendTo="MeterBase"/>
<!--COM-->
<logger name="SerialComPortBase" minLevel="Trace" appendTo="COMBase"/>
<logger name="IrdaBase" minLevel="Trace" appendTo="COMBase"/>
<logger name="RfidBase" minLevel="Trace" appendTo="COMBase"/>
<logger name="TransmitProtocolBase" minLevel="Trace" appendTo="COMBase"/>
<!--default-->
<logger name="*" minLevel="Debug" appendTo="default"/>
<!--Ui logger-->
<logger name="ctlBatch" minLevel="Trace" appendTo="ctlBatch"/>
<logger name="StreamingQuality" minLevel="Trace" appendTo="StreamingQualityFile"/>
<logger name="PreAdjWr" minLevel="Trace" appendTo="PreAdjWr"/>
<logger name="ProductionUI" minLevel="Trace" appendTo="ProductionUIFile"/>
</rules>
</nlog>
@@ -0,0 +1,3 @@
using System.Reflection;
[assembly: AssemblyVersion("1.0.0.*")]
+119
View File
@@ -0,0 +1,119 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.14.36310.24
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Docu", "Docu", "{02EA681E-C7D8-13C7-8484-4AC65E1B71E8}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Common", "Common", "{1C6D29D2-AC0D-48B2-932A-C9B94C3562F6}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Ui", "Ui", "{BDA40851-F353-416A-A6A8-6BA33ACB7371}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".shared", ".shared", "{EC37D5D3-F993-4677-8E94-8C8C9EF1B064}"
ProjectSection(SolutionItems) = preProject
.shared\NlogConfig.xml = .shared\NlogConfig.xml
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Fm2014TestApp", "Ui\Fm2014TestApp.csproj", "{09CBCD8A-C729-4AB6-9C39-1510774509D6}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Hardware", "Hardware", "{2C357743-AB88-48BF-805A-5DEED44934A3}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "WaterMeter", "WaterMeter", "{DDEB716C-3E3F-40E2-8466-EED50919D8A4}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "MechanicalMeter", "MechanicalMeter", "{B5F3ABFD-5AC3-45CB-8DF1-6E84CFA556B6}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "FM2014", "FM2014", "{02CE88CB-677E-45A7-9B33-5028110379E5}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "CommonCore", "CommonCore", "{FC3ED941-1507-4149-B751-BB795E645459}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CommonCore", "..\Common\CommonCore\CommonCore.csproj", "{1B02C79E-0B19-43E2-8F6B-71EF0C786C97}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FM2014Config", "..\Common\Hardware\WaterMeter\MechanicalMeter\FM2014\FM2014Config\FM2014Config.csproj", "{3862D89C-E32D-4182-BB58-38777D43EDD9}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FM2014Core", "..\Common\Hardware\WaterMeter\MechanicalMeter\FM2014\FM2014Core\FM2014Core.csproj", "{0B205BE7-90CD-4C3A-8EBD-1E414E39528A}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Utils", "Utils", "{755396FE-7AD3-4D4A-9416-4C212A3BEF19}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Logging", "..\Common\Utils\Logging\Logging.csproj", "{4B88B0D3-E791-4774-9521-EABEACDC420E}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Interfaces", "Interfaces", "{14FE7B6A-2029-4DCD-AD07-2BDF77D42D94}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Ports", "Ports", "{83A52B6E-DB81-4B43-B5C1-F9B637D135BE}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Protocols", "Protocols", "{4E27EA04-8B52-4681-BB5E-4658BC3FF9A6}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PortCore", "..\Common\Hardware\Interfaces\Ports\PortCore\PortCore.csproj", "{2E139F63-B6FE-4EA9-A098-85364FE9B26C}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Utils", "Utils", "{DBC8FF8D-D0A2-4C55-B7D5-F7D17CCEE01F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProcessExec", "..\Common\Utils\ProcessExec\ProcessExec.csproj", "{2FD60CF1-45CD-4060-B8E5-4F39FBA7F1CB}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Metrology", "Metrology", "{6695522E-E681-434C-8006-5A92AABB9807}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Measurements", "..\Common\Metrology\Measurements\Measurements.csproj", "{6CCDB656-C676-4360-BABA-C4596AAD175D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{09CBCD8A-C729-4AB6-9C39-1510774509D6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{09CBCD8A-C729-4AB6-9C39-1510774509D6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{09CBCD8A-C729-4AB6-9C39-1510774509D6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{09CBCD8A-C729-4AB6-9C39-1510774509D6}.Release|Any CPU.Build.0 = Release|Any CPU
{1B02C79E-0B19-43E2-8F6B-71EF0C786C97}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1B02C79E-0B19-43E2-8F6B-71EF0C786C97}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1B02C79E-0B19-43E2-8F6B-71EF0C786C97}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1B02C79E-0B19-43E2-8F6B-71EF0C786C97}.Release|Any CPU.Build.0 = Release|Any CPU
{3862D89C-E32D-4182-BB58-38777D43EDD9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3862D89C-E32D-4182-BB58-38777D43EDD9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3862D89C-E32D-4182-BB58-38777D43EDD9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3862D89C-E32D-4182-BB58-38777D43EDD9}.Release|Any CPU.Build.0 = Release|Any CPU
{0B205BE7-90CD-4C3A-8EBD-1E414E39528A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0B205BE7-90CD-4C3A-8EBD-1E414E39528A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0B205BE7-90CD-4C3A-8EBD-1E414E39528A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0B205BE7-90CD-4C3A-8EBD-1E414E39528A}.Release|Any CPU.Build.0 = Release|Any CPU
{4B88B0D3-E791-4774-9521-EABEACDC420E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4B88B0D3-E791-4774-9521-EABEACDC420E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4B88B0D3-E791-4774-9521-EABEACDC420E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4B88B0D3-E791-4774-9521-EABEACDC420E}.Release|Any CPU.Build.0 = Release|Any CPU
{2E139F63-B6FE-4EA9-A098-85364FE9B26C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2E139F63-B6FE-4EA9-A098-85364FE9B26C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2E139F63-B6FE-4EA9-A098-85364FE9B26C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2E139F63-B6FE-4EA9-A098-85364FE9B26C}.Release|Any CPU.Build.0 = Release|Any CPU
{2FD60CF1-45CD-4060-B8E5-4F39FBA7F1CB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2FD60CF1-45CD-4060-B8E5-4F39FBA7F1CB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2FD60CF1-45CD-4060-B8E5-4F39FBA7F1CB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2FD60CF1-45CD-4060-B8E5-4F39FBA7F1CB}.Release|Any CPU.Build.0 = Release|Any CPU
{6CCDB656-C676-4360-BABA-C4596AAD175D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6CCDB656-C676-4360-BABA-C4596AAD175D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6CCDB656-C676-4360-BABA-C4596AAD175D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6CCDB656-C676-4360-BABA-C4596AAD175D}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{09CBCD8A-C729-4AB6-9C39-1510774509D6} = {BDA40851-F353-416A-A6A8-6BA33ACB7371}
{2C357743-AB88-48BF-805A-5DEED44934A3} = {1C6D29D2-AC0D-48B2-932A-C9B94C3562F6}
{DDEB716C-3E3F-40E2-8466-EED50919D8A4} = {2C357743-AB88-48BF-805A-5DEED44934A3}
{B5F3ABFD-5AC3-45CB-8DF1-6E84CFA556B6} = {DDEB716C-3E3F-40E2-8466-EED50919D8A4}
{02CE88CB-677E-45A7-9B33-5028110379E5} = {B5F3ABFD-5AC3-45CB-8DF1-6E84CFA556B6}
{FC3ED941-1507-4149-B751-BB795E645459} = {1C6D29D2-AC0D-48B2-932A-C9B94C3562F6}
{1B02C79E-0B19-43E2-8F6B-71EF0C786C97} = {FC3ED941-1507-4149-B751-BB795E645459}
{3862D89C-E32D-4182-BB58-38777D43EDD9} = {02CE88CB-677E-45A7-9B33-5028110379E5}
{0B205BE7-90CD-4C3A-8EBD-1E414E39528A} = {02CE88CB-677E-45A7-9B33-5028110379E5}
{755396FE-7AD3-4D4A-9416-4C212A3BEF19} = {1C6D29D2-AC0D-48B2-932A-C9B94C3562F6}
{4B88B0D3-E791-4774-9521-EABEACDC420E} = {755396FE-7AD3-4D4A-9416-4C212A3BEF19}
{14FE7B6A-2029-4DCD-AD07-2BDF77D42D94} = {2C357743-AB88-48BF-805A-5DEED44934A3}
{83A52B6E-DB81-4B43-B5C1-F9B637D135BE} = {14FE7B6A-2029-4DCD-AD07-2BDF77D42D94}
{4E27EA04-8B52-4681-BB5E-4658BC3FF9A6} = {14FE7B6A-2029-4DCD-AD07-2BDF77D42D94}
{2E139F63-B6FE-4EA9-A098-85364FE9B26C} = {83A52B6E-DB81-4B43-B5C1-F9B637D135BE}
{2FD60CF1-45CD-4060-B8E5-4F39FBA7F1CB} = {DBC8FF8D-D0A2-4C55-B7D5-F7D17CCEE01F}
{6CCDB656-C676-4360-BABA-C4596AAD175D} = {6695522E-E681-434C-8006-5A92AABB9807}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {B72A8444-29F9-4FA4-82BE-B6E230750911}
EndGlobalSection
EndGlobal
@@ -0,0 +1,19 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:Boolean x:Key="/Default/UserDictionary/Words/=BAUDRATE/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Brodcast/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Consts/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=DBPL/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=DPLS/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=DTLC/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=FREQU/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=LAATZEN/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Meineckestr/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=MULT/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Ostermarsch/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Sensus/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Sequ/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Softwareentwicklung/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Strs/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=UDTLC/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=UMMELN/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Wiedebusch/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>
+11
View File
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8.1" />
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="Library\de;Library;Config"/>
</assemblyBinding>
</runtime>
</configuration>
+20
View File
@@ -0,0 +1,20 @@
using System;
using System.Windows.Forms;
using MiniPrf;
namespace Sensus.MiniPrf.Ui
{
internal static class MiniPrf
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new FrmMiniPrf());
}
}
}
+160
View File
@@ -0,0 +1,160 @@
<?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>{09CBCD8A-C729-4AB6-9C39-1510774509D6}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>Sensus.FM2014TestApp.Ui</RootNamespace>
<AssemblyName>FM2014TestApp</AssemblyName>
<TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>false</Deterministic>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Debug\FM2014TestApp.xml</DocumentationFile>
<GenerateSerializationAssemblies>On</GenerateSerializationAssemblies>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\Library\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Release\Library\FM2014TestApp.xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="FrmFm2014TestApp.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="FrmFm2014TestApp.Designer.cs">
<DependentUpon>FrmFm2014TestApp.cs</DependentUpon>
</Compile>
<Compile Include="FrmHistory.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="FrmHistory.Designer.cs">
<DependentUpon>FrmHistory.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="FrmFm2014TestApp.resx">
<DependentUpon>FrmFm2014TestApp.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="FrmHistory.resx">
<DependentUpon>FrmHistory.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.de.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.de.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<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">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<Content Include="NlogConfig.xml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<None Include="Resources\FM2014 58x172.jpg" />
<None Include="Resources\FM2014 117x344.jpg" />
<None Include="Resources\FM2014_small.jpg" />
<None Include="Resources\Sensus_A.jpg" />
<None Include="Resources\Sensus Logo.JPG" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Common\CommonCore\CommonCore.csproj">
<Project>{1B02C79E-0B19-43E2-8F6B-71EF0C786C97}</Project>
<Name>CommonCore</Name>
</ProjectReference>
<ProjectReference Include="..\..\Common\Hardware\Interfaces\Ports\PortCore\PortCore.csproj">
<Project>{2e139f63-b6fe-4ea9-a098-85364fe9b26c}</Project>
<Name>PortCore</Name>
</ProjectReference>
<ProjectReference Include="..\..\Common\Hardware\WaterMeter\MechanicalMeter\FM2014\FM2014Config\FM2014Config.csproj">
<Project>{3862D89C-E32D-4182-BB58-38777D43EDD9}</Project>
<Name>FM2014Config</Name>
</ProjectReference>
<ProjectReference Include="..\..\Common\Hardware\WaterMeter\MechanicalMeter\FM2014\FM2014Core\FM2014Core.csproj">
<Project>{0B205BE7-90CD-4C3A-8EBD-1E414E39528A}</Project>
<Name>FM2014Core</Name>
</ProjectReference>
<ProjectReference Include="..\..\Common\Metrology\Measurements\Measurements.csproj">
<Project>{6ccdb656-c676-4360-baba-c4596aad175d}</Project>
<Name>Measurements</Name>
</ProjectReference>
<ProjectReference Include="..\..\Common\Utils\Logging\Logging.csproj">
<Project>{4B88B0D3-E791-4774-9521-EABEACDC420E}</Project>
<Name>Logging</Name>
</ProjectReference>
<ProjectReference Include="..\..\Common\Utils\ProcessExec\ProcessExec.csproj">
<Project>{2FD60CF1-45CD-4060-B8E5-4F39FBA7F1CB}</Project>
<Name>ProcessExec</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
</PropertyGroup>
<PropertyGroup>
<PostBuildEvent>if $(ConfigurationName) == Release mkdir "$(TargetDir)..\Config"
if $(ConfigurationName) == Release move "$(TargetDir)MiniPrf.application" "$(TargetDir)..\Config\"
if $(ConfigurationName) == Release move "$(TargetDir)MiniPrf.exe.manifest" "$(TargetDir)..\Config\"
if $(ConfigurationName) == Release move "$(TargetDir)*.xml" "$(TargetDir)..\Config\"
if $(ConfigurationName) == Release erase "$(TargetDir)*.pdb"
if $(ConfigurationName) == Release move "$(TargetDir)MiniPrf.exe" "$(TargetDir)..\"
if $(ConfigurationName) == Release move "$(TargetDir)MiniPrf.exe.config" "$(TargetDir)..\"
</PostBuildEvent>
</PropertyGroup>
</Project>
+952
View File
@@ -0,0 +1,952 @@
namespace Sensus.FM2014TestApp.Ui
{
partial class FrmFm2014TestApp
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmFm2014TestApp));
this.gbxFM2014Setup = new System.Windows.Forms.GroupBox();
this.lblFM2014SerialNumber = new System.Windows.Forms.Label();
this.cbxFM2014TolerancePercent = new System.Windows.Forms.ComboBox();
this.picFM2014 = new System.Windows.Forms.PictureBox();
this.tbxFM2014SerialNumber = new System.Windows.Forms.TextBox();
this.lblFM2014Tolerance = new System.Windows.Forms.Label();
this.cbxFM2014Address = new System.Windows.Forms.ComboBox();
this.lblFM2014Address = new System.Windows.Forms.Label();
this.lblFwVersion = new System.Windows.Forms.Label();
this.btnFM2014Connect = new System.Windows.Forms.Button();
this.cbxFM2014ComPort = new System.Windows.Forms.ComboBox();
this.lblFM2014SerialPort = new System.Windows.Forms.Label();
this.lblConnectFM2014 = new System.Windows.Forms.Label();
this.tbxFM2014FullId = new System.Windows.Forms.TextBox();
this.tbxFM2014ApplicationFwVersion = new System.Windows.Forms.TextBox();
this.gbxRegulationSetup = new System.Windows.Forms.GroupBox();
this.btnSaveRegulationSetup = new System.Windows.Forms.Button();
this.cbxAttenuation = new System.Windows.Forms.ComboBox();
this.lblRefPulsePerVolume = new System.Windows.Forms.Label();
this.lblDutPulsePerVolume = new System.Windows.Forms.Label();
this.lblAttenuation = new System.Windows.Forms.Label();
this.lblScaleRefToDut = new System.Windows.Forms.Label();
this.tbxRefPulsePerCm = new System.Windows.Forms.TextBox();
this.tbxDutPulsePerCm = new System.Windows.Forms.TextBox();
this.tbxScaleRefToDut = new System.Windows.Forms.TextBox();
this.lblUpdateTimeValue = new System.Windows.Forms.Label();
this.tmrProgressUpdate = new System.Windows.Forms.Timer(this.components);
this.lblTimeText = new System.Windows.Forms.Label();
this.lblWaitingForMeterResponse = new System.Windows.Forms.Label();
this.barSingleProgressUpdate = new System.Windows.Forms.ProgressBar();
this.lblActualProcess = new System.Windows.Forms.Label();
this.btnDutToRefRegulation = new System.Windows.Forms.Button();
this.gbxManualRefCalibration = new System.Windows.Forms.GroupBox();
this.cbxMeasuredDutPulses = new System.Windows.Forms.CheckBox();
this.tbxMeasuredDutPulses = new System.Windows.Forms.TextBox();
this.lblPulseVolumeCmRelation = new System.Windows.Forms.Label();
this.tbxRefCalibrationResultPulsePerCm = new System.Windows.Forms.TextBox();
this.lblWeightScaleVolume = new System.Windows.Forms.Label();
this.tbxManualInputVolumeLiters = new System.Windows.Forms.TextBox();
this.lblMeasuredRefPulses = new System.Windows.Forms.Label();
this.tbxMeasuredRefPulses = new System.Windows.Forms.TextBox();
this.btnManualRefCalibration = new System.Windows.Forms.Button();
this.gbxDutToRefRegulation = new System.Windows.Forms.GroupBox();
this.lblRefFrequencyHz = new System.Windows.Forms.Label();
this.tbxRefFrequencyHz = new System.Windows.Forms.TextBox();
this.chkUseDampedTolerance = new System.Windows.Forms.CheckBox();
this.lblActualMeasuredTolerance = new System.Windows.Forms.Label();
this.tbxActualMeasuredToleranceDutToRef = new System.Windows.Forms.TextBox();
this.lblActualFlowRateCmPerHour = new System.Windows.Forms.Label();
this.tbxActualFlowRateCmPerHour = new System.Windows.Forms.TextBox();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.label1 = new System.Windows.Forms.Label();
this.tbxRefFrequencyFromRefPeriodHz = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.tbxRefFlowRateFromRefPeriodCmPerH = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label();
this.tbxRefPeriodMs = new System.Windows.Forms.TextBox();
this.label4 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.tbxDutPeriodMs = new System.Windows.Forms.TextBox();
this.tbxDutFrequencyFromDutPeriodHz = new System.Windows.Forms.TextBox();
this.tbxDutFlowRateFromDutPeriodCmPerH = new System.Windows.Forms.TextBox();
this.grpBoxDebug = new System.Windows.Forms.GroupBox();
this.cbxMultipleFm2014 = new System.Windows.Forms.CheckBox();
this.label7 = new System.Windows.Forms.Label();
this.tbxRefFlowRateFromRefFrequencyCmPerH = new System.Windows.Forms.TextBox();
this.label6 = new System.Windows.Forms.Label();
this.tbxRefFrequencyDirectHz = new System.Windows.Forms.TextBox();
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
this.gbxFM2014Setup.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.picFM2014)).BeginInit();
this.gbxRegulationSetup.SuspendLayout();
this.gbxManualRefCalibration.SuspendLayout();
this.gbxDutToRefRegulation.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.grpBoxDebug.SuspendLayout();
this.SuspendLayout();
//
// gbxFM2014Setup
//
this.gbxFM2014Setup.Controls.Add(this.lblFM2014SerialNumber);
this.gbxFM2014Setup.Controls.Add(this.cbxFM2014TolerancePercent);
this.gbxFM2014Setup.Controls.Add(this.picFM2014);
this.gbxFM2014Setup.Controls.Add(this.tbxFM2014SerialNumber);
this.gbxFM2014Setup.Controls.Add(this.lblFM2014Tolerance);
this.gbxFM2014Setup.Controls.Add(this.cbxFM2014Address);
this.gbxFM2014Setup.Controls.Add(this.lblFM2014Address);
this.gbxFM2014Setup.Controls.Add(this.lblFwVersion);
this.gbxFM2014Setup.Controls.Add(this.btnFM2014Connect);
this.gbxFM2014Setup.Controls.Add(this.cbxFM2014ComPort);
this.gbxFM2014Setup.Controls.Add(this.lblFM2014SerialPort);
this.gbxFM2014Setup.Controls.Add(this.lblConnectFM2014);
this.gbxFM2014Setup.Controls.Add(this.tbxFM2014FullId);
this.gbxFM2014Setup.Controls.Add(this.tbxFM2014ApplicationFwVersion);
this.gbxFM2014Setup.Location = new System.Drawing.Point(8, 26);
this.gbxFM2014Setup.Name = "gbxFM2014Setup";
this.gbxFM2014Setup.Size = new System.Drawing.Size(288, 210);
this.gbxFM2014Setup.TabIndex = 84;
this.gbxFM2014Setup.TabStop = false;
this.gbxFM2014Setup.Text = "FM2014";
//
// lblFM2014SerialNumber
//
this.lblFM2014SerialNumber.AutoSize = true;
this.lblFM2014SerialNumber.Location = new System.Drawing.Point(80, 78);
this.lblFM2014SerialNumber.Name = "lblFM2014SerialNumber";
this.lblFM2014SerialNumber.Size = new System.Drawing.Size(76, 13);
this.lblFM2014SerialNumber.TabIndex = 27;
this.lblFM2014SerialNumber.Text = "Serial Number:";
//
// cbxFM2014TolerancePercent
//
this.cbxFM2014TolerancePercent.FormattingEnabled = true;
this.cbxFM2014TolerancePercent.Items.AddRange(new object[] {
"3",
"5"});
this.cbxFM2014TolerancePercent.Location = new System.Drawing.Point(220, 150);
this.cbxFM2014TolerancePercent.Name = "cbxFM2014TolerancePercent";
this.cbxFM2014TolerancePercent.Size = new System.Drawing.Size(60, 21);
this.cbxFM2014TolerancePercent.TabIndex = 3;
this.cbxFM2014TolerancePercent.Text = "3";
this.cbxFM2014TolerancePercent.SelectedValueChanged += new System.EventHandler(this.cbxFM2014BaseSettings_SelectedValueChanged);
//
// picFM2014
//
this.picFM2014.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.picFM2014.Image = global::Sensus.FM2014TestApp.Ui.Properties.Resources.FM2014_58x172;
this.picFM2014.Location = new System.Drawing.Point(6, 25);
this.picFM2014.Name = "picFM2014";
this.picFM2014.Size = new System.Drawing.Size(60, 176);
this.picFM2014.TabIndex = 87;
this.picFM2014.TabStop = false;
this.picFM2014.Click += new System.EventHandler(this.picFM2014_Click);
//
// tbxFM2014SerialNumber
//
this.tbxFM2014SerialNumber.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.tbxFM2014SerialNumber.Location = new System.Drawing.Point(220, 75);
this.tbxFM2014SerialNumber.Name = "tbxFM2014SerialNumber";
this.tbxFM2014SerialNumber.ReadOnly = true;
this.tbxFM2014SerialNumber.Size = new System.Drawing.Size(60, 20);
this.tbxFM2014SerialNumber.TabIndex = 29;
//
// lblFM2014Tolerance
//
this.lblFM2014Tolerance.AutoSize = true;
this.lblFM2014Tolerance.Location = new System.Drawing.Point(80, 153);
this.lblFM2014Tolerance.Name = "lblFM2014Tolerance";
this.lblFM2014Tolerance.Size = new System.Drawing.Size(112, 13);
this.lblFM2014Tolerance.TabIndex = 36;
this.lblFM2014Tolerance.Text = "Tolerance Display [%]:";
//
// cbxFM2014Address
//
this.cbxFM2014Address.FormattingEnabled = true;
this.cbxFM2014Address.Items.AddRange(new object[] {
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"10",
"11",
"12",
"13",
"14",
"15",
"16",
"22"});
this.cbxFM2014Address.Location = new System.Drawing.Point(220, 125);
this.cbxFM2014Address.Name = "cbxFM2014Address";
this.cbxFM2014Address.Size = new System.Drawing.Size(60, 21);
this.cbxFM2014Address.TabIndex = 2;
this.cbxFM2014Address.Text = "1";
this.cbxFM2014Address.SelectedValueChanged += new System.EventHandler(this.cbxFM2014BaseSettings_SelectedValueChanged);
//
// lblFM2014Address
//
this.lblFM2014Address.AutoSize = true;
this.lblFM2014Address.Location = new System.Drawing.Point(80, 128);
this.lblFM2014Address.Name = "lblFM2014Address";
this.lblFM2014Address.Size = new System.Drawing.Size(48, 13);
this.lblFM2014Address.TabIndex = 34;
this.lblFM2014Address.Text = "Address:";
//
// lblFwVersion
//
this.lblFwVersion.AutoSize = true;
this.lblFwVersion.Location = new System.Drawing.Point(80, 52);
this.lblFwVersion.Name = "lblFwVersion";
this.lblFwVersion.Size = new System.Drawing.Size(90, 13);
this.lblFwVersion.TabIndex = 25;
this.lblFwVersion.Text = "Firmware Version:";
//
// btnFM2014Connect
//
this.btnFM2014Connect.Location = new System.Drawing.Point(170, 179);
this.btnFM2014Connect.Name = "btnFM2014Connect";
this.btnFM2014Connect.Size = new System.Drawing.Size(110, 25);
this.btnFM2014Connect.TabIndex = 0;
this.btnFM2014Connect.Text = "Connect";
this.btnFM2014Connect.UseVisualStyleBackColor = true;
this.btnFM2014Connect.Click += new System.EventHandler(this.btnConnect_Click);
//
// cbxFM2014ComPort
//
this.cbxFM2014ComPort.FormattingEnabled = true;
this.cbxFM2014ComPort.Location = new System.Drawing.Point(220, 100);
this.cbxFM2014ComPort.Name = "cbxFM2014ComPort";
this.cbxFM2014ComPort.Size = new System.Drawing.Size(60, 21);
this.cbxFM2014ComPort.TabIndex = 1;
this.cbxFM2014ComPort.Text = "NA";
this.cbxFM2014ComPort.SelectedValueChanged += new System.EventHandler(this.cbxFM2014BaseSettings_SelectedValueChanged);
//
// lblFM2014SerialPort
//
this.lblFM2014SerialPort.AutoSize = true;
this.lblFM2014SerialPort.Location = new System.Drawing.Point(80, 103);
this.lblFM2014SerialPort.Name = "lblFM2014SerialPort";
this.lblFM2014SerialPort.Size = new System.Drawing.Size(58, 13);
this.lblFM2014SerialPort.TabIndex = 20;
this.lblFM2014SerialPort.Text = "Serial Port:";
//
// lblConnectFM2014
//
this.lblConnectFM2014.AutoSize = true;
this.lblConnectFM2014.Location = new System.Drawing.Point(80, 28);
this.lblConnectFM2014.Name = "lblConnectFM2014";
this.lblConnectFM2014.Size = new System.Drawing.Size(13, 13);
this.lblConnectFM2014.TabIndex = 23;
this.lblConnectFM2014.Text = "?";
//
// tbxFM2014FullId
//
this.tbxFM2014FullId.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.tbxFM2014FullId.Location = new System.Drawing.Point(183, 28);
this.tbxFM2014FullId.Name = "tbxFM2014FullId";
this.tbxFM2014FullId.ReadOnly = true;
this.tbxFM2014FullId.Size = new System.Drawing.Size(94, 13);
this.tbxFM2014FullId.TabIndex = 0;
this.tbxFM2014FullId.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
// tbxFM2014ApplicationFwVersion
//
this.tbxFM2014ApplicationFwVersion.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.tbxFM2014ApplicationFwVersion.Location = new System.Drawing.Point(220, 50);
this.tbxFM2014ApplicationFwVersion.Name = "tbxFM2014ApplicationFwVersion";
this.tbxFM2014ApplicationFwVersion.ReadOnly = true;
this.tbxFM2014ApplicationFwVersion.Size = new System.Drawing.Size(60, 20);
this.tbxFM2014ApplicationFwVersion.TabIndex = 31;
//
// gbxRegulationSetup
//
this.gbxRegulationSetup.Controls.Add(this.btnSaveRegulationSetup);
this.gbxRegulationSetup.Controls.Add(this.cbxAttenuation);
this.gbxRegulationSetup.Controls.Add(this.lblRefPulsePerVolume);
this.gbxRegulationSetup.Controls.Add(this.lblDutPulsePerVolume);
this.gbxRegulationSetup.Controls.Add(this.lblAttenuation);
this.gbxRegulationSetup.Controls.Add(this.lblScaleRefToDut);
this.gbxRegulationSetup.Controls.Add(this.tbxRefPulsePerCm);
this.gbxRegulationSetup.Controls.Add(this.tbxDutPulsePerCm);
this.gbxRegulationSetup.Controls.Add(this.tbxScaleRefToDut);
this.gbxRegulationSetup.Location = new System.Drawing.Point(8, 239);
this.gbxRegulationSetup.Name = "gbxRegulationSetup";
this.gbxRegulationSetup.Size = new System.Drawing.Size(288, 174);
this.gbxRegulationSetup.TabIndex = 82;
this.gbxRegulationSetup.TabStop = false;
this.gbxRegulationSetup.Text = "Regulation Setup";
//
// btnSaveRegulationSetup
//
this.btnSaveRegulationSetup.Location = new System.Drawing.Point(173, 144);
this.btnSaveRegulationSetup.Name = "btnSaveRegulationSetup";
this.btnSaveRegulationSetup.Size = new System.Drawing.Size(110, 25);
this.btnSaveRegulationSetup.TabIndex = 7;
this.btnSaveRegulationSetup.Text = "Save";
this.btnSaveRegulationSetup.UseVisualStyleBackColor = true;
this.btnSaveRegulationSetup.Click += new System.EventHandler(this.btnSaveRegulationSetup_Click);
//
// cbxAttenuation
//
this.cbxAttenuation.FormattingEnabled = true;
this.cbxAttenuation.Items.AddRange(new object[] {
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9"});
this.cbxAttenuation.Location = new System.Drawing.Point(220, 101);
this.cbxAttenuation.Name = "cbxAttenuation";
this.cbxAttenuation.Size = new System.Drawing.Size(60, 21);
this.cbxAttenuation.TabIndex = 6;
this.cbxAttenuation.Text = "3";
this.cbxAttenuation.SelectedIndexChanged += new System.EventHandler(this.cbxAttenuation_SelectedIndexChanged);
this.cbxAttenuation.KeyDown += new System.Windows.Forms.KeyEventHandler(this.cbxAttenuation_KeyDown);
//
// lblRefPulsePerVolume
//
this.lblRefPulsePerVolume.AutoSize = true;
this.lblRefPulsePerVolume.Location = new System.Drawing.Point(10, 28);
this.lblRefPulsePerVolume.Name = "lblRefPulsePerVolume";
this.lblRefPulsePerVolume.Size = new System.Drawing.Size(86, 13);
this.lblRefPulsePerVolume.TabIndex = 62;
this.lblRefPulsePerVolume.Text = "REF [pulses/m³]:";
//
// lblDutPulsePerVolume
//
this.lblDutPulsePerVolume.AutoSize = true;
this.lblDutPulsePerVolume.Location = new System.Drawing.Point(10, 53);
this.lblDutPulsePerVolume.Name = "lblDutPulsePerVolume";
this.lblDutPulsePerVolume.Size = new System.Drawing.Size(88, 13);
this.lblDutPulsePerVolume.TabIndex = 63;
this.lblDutPulsePerVolume.Text = "DUT [pulses/m³]:";
//
// lblAttenuation
//
this.lblAttenuation.AutoSize = true;
this.lblAttenuation.Location = new System.Drawing.Point(10, 103);
this.lblAttenuation.Name = "lblAttenuation";
this.lblAttenuation.Size = new System.Drawing.Size(73, 13);
this.lblAttenuation.TabIndex = 68;
this.lblAttenuation.Text = "Attenuation []:";
//
// lblScaleRefToDut
//
this.lblScaleRefToDut.AutoSize = true;
this.lblScaleRefToDut.Location = new System.Drawing.Point(10, 78);
this.lblScaleRefToDut.Name = "lblScaleRefToDut";
this.lblScaleRefToDut.Size = new System.Drawing.Size(118, 13);
this.lblScaleRefToDut.TabIndex = 64;
this.lblScaleRefToDut.Text = "REF/DUT Scale [norm]";
//
// tbxRefPulsePerCm
//
this.tbxRefPulsePerCm.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.tbxRefPulsePerCm.Location = new System.Drawing.Point(220, 26);
this.tbxRefPulsePerCm.Name = "tbxRefPulsePerCm";
this.tbxRefPulsePerCm.Size = new System.Drawing.Size(60, 20);
this.tbxRefPulsePerCm.TabIndex = 4;
this.tbxRefPulsePerCm.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbxRefPulsesPerCm_KeyDown);
this.tbxRefPulsePerCm.Leave += new System.EventHandler(this.tbxRefPulsesPerCm_Leave);
//
// tbxDutPulsePerCm
//
this.tbxDutPulsePerCm.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.tbxDutPulsePerCm.Location = new System.Drawing.Point(220, 51);
this.tbxDutPulsePerCm.Name = "tbxDutPulsePerCm";
this.tbxDutPulsePerCm.Size = new System.Drawing.Size(60, 20);
this.tbxDutPulsePerCm.TabIndex = 5;
this.tbxDutPulsePerCm.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbxDutPulsesPerCm_KeyDown);
this.tbxDutPulsePerCm.Leave += new System.EventHandler(this.tbxDutPulsesPerCm_Leave);
//
// tbxScaleRefToDut
//
this.tbxScaleRefToDut.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.tbxScaleRefToDut.Location = new System.Drawing.Point(220, 76);
this.tbxScaleRefToDut.Name = "tbxScaleRefToDut";
this.tbxScaleRefToDut.ReadOnly = true;
this.tbxScaleRefToDut.Size = new System.Drawing.Size(60, 20);
this.tbxScaleRefToDut.TabIndex = 66;
//
// lblUpdateTimeValue
//
this.lblUpdateTimeValue.AutoSize = true;
this.lblUpdateTimeValue.Location = new System.Drawing.Point(289, 416);
this.lblUpdateTimeValue.Name = "lblUpdateTimeValue";
this.lblUpdateTimeValue.Size = new System.Drawing.Size(28, 13);
this.lblUpdateTimeValue.TabIndex = 81;
this.lblUpdateTimeValue.Text = "0:00";
//
// tmrProgressUpdate
//
this.tmrProgressUpdate.Interval = 200;
this.tmrProgressUpdate.Tick += new System.EventHandler(this.tmrProgressUpdate_Tick);
//
// lblTimeText
//
this.lblTimeText.AutoSize = true;
this.lblTimeText.Location = new System.Drawing.Point(220, 416);
this.lblTimeText.Name = "lblTimeText";
this.lblTimeText.Size = new System.Drawing.Size(66, 13);
this.lblTimeText.TabIndex = 79;
this.lblTimeText.Text = "Time [min:s]:";
//
// lblWaitingForMeterResponse
//
this.lblWaitingForMeterResponse.AutoSize = true;
this.lblWaitingForMeterResponse.ForeColor = System.Drawing.Color.Red;
this.lblWaitingForMeterResponse.Location = new System.Drawing.Point(350, 416);
this.lblWaitingForMeterResponse.Name = "lblWaitingForMeterResponse";
this.lblWaitingForMeterResponse.Size = new System.Drawing.Size(183, 13);
this.lblWaitingForMeterResponse.TabIndex = 76;
this.lblWaitingForMeterResponse.Text = "WAITING FOR FM2014 RESPONSE";
//
// barSingleProgressUpdate
//
this.barSingleProgressUpdate.Location = new System.Drawing.Point(7, 432);
this.barSingleProgressUpdate.Name = "barSingleProgressUpdate";
this.barSingleProgressUpdate.Size = new System.Drawing.Size(526, 18);
this.barSingleProgressUpdate.TabIndex = 75;
this.barSingleProgressUpdate.Visible = false;
//
// lblActualProcess
//
this.lblActualProcess.AutoSize = true;
this.lblActualProcess.Location = new System.Drawing.Point(5, 416);
this.lblActualProcess.Name = "lblActualProcess";
this.lblActualProcess.Size = new System.Drawing.Size(76, 13);
this.lblActualProcess.TabIndex = 74;
this.lblActualProcess.Text = "Process status";
//
// btnDutToRefRegulation
//
this.btnDutToRefRegulation.Location = new System.Drawing.Point(113, 144);
this.btnDutToRefRegulation.Name = "btnDutToRefRegulation";
this.btnDutToRefRegulation.Size = new System.Drawing.Size(110, 25);
this.btnDutToRefRegulation.TabIndex = 11;
this.btnDutToRefRegulation.Text = "Start Regulation";
this.btnDutToRefRegulation.UseVisualStyleBackColor = true;
this.btnDutToRefRegulation.Click += new System.EventHandler(this.btnDutToRefRegulation_Click);
//
// gbxManualRefCalibration
//
this.gbxManualRefCalibration.Controls.Add(this.cbxMeasuredDutPulses);
this.gbxManualRefCalibration.Controls.Add(this.tbxMeasuredDutPulses);
this.gbxManualRefCalibration.Controls.Add(this.lblPulseVolumeCmRelation);
this.gbxManualRefCalibration.Controls.Add(this.tbxRefCalibrationResultPulsePerCm);
this.gbxManualRefCalibration.Controls.Add(this.lblWeightScaleVolume);
this.gbxManualRefCalibration.Controls.Add(this.tbxManualInputVolumeLiters);
this.gbxManualRefCalibration.Controls.Add(this.lblMeasuredRefPulses);
this.gbxManualRefCalibration.Controls.Add(this.tbxMeasuredRefPulses);
this.gbxManualRefCalibration.Controls.Add(this.btnManualRefCalibration);
this.gbxManualRefCalibration.Location = new System.Drawing.Point(302, 75);
this.gbxManualRefCalibration.Name = "gbxManualRefCalibration";
this.gbxManualRefCalibration.Size = new System.Drawing.Size(231, 161);
this.gbxManualRefCalibration.TabIndex = 83;
this.gbxManualRefCalibration.TabStop = false;
this.gbxManualRefCalibration.Text = "Manual REF Calibration";
//
// cbxMeasuredDutPulses
//
this.cbxMeasuredDutPulses.AutoSize = true;
this.cbxMeasuredDutPulses.Location = new System.Drawing.Point(12, 53);
this.cbxMeasuredDutPulses.Name = "cbxMeasuredDutPulses";
this.cbxMeasuredDutPulses.Size = new System.Drawing.Size(142, 17);
this.cbxMeasuredDutPulses.TabIndex = 76;
this.cbxMeasuredDutPulses.Text = "Measured DUT [Pulses]:";
this.cbxMeasuredDutPulses.UseVisualStyleBackColor = true;
//
// tbxMeasuredDutPulses
//
this.tbxMeasuredDutPulses.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.tbxMeasuredDutPulses.Location = new System.Drawing.Point(164, 51);
this.tbxMeasuredDutPulses.Name = "tbxMeasuredDutPulses";
this.tbxMeasuredDutPulses.ReadOnly = true;
this.tbxMeasuredDutPulses.Size = new System.Drawing.Size(60, 20);
this.tbxMeasuredDutPulses.TabIndex = 75;
//
// lblPulseVolumeCmRelation
//
this.lblPulseVolumeCmRelation.AutoSize = true;
this.lblPulseVolumeCmRelation.Location = new System.Drawing.Point(10, 104);
this.lblPulseVolumeCmRelation.Name = "lblPulseVolumeCmRelation";
this.lblPulseVolumeCmRelation.Size = new System.Drawing.Size(86, 13);
this.lblPulseVolumeCmRelation.TabIndex = 72;
this.lblPulseVolumeCmRelation.Text = "REF [pulses/m³]:";
//
// tbxRefCalibrationResultPulsePerCm
//
this.tbxRefCalibrationResultPulsePerCm.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.tbxRefCalibrationResultPulsePerCm.Location = new System.Drawing.Point(164, 102);
this.tbxRefCalibrationResultPulsePerCm.Name = "tbxRefCalibrationResultPulsePerCm";
this.tbxRefCalibrationResultPulsePerCm.ReadOnly = true;
this.tbxRefCalibrationResultPulsePerCm.Size = new System.Drawing.Size(60, 20);
this.tbxRefCalibrationResultPulsePerCm.TabIndex = 73;
//
// lblWeightScaleVolume
//
this.lblWeightScaleVolume.AutoSize = true;
this.lblWeightScaleVolume.Location = new System.Drawing.Point(10, 79);
this.lblWeightScaleVolume.Name = "lblWeightScaleVolume";
this.lblWeightScaleVolume.Size = new System.Drawing.Size(75, 13);
this.lblWeightScaleVolume.TabIndex = 70;
this.lblWeightScaleVolume.Text = "Volume [liters]:";
//
// tbxManualInputVolumeLiters
//
this.tbxManualInputVolumeLiters.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.tbxManualInputVolumeLiters.Location = new System.Drawing.Point(164, 77);
this.tbxManualInputVolumeLiters.Name = "tbxManualInputVolumeLiters";
this.tbxManualInputVolumeLiters.Size = new System.Drawing.Size(60, 20);
this.tbxManualInputVolumeLiters.TabIndex = 8;
this.tbxManualInputVolumeLiters.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbxManualInputVolumeLiters_KeyStoke);
this.tbxManualInputVolumeLiters.Leave += new System.EventHandler(this.tbxManualInputVolumeLiters_Leave);
//
// lblMeasuredRefPulses
//
this.lblMeasuredRefPulses.AutoSize = true;
this.lblMeasuredRefPulses.Location = new System.Drawing.Point(10, 29);
this.lblMeasuredRefPulses.Name = "lblMeasuredRefPulses";
this.lblMeasuredRefPulses.Size = new System.Drawing.Size(121, 13);
this.lblMeasuredRefPulses.TabIndex = 68;
this.lblMeasuredRefPulses.Text = "Measured REF [Pulses]:";
//
// tbxMeasuredRefPulses
//
this.tbxMeasuredRefPulses.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.tbxMeasuredRefPulses.Location = new System.Drawing.Point(164, 26);
this.tbxMeasuredRefPulses.Name = "tbxMeasuredRefPulses";
this.tbxMeasuredRefPulses.ReadOnly = true;
this.tbxMeasuredRefPulses.Size = new System.Drawing.Size(60, 20);
this.tbxMeasuredRefPulses.TabIndex = 69;
//
// btnManualRefCalibration
//
this.btnManualRefCalibration.Location = new System.Drawing.Point(114, 130);
this.btnManualRefCalibration.Name = "btnManualRefCalibration";
this.btnManualRefCalibration.Size = new System.Drawing.Size(110, 25);
this.btnManualRefCalibration.TabIndex = 9;
this.btnManualRefCalibration.Text = "Start Calibration";
this.btnManualRefCalibration.UseVisualStyleBackColor = true;
this.btnManualRefCalibration.Click += new System.EventHandler(this.btnManualRefCalibration_Click);
//
// gbxDutToRefRegulation
//
this.gbxDutToRefRegulation.Controls.Add(this.lblRefFrequencyHz);
this.gbxDutToRefRegulation.Controls.Add(this.tbxRefFrequencyHz);
this.gbxDutToRefRegulation.Controls.Add(this.chkUseDampedTolerance);
this.gbxDutToRefRegulation.Controls.Add(this.lblActualMeasuredTolerance);
this.gbxDutToRefRegulation.Controls.Add(this.tbxActualMeasuredToleranceDutToRef);
this.gbxDutToRefRegulation.Controls.Add(this.lblActualFlowRateCmPerHour);
this.gbxDutToRefRegulation.Controls.Add(this.tbxActualFlowRateCmPerHour);
this.gbxDutToRefRegulation.Controls.Add(this.btnDutToRefRegulation);
this.gbxDutToRefRegulation.Location = new System.Drawing.Point(302, 238);
this.gbxDutToRefRegulation.Name = "gbxDutToRefRegulation";
this.gbxDutToRefRegulation.Size = new System.Drawing.Size(231, 175);
this.gbxDutToRefRegulation.TabIndex = 84;
this.gbxDutToRefRegulation.TabStop = false;
this.gbxDutToRefRegulation.Text = "DUT to REF Regulation";
//
// lblRefFrequencyHz
//
this.lblRefFrequencyHz.AutoSize = true;
this.lblRefFrequencyHz.Location = new System.Drawing.Point(10, 52);
this.lblRefFrequencyHz.Name = "lblRefFrequencyHz";
this.lblRefFrequencyHz.Size = new System.Drawing.Size(106, 13);
this.lblRefFrequencyHz.TabIndex = 79;
this.lblRefFrequencyHz.Text = "REF Frequency [Hz]:";
//
// tbxRefFrequencyHz
//
this.tbxRefFrequencyHz.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.tbxRefFrequencyHz.Location = new System.Drawing.Point(163, 51);
this.tbxRefFrequencyHz.Name = "tbxRefFrequencyHz";
this.tbxRefFrequencyHz.ReadOnly = true;
this.tbxRefFrequencyHz.Size = new System.Drawing.Size(60, 20);
this.tbxRefFrequencyHz.TabIndex = 78;
//
// chkUseDampedTolerance
//
this.chkUseDampedTolerance.AutoSize = true;
this.chkUseDampedTolerance.Location = new System.Drawing.Point(13, 102);
this.chkUseDampedTolerance.Name = "chkUseDampedTolerance";
this.chkUseDampedTolerance.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.chkUseDampedTolerance.Size = new System.Drawing.Size(134, 17);
this.chkUseDampedTolerance.TabIndex = 10;
this.chkUseDampedTolerance.Text = "Damped Tolerance On";
this.chkUseDampedTolerance.UseVisualStyleBackColor = true;
this.chkUseDampedTolerance.CheckedChanged += new System.EventHandler(this.chkUseDampedTolerance_CheckedChanged);
//
// lblActualMeasuredTolerance
//
this.lblActualMeasuredTolerance.AutoSize = true;
this.lblActualMeasuredTolerance.Location = new System.Drawing.Point(10, 27);
this.lblActualMeasuredTolerance.Name = "lblActualMeasuredTolerance";
this.lblActualMeasuredTolerance.Size = new System.Drawing.Size(75, 13);
this.lblActualMeasuredTolerance.TabIndex = 76;
this.lblActualMeasuredTolerance.Text = "Tolerance [%]:";
//
// tbxActualMeasuredToleranceDutToRef
//
this.tbxActualMeasuredToleranceDutToRef.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.tbxActualMeasuredToleranceDutToRef.Location = new System.Drawing.Point(163, 25);
this.tbxActualMeasuredToleranceDutToRef.Name = "tbxActualMeasuredToleranceDutToRef";
this.tbxActualMeasuredToleranceDutToRef.ReadOnly = true;
this.tbxActualMeasuredToleranceDutToRef.Size = new System.Drawing.Size(60, 20);
this.tbxActualMeasuredToleranceDutToRef.TabIndex = 77;
//
// lblActualFlowRateCmPerHour
//
this.lblActualFlowRateCmPerHour.AutoSize = true;
this.lblActualFlowRateCmPerHour.Location = new System.Drawing.Point(10, 79);
this.lblActualFlowRateCmPerHour.Name = "lblActualFlowRateCmPerHour";
this.lblActualFlowRateCmPerHour.Size = new System.Drawing.Size(89, 13);
this.lblActualFlowRateCmPerHour.TabIndex = 74;
this.lblActualFlowRateCmPerHour.Text = "Flow Rate [m³/h]:";
//
// tbxActualFlowRateCmPerHour
//
this.tbxActualFlowRateCmPerHour.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.tbxActualFlowRateCmPerHour.Location = new System.Drawing.Point(163, 77);
this.tbxActualFlowRateCmPerHour.Name = "tbxActualFlowRateCmPerHour";
this.tbxActualFlowRateCmPerHour.ReadOnly = true;
this.tbxActualFlowRateCmPerHour.Size = new System.Drawing.Size(60, 20);
this.tbxActualFlowRateCmPerHour.TabIndex = 75;
//
// pictureBox1
//
this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.pictureBox1.Image = global::Sensus.FM2014TestApp.Ui.Properties.Resources.Sensus_A;
this.pictureBox1.Location = new System.Drawing.Point(384, 27);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(149, 46);
this.pictureBox1.TabIndex = 86;
this.pictureBox1.TabStop = false;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(10, 25);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(123, 13);
this.label1.TabIndex = 83;
this.label1.Text = "Frequency f(period) [Hz]:";
//
// tbxRefFrequencyFromRefPeriodHz
//
this.tbxRefFrequencyFromRefPeriodHz.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.tbxRefFrequencyFromRefPeriodHz.Location = new System.Drawing.Point(153, 25);
this.tbxRefFrequencyFromRefPeriodHz.Name = "tbxRefFrequencyFromRefPeriodHz";
this.tbxRefFrequencyFromRefPeriodHz.ReadOnly = true;
this.tbxRefFrequencyFromRefPeriodHz.Size = new System.Drawing.Size(60, 20);
this.tbxRefFrequencyFromRefPeriodHz.TabIndex = 82;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(10, 76);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(130, 13);
this.label2.TabIndex = 80;
this.label2.Text = "Flow Rate f(period) [m³/h]:";
//
// tbxRefFlowRateFromRefPeriodCmPerH
//
this.tbxRefFlowRateFromRefPeriodCmPerH.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.tbxRefFlowRateFromRefPeriodCmPerH.Location = new System.Drawing.Point(153, 74);
this.tbxRefFlowRateFromRefPeriodCmPerH.Name = "tbxRefFlowRateFromRefPeriodCmPerH";
this.tbxRefFlowRateFromRefPeriodCmPerH.ReadOnly = true;
this.tbxRefFlowRateFromRefPeriodCmPerH.Size = new System.Drawing.Size(60, 20);
this.tbxRefFlowRateFromRefPeriodCmPerH.TabIndex = 81;
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(10, 125);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(62, 13);
this.label3.TabIndex = 84;
this.label3.Text = "Period [ms]:";
//
// tbxRefPeriodMs
//
this.tbxRefPeriodMs.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.tbxRefPeriodMs.Location = new System.Drawing.Point(153, 123);
this.tbxRefPeriodMs.Name = "tbxRefPeriodMs";
this.tbxRefPeriodMs.ReadOnly = true;
this.tbxRefPeriodMs.Size = new System.Drawing.Size(60, 20);
this.tbxRefPeriodMs.TabIndex = 85;
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(169, 9);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(28, 13);
this.label4.TabIndex = 88;
this.label4.Text = "REF";
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(232, 9);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(30, 13);
this.label5.TabIndex = 89;
this.label5.Text = "DUT";
//
// tbxDutPeriodMs
//
this.tbxDutPeriodMs.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.tbxDutPeriodMs.Location = new System.Drawing.Point(220, 123);
this.tbxDutPeriodMs.Name = "tbxDutPeriodMs";
this.tbxDutPeriodMs.ReadOnly = true;
this.tbxDutPeriodMs.Size = new System.Drawing.Size(60, 20);
this.tbxDutPeriodMs.TabIndex = 92;
//
// tbxDutFrequencyFromDutPeriodHz
//
this.tbxDutFrequencyFromDutPeriodHz.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.tbxDutFrequencyFromDutPeriodHz.Location = new System.Drawing.Point(220, 25);
this.tbxDutFrequencyFromDutPeriodHz.Name = "tbxDutFrequencyFromDutPeriodHz";
this.tbxDutFrequencyFromDutPeriodHz.ReadOnly = true;
this.tbxDutFrequencyFromDutPeriodHz.Size = new System.Drawing.Size(60, 20);
this.tbxDutFrequencyFromDutPeriodHz.TabIndex = 91;
//
// tbxDutFlowRateFromDutPeriodCmPerH
//
this.tbxDutFlowRateFromDutPeriodCmPerH.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.tbxDutFlowRateFromDutPeriodCmPerH.Location = new System.Drawing.Point(220, 74);
this.tbxDutFlowRateFromDutPeriodCmPerH.Name = "tbxDutFlowRateFromDutPeriodCmPerH";
this.tbxDutFlowRateFromDutPeriodCmPerH.ReadOnly = true;
this.tbxDutFlowRateFromDutPeriodCmPerH.Size = new System.Drawing.Size(60, 20);
this.tbxDutFlowRateFromDutPeriodCmPerH.TabIndex = 90;
//
// grpBoxDebug
//
this.grpBoxDebug.Controls.Add(this.cbxMultipleFm2014);
this.grpBoxDebug.Controls.Add(this.label7);
this.grpBoxDebug.Controls.Add(this.tbxRefFlowRateFromRefFrequencyCmPerH);
this.grpBoxDebug.Controls.Add(this.label6);
this.grpBoxDebug.Controls.Add(this.tbxRefFrequencyDirectHz);
this.grpBoxDebug.Controls.Add(this.label1);
this.grpBoxDebug.Controls.Add(this.tbxDutPeriodMs);
this.grpBoxDebug.Controls.Add(this.tbxRefFlowRateFromRefPeriodCmPerH);
this.grpBoxDebug.Controls.Add(this.tbxDutFrequencyFromDutPeriodHz);
this.grpBoxDebug.Controls.Add(this.label2);
this.grpBoxDebug.Controls.Add(this.tbxDutFlowRateFromDutPeriodCmPerH);
this.grpBoxDebug.Controls.Add(this.tbxRefFrequencyFromRefPeriodHz);
this.grpBoxDebug.Controls.Add(this.label5);
this.grpBoxDebug.Controls.Add(this.tbxRefPeriodMs);
this.grpBoxDebug.Controls.Add(this.label4);
this.grpBoxDebug.Controls.Add(this.label3);
this.grpBoxDebug.Location = new System.Drawing.Point(8, 238);
this.grpBoxDebug.Name = "grpBoxDebug";
this.grpBoxDebug.Size = new System.Drawing.Size(288, 175);
this.grpBoxDebug.TabIndex = 83;
this.grpBoxDebug.TabStop = false;
this.grpBoxDebug.Text = "Debug";
this.grpBoxDebug.Visible = false;
//
// cbxMultipleFm2014
//
this.cbxMultipleFm2014.AutoSize = true;
this.cbxMultipleFm2014.Location = new System.Drawing.Point(13, 149);
this.cbxMultipleFm2014.Name = "cbxMultipleFm2014";
this.cbxMultipleFm2014.Size = new System.Drawing.Size(112, 17);
this.cbxMultipleFm2014.TabIndex = 97;
this.cbxMultipleFm2014.Text = "FM2014 TEST #2";
this.cbxMultipleFm2014.UseVisualStyleBackColor = true;
//
// label7
//
this.label7.AutoSize = true;
this.label7.Location = new System.Drawing.Point(10, 101);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(128, 13);
this.label7.TabIndex = 96;
this.label7.Text = "Flow Rate f(frequ.) [m³/h]:";
//
// tbxRefFlowRateFromRefFrequencyCmPerH
//
this.tbxRefFlowRateFromRefFrequencyCmPerH.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.tbxRefFlowRateFromRefFrequencyCmPerH.Location = new System.Drawing.Point(153, 99);
this.tbxRefFlowRateFromRefFrequencyCmPerH.Name = "tbxRefFlowRateFromRefFrequencyCmPerH";
this.tbxRefFlowRateFromRefFrequencyCmPerH.ReadOnly = true;
this.tbxRefFlowRateFromRefFrequencyCmPerH.Size = new System.Drawing.Size(60, 20);
this.tbxRefFlowRateFromRefFrequencyCmPerH.TabIndex = 95;
//
// label6
//
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(10, 52);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(117, 13);
this.label6.TabIndex = 94;
this.label6.Text = "Frequency (direct) [Hz]:";
//
// tbxRefFrequencyDirectHz
//
this.tbxRefFrequencyDirectHz.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.tbxRefFrequencyDirectHz.Location = new System.Drawing.Point(153, 50);
this.tbxRefFrequencyDirectHz.Name = "tbxRefFrequencyDirectHz";
this.tbxRefFrequencyDirectHz.ReadOnly = true;
this.tbxRefFrequencyDirectHz.Size = new System.Drawing.Size(60, 20);
this.tbxRefFrequencyDirectHz.TabIndex = 93;
//
// menuStrip1
//
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
this.menuStrip1.Name = "menuStrip1";
this.menuStrip1.Size = new System.Drawing.Size(538, 24);
this.menuStrip1.TabIndex = 85;
this.menuStrip1.Text = "menuStrip1";
//
// FrmFm2014TestApp
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(538, 467);
this.Controls.Add(this.grpBoxDebug);
this.Controls.Add(this.gbxRegulationSetup);
this.Controls.Add(this.gbxDutToRefRegulation);
this.Controls.Add(this.pictureBox1);
this.Controls.Add(this.gbxFM2014Setup);
this.Controls.Add(this.lblUpdateTimeValue);
this.Controls.Add(this.gbxManualRefCalibration);
this.Controls.Add(this.lblTimeText);
this.Controls.Add(this.lblWaitingForMeterResponse);
this.Controls.Add(this.barSingleProgressUpdate);
this.Controls.Add(this.lblActualProcess);
this.Controls.Add(this.menuStrip1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MainMenuStrip = this.menuStrip1;
this.MaximizeBox = false;
this.Name = "FrmFm2014TestApp";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "FM2014 Test App";
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.FrmMainFM2014TestApp_FormClosed);
this.Load += new System.EventHandler(this.FrmMainFM2014TestApp_Load);
this.gbxFM2014Setup.ResumeLayout(false);
this.gbxFM2014Setup.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.picFM2014)).EndInit();
this.gbxRegulationSetup.ResumeLayout(false);
this.gbxRegulationSetup.PerformLayout();
this.gbxManualRefCalibration.ResumeLayout(false);
this.gbxManualRefCalibration.PerformLayout();
this.gbxDutToRefRegulation.ResumeLayout(false);
this.gbxDutToRefRegulation.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.grpBoxDebug.ResumeLayout(false);
this.grpBoxDebug.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.GroupBox gbxFM2014Setup;
private System.Windows.Forms.Button btnFM2014Connect;
private System.Windows.Forms.ComboBox cbxFM2014ComPort;
private System.Windows.Forms.Label lblFM2014SerialPort;
private System.Windows.Forms.Label lblConnectFM2014;
private System.Windows.Forms.TextBox tbxFM2014FullId;
private System.Windows.Forms.GroupBox gbxRegulationSetup;
private System.Windows.Forms.Label lblRefPulsePerVolume;
private System.Windows.Forms.Label lblDutPulsePerVolume;
private System.Windows.Forms.Label lblAttenuation;
private System.Windows.Forms.Label lblScaleRefToDut;
private System.Windows.Forms.TextBox tbxRefPulsePerCm;
private System.Windows.Forms.TextBox tbxDutPulsePerCm;
private System.Windows.Forms.TextBox tbxScaleRefToDut;
private System.Windows.Forms.Label lblUpdateTimeValue;
private System.Windows.Forms.Timer tmrProgressUpdate;
private System.Windows.Forms.Label lblFwVersion;
private System.Windows.Forms.Label lblFM2014SerialNumber;
private System.Windows.Forms.TextBox tbxFM2014SerialNumber;
private System.Windows.Forms.TextBox tbxFM2014ApplicationFwVersion;
private System.Windows.Forms.Label lblTimeText;
private System.Windows.Forms.Label lblWaitingForMeterResponse;
private System.Windows.Forms.ProgressBar barSingleProgressUpdate;
private System.Windows.Forms.Label lblActualProcess;
private System.Windows.Forms.ComboBox cbxFM2014TolerancePercent;
private System.Windows.Forms.Label lblFM2014Tolerance;
private System.Windows.Forms.ComboBox cbxFM2014Address;
private System.Windows.Forms.Label lblFM2014Address;
private System.Windows.Forms.ComboBox cbxAttenuation;
private System.Windows.Forms.Button btnDutToRefRegulation;
private System.Windows.Forms.GroupBox gbxManualRefCalibration;
private System.Windows.Forms.GroupBox gbxDutToRefRegulation;
private System.Windows.Forms.Button btnManualRefCalibration;
private System.Windows.Forms.TextBox tbxMeasuredRefPulses;
private System.Windows.Forms.Label lblPulseVolumeCmRelation;
private System.Windows.Forms.TextBox tbxRefCalibrationResultPulsePerCm;
private System.Windows.Forms.Label lblWeightScaleVolume;
private System.Windows.Forms.TextBox tbxManualInputVolumeLiters;
private System.Windows.Forms.Label lblActualMeasuredTolerance;
private System.Windows.Forms.TextBox tbxActualMeasuredToleranceDutToRef;
private System.Windows.Forms.Label lblActualFlowRateCmPerHour;
private System.Windows.Forms.TextBox tbxActualFlowRateCmPerHour;
private System.Windows.Forms.CheckBox chkUseDampedTolerance;
private System.Windows.Forms.Button btnSaveRegulationSetup;
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.PictureBox picFM2014;
private System.Windows.Forms.TextBox tbxRefFrequencyHz;
private System.Windows.Forms.Label lblRefFrequencyHz;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.TextBox tbxRefPeriodMs;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox tbxRefFrequencyFromRefPeriodHz;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox tbxRefFlowRateFromRefPeriodCmPerH;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.TextBox tbxDutPeriodMs;
private System.Windows.Forms.TextBox tbxDutFrequencyFromDutPeriodHz;
private System.Windows.Forms.TextBox tbxDutFlowRateFromDutPeriodCmPerH;
private System.Windows.Forms.GroupBox grpBoxDebug;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.TextBox tbxRefFrequencyDirectHz;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.TextBox tbxRefFlowRateFromRefFrequencyCmPerH;
private System.Windows.Forms.MenuStrip menuStrip1;
private System.Windows.Forms.TextBox tbxMeasuredDutPulses;
private System.Windows.Forms.CheckBox cbxMeasuredDutPulses;
private System.Windows.Forms.Label lblMeasuredRefPulses;
private System.Windows.Forms.CheckBox cbxMultipleFm2014;
}
}
File diff suppressed because it is too large Load Diff
+206
View File
@@ -0,0 +1,206 @@
<?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>
<metadata name="tmrProgressUpdate.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 30</value>
</metadata>
<metadata name="menuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>173, 30</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>76</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAICAAAAEAIACoEAAAFgAAACgAAAAgAAAAQAAAAAEAIAAAAAAAABAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABK1XI4StVyd0rVcnZK1XJ2StVydkrV
cnZK1XJ2StVydkrVcnZK1XJ2StVydkrVcnZK1XJ2StVydkrVcnZK1XJ2StVydkrVcnZK1XJ2StVydkrV
cnZK1XJ2StVydkrVcnZK1XJ2StVydkrVcnZK1XJ2StVyeErVcktK1XIBAAAAAErVcnpK1XL/StVy/0rV
cv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rV
cv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVyokrVcgMAAAAAStVyeUrV
cv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rV
cv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XKhStVyAwAA
AABK1XJ5StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rV
cv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rV
cqFK1XIDAAAAAErVcnpK1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rV
cv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rV
cv9K1XL/StVyokrVcgMAAAAAStVyY0rVctJK1XLQStVy0ErVctBK1XLQStVy0ErVctBK1XLQStVy0ErV
ctBK1XLQStVy0ErVctBK1XLQStVy0ErVctBK1XLQStVy0ErVctBK1XLQStVy0ErVctBK1XLQStVy0ErV
ctBK1XLQStVy0ErVctNK1XKEStVyAgAAAABK1XIKStVyFUrVchVK1XIVStVyFUrVchVK1XIVStVyFUrV
chVK1XIVStVyFUrVchVK1XIVStVyFUrVchVK1XIVStVyFUrVchVK1XIVStVyFUrVchVK1XIVStVyFUrV
chVK1XIVStVyFUrVchVK1XIVStVyFUrVcg0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABK1XI7StVyfkrV
cn1K1XJ9StVyfUrVcn1K1XJ9StVyfUrVcn1K1XJ9StVyfUrVcn1K1XJ9StVyfUrVcn1K1XJ9StVyfUrV
cn1K1XJ9StVyfUrVcn1K1XJ9StVyfUrVcn1K1XJ9StVyfUrVcn1K1XJ9StVyfkrVck9K1XIBAAAAAErV
cnpK1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rV
cv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVyokrV
cgMAAAAAStVyeUrVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rV
cv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rV
cv9K1XKhStVyAwAAAABK1XJ5StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rV
cv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rV
cv9K1XL/StVy/0rVcqFK1XIDAAAAAErVcnpK1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rV
cv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rV
cv9K1XL/StVy/0rVcv9K1XL/StVyokrVcgMAAAAAStVyRkrVcpRK1XKTStVyk0rVcpNK1XKTStVyk0rV
cpNK1XKTStVyk0rVcpNK1XKTStVyk0rVcpNK1XKTStVyk0rVcpNK1XKTStVyk0rVcpNK1XKTStVyk0rV
cpNK1XKTStVyk0rVcpNK1XKTStVyk0rVcpVK1XJdStVyAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAStVyCkrV
chVK1XIVStVyFUrVchVK1XIVStVyFUrVchVK1XIVStVyFUrVchVK1XIVStVyFUrVchVK1XIVStVyFUrV
chVK1XIVStVyFUrVchVK1XIVStVyFUrVchVK1XIVStVyFUrVchVK1XIVStVyFUrVchVK1XINAAAAAAAA
AABK1XJjStVy0krVctBK1XLQStVy0ErVctBK1XLQStVy0ErVctBK1XLQStVy0ErVctBK1XLQStVy0ErV
ctBK1XLQStVy0ErVctBK1XLQStVy0ErVctBK1XLQStVy0ErVctBK1XLQStVy0ErVctBK1XLQStVy00rV
coRK1XICAAAAAErVcnpK1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rV
cv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rV
cv9K1XL/StVyokrVcgMAAAAAStVyeUrVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rV
cv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rV
cv9K1XL/StVy/0rVcv9K1XKhStVyAwAAAABK1XJ5StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rV
cv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rV
cv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcqFK1XIDAAAAAErVcnpK1XL/StVy/0rVcv9K1XL/StVy/0rV
cv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVy/0rV
cv9K1XL/StVy/0rVcv9K1XL/StVy/0rVcv9K1XL/StVyokrVcgMAAAAAStVyRErVco9K1XKOStVyjkrV
co5K1XKOStVyjkrVco5K1XKOStVyjkrVco5K1XKOStVyjkrVco5K1XKOStVyjkrVco5K1XKOStVyjkrV
co5K1XKOStVyjkrVco5K1XKOStVyjkrVco5K1XKOStVyjkrVcpBK1XJaStVyAgAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAA/////////////////////4AAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAA
AAH//////////4AAAACAAAAAgAAAAIAAAACAAAAAgAAAAP//////////gAAAAYAAAACAAAAAgAAAAIAA
AACAAAAAgAAAAP////////////////////8=
</value>
</data>
</root>
+108
View File
@@ -0,0 +1,108 @@
namespace Sensus.FM2014TestApp.Ui
{
partial class FrmHistory
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.rtbHistory = new System.Windows.Forms.RichTextBox();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
this.tableLayoutPanel1.SuspendLayout();
this.SuspendLayout();
//
// rtbHistory
//
this.rtbHistory.Dock = System.Windows.Forms.DockStyle.Fill;
this.rtbHistory.Location = new System.Drawing.Point(3, 53);
this.rtbHistory.Name = "rtbHistory";
this.rtbHistory.Size = new System.Drawing.Size(478, 673);
this.rtbHistory.TabIndex = 31;
this.rtbHistory.Text = "";
this.rtbHistory.TextChanged += new System.EventHandler(this.rtbHistory_TextChanged);
//
// tableLayoutPanel1
//
this.tableLayoutPanel1.ColumnCount = 1;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
this.tableLayoutPanel1.Controls.Add(this.rtbHistory, 0, 1);
this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 0, 0);
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 2;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 50F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 111F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(484, 729);
this.tableLayoutPanel1.TabIndex = 38;
//
// tableLayoutPanel2
//
this.tableLayoutPanel2.ColumnCount = 2;
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel2.Location = new System.Drawing.Point(3, 3);
this.tableLayoutPanel2.Name = "tableLayoutPanel2";
this.tableLayoutPanel2.RowCount = 1;
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 44F));
this.tableLayoutPanel2.Size = new System.Drawing.Size(478, 44);
this.tableLayoutPanel2.TabIndex = 36;
//
// FrmHistory
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.ClientSize = new System.Drawing.Size(484, 729);
this.ControlBox = false;
this.Controls.Add(this.tableLayoutPanel1);
this.MaximizeBox = false;
this.MaximumSize = new System.Drawing.Size(500, 768);
this.MinimizeBox = false;
this.MinimumSize = new System.Drawing.Size(500, 768);
this.Name = "FrmHistory";
this.ShowIcon = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
this.Text = "Process History";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmHistory_FormClosing);
this.tableLayoutPanel1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
/// <summary>
/// History display
/// </summary>
public System.Windows.Forms.RichTextBox rtbHistory;
}
}
+37
View File
@@ -0,0 +1,37 @@
using System;
using System.Windows.Forms;
namespace Sensus.FM2014TestApp.Ui
{
/// <summary>
/// History display of update process
/// </summary>
[Serializable]
public partial class FrmHistory : Form
{
/// <summary>
/// Ctor
/// </summary>
public FrmHistory()
{
InitializeComponent();
}
private void FrmHistory_FormClosing(Object sender, FormClosingEventArgs e)
{
//avoid destroying of object
e.Cancel = true;
//instead just hide it
Hide();
}
/// <summary>
/// Select always the last line for the display.
/// </summary>
private void rtbHistory_TextChanged(Object sender, EventArgs e)
{
rtbHistory.SelectionStart = rtbHistory.Text.Length;
rtbHistory.ScrollToCaret();
}
}
}
+120
View File
@@ -0,0 +1,120 @@
<?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>
</root>
+66
View File
@@ -0,0 +1,66 @@
<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<targets>
<!--CalibrationHelper-->
<target name="CalibrationHelper" xsi:type="File" fileName="C:\GenesisLog\${shortdate}\${processname}\CalibrationHelper.log" CreateDirs="True" layout ="${longdate} | ${level} | ${message} ${exception:format=toString}" archiveAboveSize="50000000" archiveFileName="C:\GenesisLog\${shortdate}\${processname}\{##}_CalibrationHelper.log" />
<!--LedRawData-->
<target xsi:type="BufferingWrapper"
name="TargetLedRawDataBase"
bufferSize="10000"
flushTimeout="-1"
slidingTimeout="true"
>
<target name="LedRawDataBase" xsi:type="File" fileName="C:\GenesisLog\${shortdate}\${processname}\LedRawData_BASE.log" CreateDirs="True" layout ="${longdate} | ${level} | ${message} ${exception:format=toString}" archiveAboveSize="50000000" archiveFileName="C:\GenesisLog\${shortdate}\${processname}\{##}_LedRawData_BASE.log" />
</target>
<!--MeterBatch-->
<target name="MeterBatch" xsi:type="File" fileName="C:\GenesisLog\${shortdate}\${processname}\Meter_BASE.log" CreateDirs="True" layout ="${longdate} | ${level} | ${message} ${exception:format=toString}" archiveAboveSize="50000000" archiveFileName="C:\GenesisLog\${shortdate}\${processname}\{##}_Meter_BASE.log" />
<!--Meter-->
<target name="MeterBase" xsi:type="File" fileName="C:\GenesisLog\${shortdate}\${processname}\Meter_BASE.log" CreateDirs="True" layout ="${longdate} | ${level} | ${message} ${exception:format=toString}" archiveAboveSize="50000000" archiveFileName="C:\GenesisLog\${shortdate}\${processname}\{##}_Meter_BASE.log" />
<!--COM-->
<target name="COMBase" xsi:type="File" fileName="C:\GenesisLog\${shortdate}\${processname}\COM_BASE.log" CreateDirs="True" layout ="${longdate} | ${level} | ${message} ${exception:format=toString}" archiveAboveSize="50000000" archiveFileName="C:\GenesisLog\${shortdate}\${processname}\{##}_COM_BASE.log" />
<!--ServiceFwUpdateBuilder-->
<target name="ServiceFwUpdateBuilder" xsi:type="File" fileName="C:\GenesisLog\${shortdate}\${processname}\ServiceFwUpdateBuilder.log" CreateDirs="True" layout ="${longdate} | ${level} | ${message} ${exception:format=toString}" archiveAboveSize="50000000" archiveFileName="C:\GenesisLog\${shortdate}\${processname}\{##}_ServiceFwUpdateBuilder.log" />
<!--ServiceFwUpdateLoader-->
<target name="ServiceFwUpdateLoader" xsi:type="File" fileName="C:\GenesisLog\${shortdate}\${processname}\ServiceFwUpdateLoader.log" CreateDirs="True" layout ="${longdate} | ${level} | ${message} ${exception:format=toString}" archiveAboveSize="50000000" archiveFileName="C:\GenesisLog\${shortdate}\${processname}\{##}_ServiceFwUpdateLoader.log" />
<!--ServiceFwUpdateSw-->
<target name="ServiceFwUpdateSw" xsi:type="File" fileName="C:\GenesisLog\${shortdate}\${processname}\ServiceFwUpdateSw.log" CreateDirs="True" layout ="${longdate} | ${level} | ${message} ${exception:format=toString}" archiveAboveSize="50000000" archiveFileName="C:\GenesisLog\${shortdate}\${processname}\{##}_ServiceFwUpdateSw.log" />
<!--default-->
<target name="default" xsi:type="File" fileName="C:\GenesisLog\${shortdate}\${processname}\default.log" CreateDirs="True" layout ="${longdate} | ${level} | ${message} ${exception:format=toString}" archiveAboveSize="50000000" archiveFileName="C:\GenesisLog\${shortdate}\${processname}\{##}_default.log" />
</targets>
<rules>
<!--ServiceFwUpdateBuilder-->
<logger name="ServiceFwUpdateBuilder" minLevel="Trace" appendTo="ServiceFwUpdateBuilder"/>
<!--ServiceFwUpdateLoader-->
<logger name="ServiceFwUpdateLoader" minLevel="Trace" appendTo="ServiceFwUpdateLoader"/>
<!--ServiceFwUpdateSw-->
<logger name="ServiceFwUpdateSw" minLevel="Trace" appendTo="ServiceFwUpdateSw"/>
<!--CalibrationHelper-->
<logger name="CalibrationHelper" minLevel="Trace" appendTo="CalibrationHelper"/>
<!--LedRawData-->
<logger name="LedRawDataBase" minLevel="Trace" appendTo="TargetLedRawDataBase"/>
<!--MeterBatch-->
<logger name="MeterBatch" minLevel="Trace" appendTo="MeterBatch"/>
<!--Meter-->
<logger name="MeterBase" minLevel="Trace" appendTo="MeterBase"/>
<logger name="GenesisRequestProtocolBase" minLevel="Trace" appendTo="MeterBase"/>
<logger name="MeasurementBase" minLevel="Trace" appendTo="MeterBase"/>
<!--COM-->
<logger name="SerialComPortBase" minLevel="Trace" appendTo="COMBase"/>
<logger name="IrdaBase" minLevel="Trace" appendTo="COMBase"/>
<logger name="RfidBase" minLevel="Trace" appendTo="COMBase"/>
<logger name="TransmitProtocolBase" minLevel="Trace" appendTo="COMBase"/>
<!--default-->
<logger name="*" minLevel="Debug" appendTo="default"/>
</rules>
</nlog>
+20
View File
@@ -0,0 +1,20 @@
using System;
using System.Windows.Forms;
using Sensus.FM2014TestApp.Ui;
namespace Sensus.MiniPrf.Ui
{
internal static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new FrmFm2014TestApp());
}
}
}
@@ -0,0 +1,32 @@
using System.Reflection;
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("FM2014 Test Application")]
[assembly: AssemblyDescription("Driver test application for multiple FM2014s")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("SENSUS International")]
[assembly: AssemblyProduct("FM2014TestApp")]
[assembly: AssemblyCopyright("Copyright © SENSUS International 2026")]
[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("09cbcd8a-c729-4ab6-9c39-1510774509d6")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.0.0.*")]
//[assembly: AssemblyFileVersion("1.0.0.0")]
+407
View File
@@ -0,0 +1,407 @@
//------------------------------------------------------------------------------
// <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 Sensus.FM2014TestApp.Ui.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", "17.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal 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)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Sensus.FM2014TestApp.Ui.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)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap FM2014_58x172 {
get {
object obj = ResourceManager.GetObject("FM2014 58x172", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Sensus_A {
get {
object obj = ResourceManager.GetObject("Sensus_A", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized string similar to Connect.
/// </summary>
internal static string StrBtnConnect {
get {
return ResourceManager.GetString("StrBtnConnect", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Save.
/// </summary>
internal static string StrBtnSaveRegulationSetup {
get {
return ResourceManager.GetString("StrBtnSaveRegulationSetup", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Start Calibration.
/// </summary>
internal static string StrBtnStartCalibration {
get {
return ResourceManager.GetString("StrBtnStartCalibration", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Start Regulation.
/// </summary>
internal static string StrBtnStartRegulation {
get {
return ResourceManager.GetString("StrBtnStartRegulation", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Stop Calibration.
/// </summary>
internal static string StrBtnStopCalibration {
get {
return ResourceManager.GetString("StrBtnStopCalibration", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Stop Regulation.
/// </summary>
internal static string StrBtnStopRegulation {
get {
return ResourceManager.GetString("StrBtnStopRegulation", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Damped Tolerance On.
/// </summary>
internal static string StrChkUseDampedTolerance {
get {
return ResourceManager.GetString("StrChkUseDampedTolerance", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to ERROR.
/// </summary>
internal static string StrError {
get {
return ResourceManager.GetString("StrError", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to SERIAL COM PORT CANNOT BE ASSIGNED!.
/// </summary>
internal static string StrErrorMsgComPortNotAssigned {
get {
return ResourceManager.GetString("StrErrorMsgComPortNotAssigned", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to ERROR: Missing feedback from FM2014! Connection error!.
/// </summary>
internal static string StrErrorMsgFM2014AccessDenied {
get {
return ResourceManager.GetString("StrErrorMsgFM2014AccessDenied", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to ERROR: FM2014 Address is invalid!.
/// </summary>
internal static string StrErrorMsgFM2014AddressInvalid {
get {
return ResourceManager.GetString("StrErrorMsgFM2014AddressInvalid", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to ERROR: FM2014 Tolerance is invalid!.
/// </summary>
internal static string StrErrorMsgFM2014ToleranceInvalid {
get {
return ResourceManager.GetString("StrErrorMsgFM2014ToleranceInvalid", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to DUT to REF Regulation.
/// </summary>
internal static string StrGbxDutToRefRegulation {
get {
return ResourceManager.GetString("StrGbxDutToRefRegulation", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Manual Calibration REF to Weight-Scale.
/// </summary>
internal static string StrGbxManualRefCalibration {
get {
return ResourceManager.GetString("StrGbxManualRefCalibration", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Regulation Setup.
/// </summary>
internal static string StrGbxRegulationSetup {
get {
return ResourceManager.GetString("StrGbxRegulationSetup", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Flow Rate [m³/h]:.
/// </summary>
internal static string StrLblActualMeasuredFlowRate {
get {
return ResourceManager.GetString("StrLblActualMeasuredFlowRate", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Actual Tolerance [%]:.
/// </summary>
internal static string StrLblActualMeasuredToleranceDutToRef {
get {
return ResourceManager.GetString("StrLblActualMeasuredToleranceDutToRef", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Attenuation []:.
/// </summary>
internal static string StrLblAttenuation {
get {
return ResourceManager.GetString("StrLblAttenuation", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to DUT [pulses/m³]:.
/// </summary>
internal static string StrLblDutPulsesPerCm {
get {
return ResourceManager.GetString("StrLblDutPulsesPerCm", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Address:.
/// </summary>
internal static string StrLblFM2014Address {
get {
return ResourceManager.GetString("StrLblFM2014Address", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Connected:.
/// </summary>
internal static string StrLblFM2014Connected {
get {
return ResourceManager.GetString("StrLblFM2014Connected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to NOT CONNECTED.
/// </summary>
internal static string StrLblFM2014NotConnected {
get {
return ResourceManager.GetString("StrLblFM2014NotConnected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Serial Number:.
/// </summary>
internal static string StrLblFM2014SerialNumber {
get {
return ResourceManager.GetString("StrLblFM2014SerialNumber", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Serial Port:.
/// </summary>
internal static string StrLblFM2014SerialPort {
get {
return ResourceManager.GetString("StrLblFM2014SerialPort", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Tolerance Display [%]:.
/// </summary>
internal static string StrLblFM2014Tolerance {
get {
return ResourceManager.GetString("StrLblFM2014Tolerance", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Measured DUT [pulses]:.
/// </summary>
internal static string StrLblMeasuredDutPulses {
get {
return ResourceManager.GetString("StrLblMeasuredDutPulses", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Measured REF [pulses]:.
/// </summary>
internal static string StrLblMeasuredRefPulses {
get {
return ResourceManager.GetString("StrLblMeasuredRefPulses", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Volume [liters]:.
/// </summary>
internal static string StrLblMeasuredWeightScaleVolume {
get {
return ResourceManager.GetString("StrLblMeasuredWeightScaleVolume", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Process status.
/// </summary>
internal static string StrLblProcessStatus {
get {
return ResourceManager.GetString("StrLblProcessStatus", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to REF Frequency [Hz].
/// </summary>
internal static string StrLblRefFrequencyHz {
get {
return ResourceManager.GetString("StrLblRefFrequencyHz", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to REF [pulses/m³]:.
/// </summary>
internal static string StrLblRefPulsesPerCm {
get {
return ResourceManager.GetString("StrLblRefPulsesPerCm", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Scale REF/DUT [norm]:.
/// </summary>
internal static string StrLblScaleRefToDut {
get {
return ResourceManager.GetString("StrLblScaleRefToDut", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Time [min:s]:.
/// </summary>
internal static string StrLblTime {
get {
return ResourceManager.GetString("StrLblTime", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to WAITING FOR FM2014 RESPONSE.
/// </summary>
internal static string StrLblWaitingForMeterResponse {
get {
return ResourceManager.GetString("StrLblWaitingForMeterResponse", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Connecting to FM2014.
/// </summary>
internal static string StrMsgConnecting {
get {
return ResourceManager.GetString("StrMsgConnecting", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to PC Date and Time [min:s]:.
/// </summary>
internal static string StrMsgPcDateTime {
get {
return ResourceManager.GetString("StrMsgPcDateTime", resourceCulture);
}
}
}
}
@@ -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="StrError" xml:space="preserve">
<value>FEHLER</value>
</data>
<data name="StrMsgConnecting" xml:space="preserve">
<value>Verbinde mit FM2014</value>
</data>
<data name="StrErrorMsgComPortNotAssigned" xml:space="preserve">
<value>SERIELLER ANSCHLUSS KANN NICHT BELEGT WERDEN!</value>
</data>
<data name="StrErrorMsgFM2014AddressInvalid" xml:space="preserve">
<value>FEHLER: Ungültige FM2014 Adresse!</value>
</data>
<data name="StrErrorMsgFM2014ToleranceInvalid" xml:space="preserve">
<value>FEHLER: Ungültige FM2014 Toleranzeinstellung!</value>
</data>
<data name="StrErrorMsgFM2014AccessDenied" xml:space="preserve">
<value>FEHLER: Keine Rückmeldung vom FM2014 erhalten! Verbindungsfehler!</value>
</data>
<data name="StrLblFM2014SerialNumber" xml:space="preserve">
<value>Seriennummer:</value>
</data>
<data name="StrLblFM2014SerialPort" xml:space="preserve">
<value>Serieller Anschluß:</value>
</data>
<data name="StrLblFM2014Address" xml:space="preserve">
<value>Adresse:</value>
</data>
<data name="StrLblFM2014Tolerance" xml:space="preserve">
<value>Toleranzanzeige [%]:</value>
</data>
<data name="StrBtnConnect" xml:space="preserve">
<value>Verbinde</value>
</data>
<data name="StrBtnStartCalibration" xml:space="preserve">
<value>Starte Kalibrierung</value>
</data>
<data name="StrBtnStopCalibration" xml:space="preserve">
<value>Stoppe Kalibrierung</value>
</data>
<data name="StrBtnStartRegulation" xml:space="preserve">
<value>Starte Regulierung</value>
</data>
<data name="StrBtnStopRegulation" xml:space="preserve">
<value>Stoppe Regulierung</value>
</data>
<data name="StrLblFM2014NotConnected" xml:space="preserve">
<value>NICHT VERBUNDEN</value>
</data>
<data name="StrLblFM2014Connected" xml:space="preserve">
<value>Verbunden:</value>
</data>
<data name="StrLblRefPulsesPerCm" xml:space="preserve">
<value>REF [Pulse/m³]:</value>
</data>
<data name="StrGbxRegulationSetup" xml:space="preserve">
<value>Regulierungseinstellungen</value>
</data>
<data name="StrLblDutPulsesPerCm" xml:space="preserve">
<value>DUT [Pulse/m³]:</value>
</data>
<data name="StrLblScaleRefToDut" xml:space="preserve">
<value>REF/DUT Relation [norm]:</value>
</data>
<data name="StrLblAttenuation" xml:space="preserve">
<value>Dämpfung []:</value>
</data>
<data name="StrBtnSaveRegulationSetup" xml:space="preserve">
<value>Speichern</value>
</data>
<data name="StrGbxManualRefCalibration" xml:space="preserve">
<value>Handkalibrierung REF zu Waage</value>
</data>
<data name="StrLblMeasuredRefPulses" xml:space="preserve">
<value>Gemessene REF [Pulse]:</value>
</data>
<data name="StrLblMeasuredWeightScaleVolume" xml:space="preserve">
<value>Volumen [Liter]:</value>
</data>
<data name="StrGbxDutToRefRegulation" xml:space="preserve">
<value>DUT zu REF Regulierung</value>
</data>
<data name="StrLblActualMeasuredFlowRate" xml:space="preserve">
<value>Durchfluß [m³/h]:</value>
</data>
<data name="StrLblActualMeasuredToleranceDutToRef" xml:space="preserve">
<value>Aktuelle Abweichung [%]:</value>
</data>
<data name="StrChkUseDampedTolerance" xml:space="preserve">
<value>Toleranzdämpfung Ein</value>
</data>
<data name="StrLblWaitingForMeterResponse" xml:space="preserve">
<value>WARTE AUF FM2014 ANTWORT</value>
</data>
<data name="StrLblProcessStatus" xml:space="preserve">
<value>Prozeßfortschritt</value>
</data>
<data name="StrLblTime" xml:space="preserve">
<value>Zeit [min:s]:</value>
</data>
<data name="StrMsgPcDateTime" xml:space="preserve">
<value>PC Datum und Zeit [min:s]:</value>
</data>
<data name="StrLblRefFrequencyHz" xml:space="preserve">
<value>REF Frequenz [Hz]</value>
</data>
<data name="StrLblMeasuredDutPulses" xml:space="preserve">
<value>Gemessene DUT [Pulse]:</value>
</data>
</root>
+235
View File
@@ -0,0 +1,235 @@
<?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="StrError" xml:space="preserve">
<value>ERROR</value>
</data>
<data name="StrMsgConnecting" xml:space="preserve">
<value>Connecting to FM2014</value>
</data>
<data name="StrErrorMsgComPortNotAssigned" xml:space="preserve">
<value>SERIAL COM PORT CANNOT BE ASSIGNED!</value>
</data>
<data name="StrErrorMsgFM2014AddressInvalid" xml:space="preserve">
<value>ERROR: FM2014 Address is invalid!</value>
</data>
<data name="StrErrorMsgFM2014ToleranceInvalid" xml:space="preserve">
<value>ERROR: FM2014 Tolerance is invalid!</value>
</data>
<data name="StrErrorMsgFM2014AccessDenied" xml:space="preserve">
<value>ERROR: Missing feedback from FM2014! Connection error!</value>
</data>
<data name="StrLblFM2014SerialNumber" xml:space="preserve">
<value>Serial Number:</value>
</data>
<data name="StrLblFM2014SerialPort" xml:space="preserve">
<value>Serial Port:</value>
</data>
<data name="StrLblFM2014Address" xml:space="preserve">
<value>Address:</value>
</data>
<data name="StrLblFM2014Tolerance" xml:space="preserve">
<value>Tolerance Display [%]:</value>
</data>
<data name="StrBtnConnect" xml:space="preserve">
<value>Connect</value>
</data>
<data name="StrBtnStartCalibration" xml:space="preserve">
<value>Start Calibration</value>
</data>
<data name="StrBtnStopCalibration" xml:space="preserve">
<value>Stop Calibration</value>
</data>
<data name="StrBtnStartRegulation" xml:space="preserve">
<value>Start Regulation</value>
</data>
<data name="StrBtnStopRegulation" xml:space="preserve">
<value>Stop Regulation</value>
</data>
<data name="StrLblFM2014NotConnected" xml:space="preserve">
<value>NOT CONNECTED</value>
</data>
<data name="StrLblFM2014Connected" xml:space="preserve">
<value>Connected:</value>
</data>
<data name="StrLblRefPulsesPerCm" xml:space="preserve">
<value>REF [pulses/m³]:</value>
</data>
<data name="StrGbxRegulationSetup" xml:space="preserve">
<value>Regulation Setup</value>
</data>
<data name="StrLblDutPulsesPerCm" xml:space="preserve">
<value>DUT [pulses/m³]:</value>
</data>
<data name="StrLblScaleRefToDut" xml:space="preserve">
<value>Scale REF/DUT [norm]:</value>
</data>
<data name="StrLblAttenuation" xml:space="preserve">
<value>Attenuation []:</value>
</data>
<data name="StrBtnSaveRegulationSetup" xml:space="preserve">
<value>Save</value>
</data>
<data name="StrGbxManualRefCalibration" xml:space="preserve">
<value>Manual Calibration REF to Weight-Scale</value>
</data>
<data name="StrLblMeasuredRefPulses" xml:space="preserve">
<value>Measured REF [pulses]:</value>
</data>
<data name="StrLblMeasuredWeightScaleVolume" xml:space="preserve">
<value>Volume [liters]:</value>
</data>
<data name="StrGbxDutToRefRegulation" xml:space="preserve">
<value>DUT to REF Regulation</value>
</data>
<data name="StrLblActualMeasuredFlowRate" xml:space="preserve">
<value>Flow Rate [m³/h]:</value>
</data>
<data name="StrLblActualMeasuredToleranceDutToRef" xml:space="preserve">
<value>Actual Tolerance [%]:</value>
</data>
<data name="StrChkUseDampedTolerance" xml:space="preserve">
<value>Damped Tolerance On</value>
</data>
<data name="StrLblWaitingForMeterResponse" xml:space="preserve">
<value>WAITING FOR FM2014 RESPONSE</value>
</data>
<data name="StrLblProcessStatus" xml:space="preserve">
<value>Process status</value>
</data>
<data name="StrLblTime" xml:space="preserve">
<value>Time [min:s]:</value>
</data>
<data name="StrMsgPcDateTime" xml:space="preserve">
<value>PC Date and Time [min:s]:</value>
</data>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="Sensus_A" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Sensus_A.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="FM2014 58x172" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\FM2014 58x172.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="StrLblRefFrequencyHz" xml:space="preserve">
<value>REF Frequency [Hz]</value>
</data>
<data name="StrLblMeasuredDutPulses" xml:space="preserve">
<value>Measured DUT [pulses]:</value>
</data>
</root>
+26
View File
@@ -0,0 +1,26 @@
//------------------------------------------------------------------------------
// <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 Sensus.FM2014TestApp.Ui.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.14.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;
}
}
}
}
@@ -0,0 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>
Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB