diff --git a/.gitignore b/.gitignore
index 7b3343068..8104bbca0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -94,3 +94,9 @@ TBF.sln.DotSettings.user
/ExternalProjects
/GenesisCordonelTester
/packages
+/GenesisCordonelInterface/bin/Debug/GenesisCordonelInterfaceLogger.log
+/GenesisCordonelInterface/bin/Debug/GenesisCordonelTesterLogger.log
+/GenesisCordonelInterface/bin/Debug/SirtConfig.json
+/GenesisCordonelInterface/bin/Release
+/GenesisCordonelInterface/obj/Debug
+/GenesisCordonelInterface/obj/Release
diff --git a/GenesisCordonelInterface/API/InterfaceGCIToLaatzen.cs b/GenesisCordonelInterface/API/InterfaceGCIToLaatzen.cs
new file mode 100644
index 000000000..36b702bac
--- /dev/null
+++ b/GenesisCordonelInterface/API/InterfaceGCIToLaatzen.cs
@@ -0,0 +1,1055 @@
+using Logic.ProductionToProductMapper.Cordonel;
+using Newtonsoft.Json;
+using NLog;
+using System;
+using System.Collections.Concurrent;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Globalization;
+using System.IO;
+using System.Linq;
+using System.Net;
+using System.Reflection;
+using System.Security.Policy;
+using System.Text;
+using System.Threading;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+using Xylem.Common.CommonCore.Configuration;
+using Xylem.Common.CommonCore.Consts;
+using Xylem.Common.Hardware.Interfaces.Ports.PortCore;
+using Xylem.Common.Hardware.WaterMeter.Genesis.Applications.Const;
+using Xylem.Common.Hardware.WaterMeter.Genesis.GenesisCore;
+using Xylem.Common.Hardware.WaterMeter.Genesis.GenesisCore.Consts;
+using Xylem.Common.Hardware.WaterMeter.Genesis.Registers;
+using Xylem.Common.Hardware.WaterMeter.Genesis.Registers.DataTypes;
+using Xylem.Common.Hardware.WaterMeter.WaterMeterCore;
+using Xylem.Common.Logic.ProductionOrderCore.TestResults;
+using Xylem.Common.Logic.SoftwareAccessHelper;
+using Xylem.Common.Utils.Logging;
+using static Xylem.Common.Hardware.WaterMeter.Genesis.GenesisCore.GenesisMeter;
+using Access = Xylem.Common.Hardware.WaterMeter.Genesis.Registers.Access;
+using Register = Xylem.Common.Hardware.WaterMeter.Genesis.Registers.Register;
+
+namespace GenesisCordonelInterface.API
+{
+ ///
+ /// Provides a public API for Genesis meter operations.
+ ///
+ /// This class exposes reusable functionality extracted from the original UI code
+ /// so it can be used from other projects within the solution.
+ ///
+ /// The API is intended to gradually consolidate meter-related operations such as:
+ /// - port detection
+ /// - PCB ID reading
+ /// - communication setup
+ /// - requests and commands
+ /// - additional service actions
+ ///
+ ///
+ /// This class should contain business logic only and should not depend on UI elements
+ /// such as forms, controls, MessageBox, or DataGridView.
+ ///
+ /// UI-specific code should remain outside this class and call this API instead.
+ ///
+ ///
+ ///
+ /// var api = new Api2();
+ ///
+ /// var request = api.DetectRequestPort(3);
+ /// if (request.Success)
+ /// {
+ /// Console.WriteLine($"PCB ID: {request.PcbId}");
+ /// }
+ ///
+ /// var streaming = api.DetectStreamingPort(3);
+ /// if (streaming.Success)
+ /// {
+ /// Console.WriteLine($"Streaming port: {streaming.PortName}");
+ /// }
+ ///
+ ///
+ public class InterfaceGCIToLaatzen
+ {
+ #region Declaration region
+ private static readonly Lazy Logger = new Lazy(() => NLogHelper.CreateOrGetLogger("GenesisCordonelInterface"));
+
+ public class regStore
+ {
+ public String PcbId;
+ public DateTimeOffset created;
+ public List keyValues;
+ }
+
+ public class regDefValue
+ {
+ public RegisterDefinition def;
+ public String value;
+ }
+
+ private GenesisMeter _currentGenesis;
+ private MeterBatch _meterBatch = new MeterBatch();
+ private regStore _regsToStore;
+ private String _currentPcbId = "";
+
+ private Boolean IsBusy
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Gets a value indicating whether the meter is connected and logged on.
+ ///
+ public bool IsConnected
+ {
+ get
+ {
+ return _currentGenesis != null && _currentGenesis.IsLoggedOn;
+ }
+ }
+ #endregion
+
+ #region API - Port Detection region(extracted from FrmSetup:DgvConfig_CellContentClick)
+
+ public class PortDetectionResult
+ {
+ ///
+ /// Indicates whether the detection was successful.
+ ///
+ public bool Success { get; set; }
+
+ ///
+ /// Slot number used for the detection.
+ ///
+ public int Slot { get; set; }
+
+ ///
+ /// Name of the detected communication port.
+ ///
+ public string PortName { get; set; }
+
+ ///
+ /// PCB ID read from the device (available for request detection).
+ ///
+ public string PcbId { get; set; }
+
+ ///
+ /// Error message describing why detection failed (if not successful).
+ ///
+ public string ErrorMessage { get; set; }
+ }
+
+ ///
+ /// Slot number.
+ ///
+ /// Result containing success status and detected port name.
+ ///
+ ///
+ ///
+ /// var api = new Api2();
+ /// var result = api.DetectStreamingPort(3);
+ ///
+ /// if (result.Success)
+ /// {
+ /// Console.WriteLine($"Port: {result.PortName}");
+ /// }
+ /// else
+ /// {
+ /// Console.WriteLine("Streaming detection failed");
+ /// }
+ ///
+ ///
+ public PortDetectionResult DetectStreamingPort(int slot)
+ {
+ if (slot <= 0)
+ throw new ArgumentOutOfRangeException(nameof(slot));
+
+ using (var mb = new MeterBatch())
+ using (var meter = new GenesisMeter())
+ {
+ //meter.SetupFromConfigFile(slot, false);
+ mb.AddMeter(meter);
+
+ var rawData = new ConcurrentBag();
+
+ meter.StreamingPort.OnRawRecordReceived += (o, rawMsg) =>
+ {
+ var data = (string)rawMsg.GetData();
+ rawData.Add(data);
+ };
+
+ Thread.Sleep(500);
+
+ var success = rawData.Any();
+ var portName = meter.StreamingPort.GetPortName();
+
+ return new PortDetectionResult
+ {
+ Success = success,
+ Slot = slot,
+ PortName = portName,
+ ErrorMessage = success ? null : "No streaming data received."
+ };
+ }
+ }
+
+ ///
+ /// Detects the request port by attempting to read the PCB ID.
+ ///
+ /// Slot number.
+ ///
+ /// Result containing success status, port name, and PCB ID if successful.
+ ///
+ ///
+ ///
+ /// var api = new Api2();
+ /// var result = api.DetectRequestPort(3);
+ ///
+ /// if (result.Success)
+ /// {
+ /// Console.WriteLine($"PCB ID: {result.PcbId}");
+ /// }
+ /// else
+ /// {
+ /// Console.WriteLine("Detection failed");
+ /// }
+ ///
+ ///
+ public PortDetectionResult DetectRequestPort(int slot)
+ {
+ if (slot <= 0)
+ throw new ArgumentOutOfRangeException(nameof(slot));
+
+ using (var mb = new MeterBatch())
+ using (var meter = new GenesisMeter())
+ {
+ //meter.SetupFromConfigFile(slot, false);
+ mb.AddMeter(meter);
+
+ meter.Logout();
+
+ var pcbId = meter.GetPcbId();
+ var success = !string.IsNullOrEmpty(pcbId);
+ var portName = meter.RequestPort.GetPortName();
+
+ return new PortDetectionResult
+ {
+ Success = success,
+ Slot = slot,
+ PortName = portName,
+ PcbId = pcbId,
+ ErrorMessage = success ? null : "PCB ID was empty."
+ };
+ }
+ }
+ #endregion
+
+ #region API - PCB ID region
+
+ ///
+ /// Reads PCB ID for the specified slot.
+ ///
+ /// Slot number.
+ /// PCB ID read from the meter.
+ ///
+ ///
+ /// var api = new Api2();
+ /// string pcbId = api.GetPcbId(3);
+ /// Console.WriteLine(pcbId);
+ ///
+ ///
+ public string GetPcbId(int slot)
+ {
+ if (slot <= 0)
+ throw new ArgumentOutOfRangeException(nameof(slot), "Slot number must be greater than zero.");
+
+ using (var mb = new MeterBatch())
+ using (var meter = new GenesisMeter())
+ {
+ meter.SetupFromConfigFile(slot, false);
+ mb.AddMeter(meter);
+
+ meter.Logout();
+
+ return meter.GetPcbId();
+ }
+ }
+
+ #endregion
+
+ #region Password and Login
+ ///
+ /// Sets meter password.
+ ///
+ public bool SetMeterPassword(string password)
+ {
+ EnsureConnected();
+
+ if (string.IsNullOrWhiteSpace(password))
+ throw new ArgumentException("Password cannot be null or empty.", nameof(password));
+
+ try
+ {
+ // Replace this with the real Genesis API call if available.
+ // Example:
+ // return _currentGenesis.SetMeterPassword(password);
+
+ var result = WriteRegister("SECURITY_Password", password, true, true);
+ return result.Success;
+ }
+ catch (Exception ex)
+ {
+ Logger.Value.Error(ex, "SetMeterPassword failed.");
+ return false;
+ }
+ }
+
+ ///
+ /// Performs login using provided password.
+ ///
+ public bool Login(string password)
+ {
+ if (_currentGenesis == null)
+ throw new InvalidOperationException("Genesis meter is not initialized. Call Connect first.");
+
+ if (string.IsNullOrWhiteSpace(password))
+ throw new ArgumentException("Password cannot be null or empty.", nameof(password));
+
+ try
+ {
+ // IMPORTANT:
+ // Replace with actual Genesis API method if available
+
+ // Variant A – direct login method (preferred)
+ // return _currentGenesis.Login(password);
+
+ // Variant B – if password must be set first
+ // _currentGenesis.Password = password;
+ // return _currentGenesis.Login();
+
+ // TEMP fallback (if no direct method known)
+ bool result = _currentGenesis.Login();
+
+ if (!result)
+ Logger.Value.Warn("Login failed.");
+
+ return result;
+ }
+ catch (Exception ex)
+ {
+ Logger.Value.Error(ex, "Login failed.");
+ return false;
+ }
+ }
+ #endregion
+
+ #region API - Connect
+
+ public class InitResult
+ {
+ public bool Success { get; set; }
+ public int Slot { get; set; }
+ public string ErrorMessage { get; set; }
+ public string InterfaceVersion { get; set; }
+ public bool InterfaceSupportsFwVersion { get; set; }
+ }
+
+ ///
+ /// Represents the result of a connect operation.
+ ///
+ public class ConnectResult
+ {
+ ///
+ /// Indicates whether the connect operation was successful.
+ ///
+ public bool Success { get; set; }
+
+ ///
+ /// Slot number used for connect.
+ ///
+ public int Slot { get; set; }
+
+ ///
+ /// Connected PCB ID.
+ ///
+ public string PcbId { get; set; }
+
+ ///
+ /// Indicates whether the meter is logged on.
+ ///
+ public bool IsLoggedOn { get; set; }
+
+ ///
+ /// Firmware version reported by the meter.
+ ///
+ public string FwVersion { get; set; }
+
+ ///
+ /// Interface version from configuration.
+ ///
+ public string InterfaceVersion { get; set; }
+
+ ///
+ /// Indicates whether the loaded configuration supports the detected firmware version.
+ ///
+ public bool InterfaceSupportsFwVersion { get; set; }
+
+ ///
+ /// Registers available after successful connect.
+ ///
+ public List Registers { get; set; } = new List();
+
+ ///
+ /// Error message if connect failed.
+ ///
+ public string ErrorMessage { get; set; }
+ }
+
+ ///
+ /// Represents one register returned after connect.
+ ///
+ public class RegisterSnapshot
+ {
+ public string Name { get; set; }
+ public string Type { get; set; }
+ public string RawValue { get; set; }
+ public string Min { get; set; }
+ public string Max { get; set; }
+ public string Description { get; set; }
+ public string Version { get; set; }
+ public string IsAvailable { get; set; }
+ public string Privilege { get; set; }
+ }
+
+
+
+ public InitResult InitOneMeterFromExtern(Int32 slotNo, ConfigSource useConfigSource, PasswordSource usePasswordSource, PortConfig? requestPort, PortConfig? streamingPort)
+ {
+ try
+ {
+ if (slotNo <= 0)
+ throw new ArgumentOutOfRangeException(nameof(slotNo), "Slot number must be greater than zero.");
+
+ //_meterBatch.RemoveMeter(slotNo);
+ _currentGenesis?.DisposeMeter();
+
+ _currentGenesis = new GenesisMeter();
+ _currentGenesis.UseOfflinePasswords = usePasswordSource == PasswordSource.OfflineFile;
+ _currentGenesis.usePasswordSource = usePasswordSource;
+ _currentGenesis.useConfigSource = useConfigSource;
+
+ _currentGenesis.SetupFromExternConfig(
+ slotNo,
+ requestPort,
+ streamingPort,
+ true);
+
+ _meterBatch.AddMeter(_currentGenesis);
+
+ return new InitResult
+ {
+ Success = true,
+ Slot = slotNo,
+ InterfaceVersion = _currentGenesis.InterfaceInfo?.InterfaceVersion,
+ InterfaceSupportsFwVersion = _currentGenesis.InterfaceSupportsFwVersion
+ };
+ }
+ catch (Exception ex)
+ {
+ //_meterBatch.RemoveAllMeters();
+ _currentGenesis?.DisposeMeter();
+ _currentGenesis = null;
+
+ return new InitResult
+ {
+ Success = false,
+ Slot = slotNo,
+ ErrorMessage = ex.Message
+ };
+ }
+ }
+
+ ///
+ /// Connects to a Genesis meter for the specified slot.
+ ///
+ /// Slot number.
+ /// Specifies whether offline passwords should be used.
+ ///
+ /// Connect operation result including PCB ID, firmware/configuration info, and register snapshots.
+ ///
+ ///
+ ///
+ /// var api = new GenesisAPI();
+ /// var result = api.Connect(3, true);
+ ///
+ /// if (result.Success)
+ /// {
+ /// Console.WriteLine(result.PcbId);
+ /// Console.WriteLine(result.InterfaceVersion);
+ /// }
+ /// else
+ /// {
+ /// Console.WriteLine(result.ErrorMessage);
+ /// }
+ ///
+ ///
+ public ConnectResult ConnectOneMeter(int slotNo)
+ {
+ try
+ {
+ // Validate input
+ if (slotNo <= 0)
+ throw new ArgumentOutOfRangeException(nameof(slotNo), "Slot number must be greater than zero.");
+
+ // Find meter in batch by slot
+ var meter = _meterBatch.ListOfMeters
+ .OfType()
+ .FirstOrDefault(m => m.Slot == slotNo);
+
+ // Meter not initialized
+ if (meter == null)
+ {
+ return new ConnectResult
+ {
+ Success = false,
+ Slot = slotNo,
+ ErrorMessage = $"Meter for slot {slotNo} not found in batch."
+ };
+ }
+
+ // Set current working meter
+ _currentGenesis = meter;
+
+ // Perform login for meters in batch
+ _meterBatch.MetersLogin();
+
+ // Validate connection result
+ if (!_currentGenesis.IsLoggedOn && string.IsNullOrEmpty(_currentGenesis.PcbId))
+ {
+ return new ConnectResult
+ {
+ Success = false,
+ Slot = slotNo,
+ IsLoggedOn = false,
+ PcbId = _currentGenesis.PcbId,
+ ErrorMessage = "Cannot read out PcbId. Access to Cordonel denied."
+ };
+ }
+
+ // Build successful result
+ var result = new ConnectResult
+ {
+ Success = _currentGenesis.IsLoggedOn,
+ Slot = slotNo,
+ PcbId = _currentGenesis.PcbId,
+ IsLoggedOn = _currentGenesis.IsLoggedOn,
+ FwVersion = _currentGenesis.FwVersion,
+ InterfaceVersion = _currentGenesis.InterfaceInfo?.InterfaceVersion,
+ InterfaceSupportsFwVersion = _currentGenesis.InterfaceSupportsFwVersion
+ };
+
+ return result;
+ }
+ catch (Exception ex)
+ {
+ // Return failure result on exception
+ return new ConnectResult
+ {
+ Success = false,
+ Slot = slotNo,
+ ErrorMessage = ex.Message
+ };
+ }
+ }
+
+ ///
+ /// Connects to a Genesis meter for the specified slot.
+ ///
+ /// Slot number.
+ /// Specifies whether offline passwords should be used.
+ ///
+ /// Connect operation result including PCB ID, firmware/configuration info, and register snapshots.
+ ///
+ ///
+ ///
+ /// var api = new GenesisAPI();
+ /// var result = api.Connect(3, true);
+ ///
+ /// if (result.Success)
+ /// {
+ /// Console.WriteLine(result.PcbId);
+ /// Console.WriteLine(result.InterfaceVersion);
+ /// }
+ /// else
+ /// {
+ /// Console.WriteLine(result.ErrorMessage);
+ /// }
+ ///
+ ///
+ public ConnectResult ConnectAllMeters(int slotNo)
+ {
+ /*try
+ {
+ if (slotNo <= 0)
+ throw new ArgumentOutOfRangeException(nameof(slotNo), "Slot number must be greater than zero.");
+
+ _currentGenesis?.DisposeMeter();
+ _meterBatch.RemoveAllMeters();
+ _currentGenesis = null;
+
+ _currentGenesis = new GenesisMeter();
+ _currentGenesis.UseOfflinePasswords = usePasswordSource == PasswordSource.OfflineFile;
+ _currentGenesis.usePasswordSource = usePasswordSource;
+ _currentGenesis.useConfigSource = useConfigSource;
+ _currentGenesis.SetupFromConfigFile(slotNo);//...MF
+ _currentGenesis.SetupFromExternConfig(slotNo);
+ _meterBatch.AddMeter(_currentGenesis);
+
+ _meterBatch.MetersLogin();
+
+ if (!_currentGenesis.IsLoggedOn && string.IsNullOrEmpty(_currentGenesis.PcbId))
+ {
+ return new ConnectResult
+ {
+ Success = false,
+ Slot = slotNo,
+ IsLoggedOn = false,
+ PcbId = _currentGenesis.PcbId,
+ ErrorMessage = "Cannot read out PcbId. Access to Cordonel denied."
+ };
+ }
+
+ var result = new ConnectResult
+ {
+ Success = _currentGenesis.IsLoggedOn,
+ Slot = slotNo,
+ PcbId = _currentGenesis.PcbId,
+ IsLoggedOn = _currentGenesis.IsLoggedOn,
+ FwVersion = _currentGenesis.FwVersion,
+ InterfaceVersion = _currentGenesis.InterfaceInfo?.InterfaceVersion,
+ InterfaceSupportsFwVersion = _currentGenesis.InterfaceSupportsFwVersion
+ };
+
+ foreach (var item in _currentGenesis.GetRegistersDic())
+ {
+ var from = item.Key.RegisterDetail.Version.First.HasValue
+ ? item.Key.RegisterDetail.Version.First.Value.ToString()
+ : "-";
+
+ var to = item.Key.RegisterDetail.Version.Last.HasValue
+ ? item.Key.RegisterDetail.Version.Last.Value.ToString()
+ : "-";
+
+ result.Registers.Add(new RegisterSnapshot
+ {
+ Name = item.Key.GetIdent(),
+ Type = item.Key.DataType.Name,
+ RawValue = BitConverter.ToString(item.Value).Replace("-", " "),
+ Min = item.Key.Minimum?.ToString(),
+ Max = item.Key.Maximum?.ToString(),
+ Description = item.Key.RegisterDetail.Description,
+ Version = $"from {from} to {to}",
+ IsAvailable = item.Key.IsAvailable.ToString(),
+ Privilege = item.Key.RegisterDetail.Privilege.Lvl8.ToString()
+ });
+ }
+
+ return result;
+ }
+ catch (Exception ex)
+ {
+ _meterBatch.RemoveAllMeters();
+ _currentGenesis?.DisposeMeter();
+
+ return new ConnectResult
+ {
+ Success = false,
+ Slot = slotNo,
+ ErrorMessage = ex.Message
+ };
+ }*/
+ return null;
+ }
+
+ #endregion
+
+ #region Meter Registers
+ ///
+ /// Result of a register read operation.
+ ///
+ public class RegisterReadResult
+ {
+ ///
+ /// Indicates whether the read operation was successful.
+ ///
+ public bool Success { get; set; }
+
+ ///
+ /// Name of the register.
+ ///
+ public string RegisterName { get; set; }
+
+ ///
+ /// Raw bytes returned from the device.
+ ///
+ public byte[] RawBytes { get; set; }
+
+ ///
+ /// Raw value formatted as hexadecimal string.
+ ///
+ public string RawHex { get; set; }
+
+ ///
+ /// Converted value based on register data type (if possible).
+ ///
+ public object TypedValue { get; set; }
+
+ ///
+ /// String representation of the converted value.
+ ///
+ public string TypedValueText { get; set; }
+
+ ///
+ /// Data type of the register.
+ ///
+ public string DataType { get; set; }
+
+ ///
+ /// Error message if operation failed.
+ ///
+ public string ErrorMessage { get; set; }
+ }
+
+ ///
+ /// Result of a register write operation.
+ ///
+ public class RegisterWriteResult
+ {
+ ///
+ /// Indicates whether the write operation was successful.
+ ///
+ public bool Success { get; set; }
+
+ ///
+ /// Name of the register.
+ ///
+ public string RegisterName { get; set; }
+
+ ///
+ /// Value that was written to the register.
+ ///
+ public object WrittenValue { get; set; }
+
+ ///
+ /// Indicates whether configuration was stored to the device.
+ ///
+ public bool StoreToDevice { get; set; }
+
+ ///
+ /// Indicates whether system state refresh was triggered.
+ ///
+ public bool RefreshSystemState { get; set; }
+
+ ///
+ /// Error message if operation failed.
+ ///
+ public string ErrorMessage { get; set; }
+ }
+
+ //Helper methods
+
+ ///
+ /// Ensures that the meter is connected and logged on.
+ ///
+ private void EnsureConnected()
+ {
+ if (_currentGenesis == null)
+ throw new InvalidOperationException("Genesis meter is not initialized. Call Connect first.");
+
+ if (!_currentGenesis.IsLoggedOn)
+ throw new InvalidOperationException("Genesis meter is not logged on. Call Connect first.");
+ }
+
+ ///
+ /// Finds register definition by name.
+ ///
+ private RegisterDefinition FindRegisterDefinition(string registerName)
+ {
+ if (string.IsNullOrWhiteSpace(registerName))
+ throw new ArgumentException("Register name cannot be null or empty.", nameof(registerName));
+
+ var match = _currentGenesis
+ .GetRegistersDic()
+ .Keys
+ .FirstOrDefault(r => string.Equals(r.GetIdent(), registerName, StringComparison.OrdinalIgnoreCase));
+
+ if (match == null)
+ throw new KeyNotFoundException($"Register '{registerName}' was not found.");
+
+ return match;
+ }
+
+ ///
+ /// Converts byte array to hex string.
+ ///
+ private string ToHex(byte[] data)
+ {
+ if (data == null || data.Length == 0)
+ return string.Empty;
+
+ return BitConverter.ToString(data).Replace("-", " ");
+ }
+
+ //Read register
+ ///
+ /// Reads register value by register name.
+ ///
+ public RegisterReadResult ReadRegister(string registerName)
+ {
+ try
+ {
+ EnsureConnected();
+
+ var register = FindRegisterDefinition(registerName);
+ var raw = _currentGenesis.ReadRegister(registerName);
+
+ object typedValue = null;
+ string typedValueText = null;
+
+ try
+ {
+ typedValue = ConvertRegisterValue(register, raw);
+ typedValueText = typedValue?.ToString();
+ }
+ catch
+ {
+ // Ignore conversion errors, raw value is still valid
+ }
+
+ return new RegisterReadResult
+ {
+ Success = true,
+ RegisterName = registerName,
+ RawBytes = raw,
+ RawHex = ToHex(raw),
+ TypedValue = typedValue,
+ TypedValueText = typedValueText,
+ DataType = register.DataType?.Name
+ };
+ }
+ catch (Exception ex)
+ {
+ Logger.Value.Error(ex, $"ReadRegister failed for '{registerName}'.");
+
+ return new RegisterReadResult
+ {
+ Success = false,
+ RegisterName = registerName,
+ ErrorMessage = ex.Message
+ };
+ }
+ }
+
+ //Typed conversion
+ ///
+ /// Converts raw register value to a typed value based on register definition.
+ ///
+ private object ConvertRegisterValue(RegisterDefinition register, byte[] raw)
+ {
+ var typeName = register.DataType?.Name;
+
+ switch (typeName)
+ {
+ case "Boolean":
+ return RegisterConverter.ByteArrayToValue(raw);
+
+ case "Byte":
+ return RegisterConverter.ByteArrayToValue(raw);
+
+ case "Int32":
+ return RegisterConverter.ByteArrayToValue(raw);
+
+ case "UInt32":
+ return RegisterConverter.ByteArrayToValue(raw);
+
+ case "Double":
+ return RegisterConverter.ByteArrayToValue(raw);
+
+ case "Single":
+ return RegisterConverter.ByteArrayToValue(raw);
+
+ case "String":
+ return Encoding.ASCII.GetString(raw).TrimEnd('\0');
+
+ default:
+ return ToHex(raw);
+ }
+ }
+
+ //Generic login
+
+ ///
+ /// Reads register and converts it directly to specified type.
+ ///
+ public T ReadRegisterValue(string registerName)
+ {
+ EnsureConnected();
+
+ var raw = _currentGenesis.ReadRegister(registerName);
+ return RegisterConverter.ByteArrayToValue(raw);
+ }
+
+ //Write register
+ ///
+ /// Writes value to register.
+ ///
+ public RegisterWriteResult WriteRegister(
+ string registerName,
+ object value,
+ bool storeToDevice = false,
+ bool refreshSystemState = false)
+ {
+ try
+ {
+ EnsureConnected();
+
+ bool writeOk = _currentGenesis.WriteRegister(registerName, value);
+
+ if (!writeOk)
+ {
+ return new RegisterWriteResult
+ {
+ Success = false,
+ RegisterName = registerName,
+ WrittenValue = value,
+ ErrorMessage = "Write operation failed."
+ };
+ }
+
+ if (storeToDevice)
+ {
+ if (!_currentGenesis.StoreAllConfigurations())
+ {
+ return new RegisterWriteResult
+ {
+ Success = false,
+ RegisterName = registerName,
+ WrittenValue = value,
+ ErrorMessage = "StoreAllConfigurations failed."
+ };
+ }
+ }
+
+ if (refreshSystemState)
+ {
+ if (!_currentGenesis.WriteRegister("SENSUSRADIO_SYSTEMSTATE", 0xFF, true, false))
+ {
+ return new RegisterWriteResult
+ {
+ Success = false,
+ RegisterName = registerName,
+ WrittenValue = value,
+ ErrorMessage = "System state refresh failed."
+ };
+ }
+ }
+
+ return new RegisterWriteResult
+ {
+ Success = true,
+ RegisterName = registerName,
+ WrittenValue = value,
+ StoreToDevice = storeToDevice,
+ RefreshSystemState = refreshSystemState
+ };
+ }
+ catch (Exception ex)
+ {
+ Logger.Value.Error(ex, $"WriteRegister failed for '{registerName}'.");
+
+ return new RegisterWriteResult
+ {
+ Success = false,
+ RegisterName = registerName,
+ WrittenValue = value,
+ ErrorMessage = ex.Message
+ };
+ }
+ }
+
+ //Bulk operations
+
+ ///
+ /// Reads multiple registers.
+ ///
+ public List ReadRegisters(IEnumerable registerNames)
+ {
+ var result = new List();
+
+ foreach (var name in registerNames)
+ {
+ result.Add(ReadRegister(name));
+ }
+
+ return result;
+ }
+
+ ///
+ /// Writes multiple registers.
+ ///
+ public List WriteRegisters(
+ Dictionary registerValues,
+ bool storeToDevice = false,
+ bool refreshSystemState = false)
+ {
+ var results = new List();
+
+ int index = 0;
+ int total = registerValues.Count;
+
+ foreach (var pair in registerValues)
+ {
+ bool doStore = storeToDevice && index == total - 1;
+ bool doRefresh = refreshSystemState && index == total - 1;
+
+ results.Add(WriteRegister(pair.Key, pair.Value, doStore, doRefresh));
+ index++;
+ }
+
+ return results;
+ }
+
+ //Disconnect
+
+ ///
+ /// Disconnects from the meter and releases resources.
+ ///
+ public void Disconnect()
+ {
+ try
+ {
+ if (_currentGenesis != null && _currentGenesis.IsLoggedOn)
+ {
+ _currentGenesis.Logout();
+ }
+ }
+ catch (Exception ex)
+ {
+ Logger.Value.Error(ex, "Disconnect failed.");
+ }
+ finally
+ {
+ _meterBatch.RemoveAllMeters();
+ _currentGenesis?.DisposeMeter();
+ _currentGenesis = null;
+ _currentPcbId = string.Empty;
+ }
+ }
+
+ #endregion
+
+ }
+}
diff --git a/GenesisCordonelInterface/API/InterfaceOutsideToGCI.cs b/GenesisCordonelInterface/API/InterfaceOutsideToGCI.cs
new file mode 100644
index 000000000..a1d948462
--- /dev/null
+++ b/GenesisCordonelInterface/API/InterfaceOutsideToGCI.cs
@@ -0,0 +1,124 @@
+using System;
+using System.Collections.Generic;
+using Xylem.Common.Hardware.Interfaces.Ports.PortCore;
+using Xylem.Common.Hardware.WaterMeter.WaterMeterCore;
+using static Xylem.Common.Hardware.WaterMeter.Genesis.GenesisCore.GenesisMeter;
+
+namespace GenesisCordonelInterface.API
+{
+ ///
+ /// Outside-facing facade for Genesis Cordonel Interface.
+ /// Exposes only selected operations intended for external callers.
+ ///
+ public class InterfaceOutsideToGCI
+ {
+ private readonly InterfaceGCIToLaatzen _innerMeterAPI;
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public InterfaceOutsideToGCI()
+ {
+ _innerMeterAPI = new InterfaceGCIToLaatzen();
+ }
+
+ ///
+ /// Gets a value indicating whether the meter is currently connected and logged on.
+ ///
+ public bool IsConnected
+ {
+ get
+ {
+ return _innerMeterAPI.IsConnected;
+ }
+ }
+
+ ///
+ /// Connects to the meter on the specified slot.
+ ///
+ /// Slot number.
+ /// Specifies whether offline passwords should be used.
+ /// Connect operation result.
+ public InterfaceGCIToLaatzen.InitResult InitOneMeterFromExtern(Int32 slotNo, ConfigSource useConfigSource, PasswordSource usePasswordSource, PortConfig? requestPort, PortConfig? streamingPort)
+ {
+ return _innerMeterAPI.InitOneMeterFromExtern(slotNo, useConfigSource, usePasswordSource, requestPort, streamingPort);
+ }
+
+ ///
+ /// Connects to the meter on the specified slot.
+ ///
+ /// Slot number.
+ /// Specifies whether offline passwords should be used.
+ /// Connect operation result.
+ public InterfaceGCIToLaatzen.ConnectResult ConnectOneMeter(int slotNo)
+ {
+ return _innerMeterAPI.ConnectOneMeter(slotNo);
+ }
+
+ ///
+ /// Connects to the meter on the specified slot.
+ ///
+ /// Slot number.
+ /// Specifies whether offline passwords should be used.
+ /// Connect operation result.
+ public InterfaceGCIToLaatzen.ConnectResult ConnectAllMeters(int slotNo)
+ {
+ return _innerMeterAPI.ConnectAllMeters(slotNo);
+ }
+
+ ///
+ /// Disconnects from the currently connected meter.
+ ///
+ public void Disconnect()
+ {
+ _innerMeterAPI.Disconnect();
+ }
+
+ ///
+ /// Reads PCB ID from the specified slot.
+ ///
+ /// Slot number.
+ /// PCB ID string.
+ public string GetPcbId(int slot)
+ {
+ return _innerMeterAPI.GetPcbId(slot);
+ }
+
+ ///
+ /// Reads a register by name.
+ ///
+ /// Register name.
+ /// Register read result.
+ public InterfaceGCIToLaatzen.RegisterReadResult ReadRegister(string registerName)
+ {
+ return _innerMeterAPI.ReadRegister(registerName);
+ }
+
+ ///
+ /// Writes a value to a register.
+ ///
+ /// Register name.
+ /// Value to write.
+ /// Specifies whether configuration should be stored after write.
+ /// Specifies whether system state refresh should be triggered after write.
+ /// Register write result.
+ public InterfaceGCIToLaatzen.RegisterWriteResult WriteRegister(
+ string registerName,
+ object value,
+ bool storeToDevice = false,
+ bool refreshSystemState = false)
+ {
+ return _innerMeterAPI.WriteRegister(registerName, value, storeToDevice, refreshSystemState);
+ }
+
+ ///
+ /// Sets meter password.
+ ///
+ /// Password value.
+ /// True if operation succeeded; otherwise false.
+ public bool SetMeterPassword(string password)
+ {
+ return _innerMeterAPI.SetMeterPassword(password);
+ }
+ }
+}
\ No newline at end of file
diff --git a/GenesisCordonelInterface/App.config b/GenesisCordonelInterface/App.config
new file mode 100644
index 000000000..36d3dd4fb
--- /dev/null
+++ b/GenesisCordonelInterface/App.config
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/GenesisCordonelInterface/Core/Logging/ImportantInstructions.txt b/GenesisCordonelInterface/Core/Logging/ImportantInstructions.txt
new file mode 100644
index 000000000..bcd992898
--- /dev/null
+++ b/GenesisCordonelInterface/Core/Logging/ImportantInstructions.txt
@@ -0,0 +1,23 @@
+Navod na logovanie projektu Laatzen/Common/ pre Genesis Cordonel meradla:
+1. Princip:
+ - logovanie je zabezpecene pomocou nastroja NLog, ktory pouziva Laatzen
+ - Laatzen vsak pouziva nad NLogom svoj wrapper NLogHelper.cs a teda sa na pracu pri ich projektoch konfiguruje NLog pomocou ich suboru Nlogconfig.xml,
+ no nakolko ja som nechcel zasahovat do ich konfiguracneho suboru NLogu, pouzil som svoj, ktory je definovany v mojom projekte GenesisCordonelInterface,
+ s nazvom nlog.config
+ - z dovodu, ze som teda nechcel zasahovat do ich konfiguracie a zaroven som musel NLog na svoje ucely (presmerovanie logov do mema v mojom projekte),
+ musel som teda konfigurovat svojim konfiguracnym suborom, a zaroven plati ze pouzivam raw NLog.
+ - btw ked som pouzil ich wrapper a zaroven moj konfiguracny subor NLogu, tak pri spusten appky ho aj nacitalo, no nasledne sa nacitali Laatzenacke projekty
+ a nacital sa aj ich konfigurak Nlogu, ci sa prepisal ten moj. Pouzil som ten raw Nlog a uz to bolo ok
+ - takto je mozne presmerovat pomocou nizsie uvedenej metody logy az do mema v mojom projekte a tiez aj do suboru, pricom vsetko definujem v nlog.config
+ mojho projektu a nie v projekte Laatzenu
+2. prilozene subory UiLogBus.cs a UiTarget.cs musia byt nakopirovane do projektu v ramci Solution s nazvom Common od Laatzenu
+ - kopiruju sa do top adresara projektu
+ - musia obsahovat ""namespace Xylem.Common.Utils.Logging"
+ - v mieste kde chcem logovat, je potrebne:
+ - zadefinovat:
+ private readonly ILogger Logger = NLogHelper.CreateOrGetLogger("GenesisCordonelInterface");
+ - pouzit log:
+ Logger.Error(ex, $"Slot #{slotNR} failed: {ex.Message}");
+ Logger.Trace("CONFIG: Setup loaded.");
+ Logger.Info("CONFIG: Setup loaded.");
+ ...whatever
\ No newline at end of file
diff --git a/GenesisCordonelInterface/Core/Logging/UiLogBus.cs b/GenesisCordonelInterface/Core/Logging/UiLogBus.cs
new file mode 100644
index 000000000..960e365f5
--- /dev/null
+++ b/GenesisCordonelInterface/Core/Logging/UiLogBus.cs
@@ -0,0 +1,18 @@
+using System;
+
+/*namespace Xylem.Common.Utils.Logging
+{
+ public static class UiLogBus
+ {
+ public static event Action MessageReceived;
+
+ public static void Publish(string message)
+ {
+ var handler = MessageReceived;
+ if (handler != null)
+ {
+ handler(message);
+ }
+ }
+ }
+}*/
\ No newline at end of file
diff --git a/GenesisCordonelInterface/Core/Logging/UiTarget.cs b/GenesisCordonelInterface/Core/Logging/UiTarget.cs
new file mode 100644
index 000000000..fce483193
--- /dev/null
+++ b/GenesisCordonelInterface/Core/Logging/UiTarget.cs
@@ -0,0 +1,15 @@
+using NLog;
+using NLog.Targets;
+
+/*namespace Xylem.Common.Utils.Logging
+{
+ [Target("UiTarget")]
+ public class UiTarget : TargetWithLayout
+ {
+ protected override void Write(LogEventInfo logEvent)
+ {
+ string message = Layout.Render(logEvent);
+ UiLogBus.Publish(message);
+ }
+ }
+}*/
\ No newline at end of file
diff --git a/GenesisCordonelInterface/GenesisCordonelInterface.csproj b/GenesisCordonelInterface/GenesisCordonelInterface.csproj
new file mode 100644
index 000000000..772a7dc8b
--- /dev/null
+++ b/GenesisCordonelInterface/GenesisCordonelInterface.csproj
@@ -0,0 +1,225 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {C955D8AC-76B8-42D8-A83F-8AEB56CF2567}
+ WinExe
+ GenesisCordonelInterface
+ GenesisCordonelInterface
+ v4.8
+ 7.3
+ 512
+ true
+ true
+
+
+
+ AnyCPU
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ AnyCPU
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+ ..\packages\Newtonsoft.Json.13.0.3\lib\net45\Newtonsoft.Json.dll
+
+
+ ..\packages\NLog.5.2.2\lib\net46\NLog.dll
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Form
+
+
+ FrmConfigurations.cs
+
+
+ Form
+
+
+ FrmCordonelPreadjustmentUI.cs
+
+
+ Form
+
+
+ FrmRegisterStore.cs
+
+
+ Form
+
+
+ FrmSetup.cs
+
+
+ Form
+
+
+ MainForm.cs
+
+
+
+
+ UserControl
+
+
+ PreAdjustmentControl.cs
+
+
+ Form
+
+
+ FrmGCIAPI.cs
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+ Designer
+
+
+ True
+ Resources.resx
+ True
+
+
+ FrmSetup.cs
+
+
+ MainForm.cs
+
+
+
+ PreserveNewest
+
+
+ PreAdjustmentControl.cs
+
+
+ FrmGCIAPI.cs
+
+
+
+ SettingsSingleFileGenerator
+ Settings.Designer.cs
+
+
+ True
+ Settings.settings
+ True
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {c8939821-ba5c-4988-a3d0-bf53b74865c7}
+ Common
+
+
+ {9eb1f659-6f73-4f65-bcab-4114fd94f5fc}
+ CommonCore.Configuration
+
+
+ {1b02c79e-0b19-43e2-8f6b-71ef0c786c97}
+ CommonCore
+
+
+ {d0c8d887-ed52-40ab-a069-90bce0e801e2}
+ CordonelPreadjustmentUi
+
+
+ {2e139f63-b6fe-4ea9-a098-85364fe9b26c}
+ PortCore
+
+
+ {72037e89-4f63-4b3f-beff-4138e578ce99}
+ SerialPorts
+
+
+ {315e94b8-b82f-4b25-b5bd-297df3bc1d54}
+ Applications
+
+
+ {f013a56b-7be6-4852-9cd8-b971cd1add0c}
+ GenesisConfig
+
+
+ {04201e95-90a0-4b73-a72f-379739b2a3ae}
+ GenesisCore
+
+
+ {f4aaf7e6-7333-4284-b735-e32deb076c64}
+ Registers
+
+
+ {8203abb8-38e5-472e-a742-33f38b7a74a6}
+ WaterMeterCore
+
+
+ {26afcf1e-1287-48b8-a506-32b1e8a0dd0e}
+ WaterMeterRegisters
+
+
+ {d0c859d9-d55e-4e85-ac50-0ff31b1ce50d}
+ Logic.ProductionToProductMapper
+
+
+ {6d2777bb-7a88-466d-a49b-3266f9bf0160}
+ ProductionOrderCore
+
+
+ {a33e3c6d-eaae-4a20-a0ee-f9e6922fd029}
+ SoftwareAccessHelper
+
+
+ {95a50087-99ee-4349-9a17-c547290db42f}
+ GenesisToolBox
+
+
+ {4b88b0d3-e791-4774-9521-eabeacdc420e}
+ Logging
+
+
+
+
\ No newline at end of file
diff --git a/GenesisCordonelInterface/Program.cs b/GenesisCordonelInterface/Program.cs
new file mode 100644
index 000000000..fa6c9cbd1
--- /dev/null
+++ b/GenesisCordonelInterface/Program.cs
@@ -0,0 +1,22 @@
+using GenesisCordonelInterface.UI;
+using NLog;
+using System;
+using System.Windows.Forms;
+using Xylem.Common.Utils.Logging;
+using System.IO;
+
+namespace GenesisCordonelInterface
+{
+ static class Program
+ {
+ private static readonly ILogger Logger = NLogHelper.CreateOrGetLogger("GenesisCordonelInterface");
+
+ [STAThread]
+ static void Main()
+ {
+ Application.EnableVisualStyles();
+ Application.SetCompatibleTextRenderingDefault(false);
+ Application.Run(new MainForm());
+ }
+ }
+}
\ No newline at end of file
diff --git a/GenesisCordonelInterface/Properties/AssemblyInfo.cs b/GenesisCordonelInterface/Properties/AssemblyInfo.cs
new file mode 100644
index 000000000..ff8596f1e
--- /dev/null
+++ b/GenesisCordonelInterface/Properties/AssemblyInfo.cs
@@ -0,0 +1,33 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("GenesisCordonelInterface")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Windows Org")]
+[assembly: AssemblyProduct("GenesisCordonelInterface")]
+[assembly: AssemblyCopyright("Copyright © Windows Org 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(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("c955d8ac-76b8-42d8-a83f-8aeb56cf2567")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/GenesisCordonelInterface/Properties/Resources.Designer.cs b/GenesisCordonelInterface/Properties/Resources.Designer.cs
new file mode 100644
index 000000000..f3a80a5d3
--- /dev/null
+++ b/GenesisCordonelInterface/Properties/Resources.Designer.cs
@@ -0,0 +1,63 @@
+//------------------------------------------------------------------------------
+//
+// 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.
+//
+//------------------------------------------------------------------------------
+
+namespace GenesisCordonelInterface.Properties {
+ using System;
+
+
+ ///
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ ///
+ // 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() {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [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("GenesisCordonelInterface.Properties.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture {
+ get {
+ return resourceCulture;
+ }
+ set {
+ resourceCulture = value;
+ }
+ }
+ }
+}
diff --git a/GenesisCordonelInterface/Properties/Resources.resx b/GenesisCordonelInterface/Properties/Resources.resx
new file mode 100644
index 000000000..af7dbebba
--- /dev/null
+++ b/GenesisCordonelInterface/Properties/Resources.resx
@@ -0,0 +1,117 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/GenesisCordonelInterface/Properties/Settings.Designer.cs b/GenesisCordonelInterface/Properties/Settings.Designer.cs
new file mode 100644
index 000000000..87a4fa6d2
--- /dev/null
+++ b/GenesisCordonelInterface/Properties/Settings.Designer.cs
@@ -0,0 +1,26 @@
+//------------------------------------------------------------------------------
+//
+// 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.
+//
+//------------------------------------------------------------------------------
+
+namespace GenesisCordonelInterface.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;
+ }
+ }
+ }
+}
diff --git a/GenesisCordonelInterface/Properties/Settings.settings b/GenesisCordonelInterface/Properties/Settings.settings
new file mode 100644
index 000000000..39645652a
--- /dev/null
+++ b/GenesisCordonelInterface/Properties/Settings.settings
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/GenesisCordonelInterface/UI/LaatzenAPI_CordonelPreadjustmentUI/FrmCordonelPreadjustmentUI.Designer.cs b/GenesisCordonelInterface/UI/LaatzenAPI_CordonelPreadjustmentUI/FrmCordonelPreadjustmentUI.Designer.cs
new file mode 100644
index 000000000..bc764d41e
--- /dev/null
+++ b/GenesisCordonelInterface/UI/LaatzenAPI_CordonelPreadjustmentUI/FrmCordonelPreadjustmentUI.Designer.cs
@@ -0,0 +1,1810 @@
+namespace GenesisCordonelInterface.UI.LaatzenAPI_CordonelPreadjustmentUI
+{
+ partial class FrmCordonelPreadjustmentUI
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
+ this.tab_Maintab = new System.Windows.Forms.TabControl();
+ this.tab_Report = new System.Windows.Forms.TabPage();
+ this.pictureBox1 = new System.Windows.Forms.PictureBox();
+ this.groupBox_report = new System.Windows.Forms.GroupBox();
+ this.gB_ReportTitlepage = new System.Windows.Forms.GroupBox();
+ this.rTB_ReportEnterSerialNumber = new System.Windows.Forms.RichTextBox();
+ this.label_Report_EnterSerialNumber = new System.Windows.Forms.Label();
+ this.l_ReportIntro = new System.Windows.Forms.Label();
+ this.rtB_ReportTitlepageIntro = new System.Windows.Forms.RichTextBox();
+ this.rTB_ReportEnterTitle = new System.Windows.Forms.RichTextBox();
+ this.label_Report_EnterTitle = new System.Windows.Forms.Label();
+ this.label_Report_EnterOperator = new System.Windows.Forms.Label();
+ this.rTB_ReportEnterDate = new System.Windows.Forms.RichTextBox();
+ this.rTB_ReportEnterOperator = new System.Windows.Forms.RichTextBox();
+ this.label_Report_EnterDate = new System.Windows.Forms.Label();
+ this.btn_Report_Generate = new System.Windows.Forms.Button();
+ this.tab_Settings = new System.Windows.Forms.TabPage();
+ this.cB_SinglePath = new System.Windows.Forms.CheckBox();
+ this.lbLanguage = new System.Windows.Forms.ListBox();
+ this.gB_ComportSetup = new System.Windows.Forms.GroupBox();
+ this.BtnOpenSetup = new System.Windows.Forms.Button();
+ this.gB_SettingsTempMonitor = new System.Windows.Forms.GroupBox();
+ this.nUD_SettingsTempMonitorDeviation = new System.Windows.Forms.NumericUpDown();
+ this.nUD_SettingsTempMonitorLowerValue = new System.Windows.Forms.NumericUpDown();
+ this.nUD_SettingsTempMonitorUpperValue = new System.Windows.Forms.NumericUpDown();
+ this.l_SettingsTempMonitorDeviation = new System.Windows.Forms.Label();
+ this.l_SettingsTempMonitorLowerValue = new System.Windows.Forms.Label();
+ this.l_SettingsTempMonitorUpperValue = new System.Windows.Forms.Label();
+ this.gB_Settings_TemperatureCalibration = new System.Windows.Forms.GroupBox();
+ this.cB_TempOnly = new System.Windows.Forms.CheckBox();
+ this.cB_TempManualAcquisition = new System.Windows.Forms.CheckBox();
+ this.lThermo2 = new System.Windows.Forms.Label();
+ this.lPasswordThermo1 = new System.Windows.Forms.Label();
+ this.tB_PasswordThermo2 = new System.Windows.Forms.TextBox();
+ this.tB_PasswordThermo1 = new System.Windows.Forms.TextBox();
+ this.gB_Passwords = new System.Windows.Forms.GroupBox();
+ this.tB_PasswordMeter5 = new System.Windows.Forms.TextBox();
+ this.tB_PasswordMeter10 = new System.Windows.Forms.TextBox();
+ this.tB_PasswordMeter9 = new System.Windows.Forms.TextBox();
+ this.tB_PasswordMeter8 = new System.Windows.Forms.TextBox();
+ this.tB_PasswordMeter7 = new System.Windows.Forms.TextBox();
+ this.tB_PasswordMeter6 = new System.Windows.Forms.TextBox();
+ this.tB_PasswordMeter4 = new System.Windows.Forms.TextBox();
+ this.tB_PasswordMeter3 = new System.Windows.Forms.TextBox();
+ this.tB_PasswordMeter2 = new System.Windows.Forms.TextBox();
+ this.tB_PasswordMeter1 = new System.Windows.Forms.TextBox();
+ this.l_PasswordMeter10 = new System.Windows.Forms.Label();
+ this.l_PasswordMeter9 = new System.Windows.Forms.Label();
+ this.l_PasswordMeter8 = new System.Windows.Forms.Label();
+ this.l_PasswordMeter7 = new System.Windows.Forms.Label();
+ this.l_PasswordMeter6 = new System.Windows.Forms.Label();
+ this.l_PasswordMeter5 = new System.Windows.Forms.Label();
+ this.l_PasswordMeter4 = new System.Windows.Forms.Label();
+ this.l_PasswordMeter3 = new System.Windows.Forms.Label();
+ this.l_PasswordMeter2 = new System.Windows.Forms.Label();
+ this.l_PasswordMeter1 = new System.Windows.Forms.Label();
+ this.gB_Settings_Preparation = new System.Windows.Forms.GroupBox();
+ this.nUD_Settings_Samplerate = new System.Windows.Forms.NumericUpDown();
+ this.label1 = new System.Windows.Forms.Label();
+ this.nUD_Settings_Preparation_StabiTime = new System.Windows.Forms.NumericUpDown();
+ this.l_Settings_Preparation_StabiTime = new System.Windows.Forms.Label();
+ this.gB_Settings_ZeroflowOffsetTest = new System.Windows.Forms.GroupBox();
+ this.cB_OffsetTestLogFiles = new System.Windows.Forms.CheckBox();
+ this.nUD_Settings_ZeroflowOffsetTestActivityCheckInterval = new System.Windows.Forms.NumericUpDown();
+ this.l_Settings_ZeroflowOffsetTestActivityCheckInterval = new System.Windows.Forms.Label();
+ this.l_Settings_ZeroflowOffsetTestNumberOfLines = new System.Windows.Forms.Label();
+ this.nUD_Settings_ZeroflowOffsetTestNumberOfLines = new System.Windows.Forms.NumericUpDown();
+ this.l_Settings_ZeroFlowTestSettlingTime = new System.Windows.Forms.Label();
+ this.nUD_Settings_ZeroflowOffsetTestSettlingTime = new System.Windows.Forms.NumericUpDown();
+ this.l_Settings_ZeroFlowTestOffsetLimit = new System.Windows.Forms.Label();
+ this.nUD_Settings_ZeroflowOffsetTestOffsetLimit = new System.Windows.Forms.NumericUpDown();
+ this.l_Settings_ZeroflowOffsetTestLowerLimit = new System.Windows.Forms.Label();
+ this.l_Settings_ZeroflowOffsetTestUpperLimit = new System.Windows.Forms.Label();
+ this.nUD_Settings_ZeroflowOffsetTestLowerLimit = new System.Windows.Forms.NumericUpDown();
+ this.nUD_Settings_ZeroflowOffsetTestUpperLimit = new System.Windows.Forms.NumericUpDown();
+ this.gB_Settings_AmplitudeTest = new System.Windows.Forms.GroupBox();
+ this.cB_AmpLogFiles = new System.Windows.Forms.CheckBox();
+ this.nUD_Settings_AmplitudeActivityCheckInterval = new System.Windows.Forms.NumericUpDown();
+ this.l_Settings_AmplitudeActivityCheckInterval = new System.Windows.Forms.Label();
+ this.cB_MeanAmplitudeFiles = new System.Windows.Forms.CheckBox();
+ this.nUD_PercentageStop = new System.Windows.Forms.NumericUpDown();
+ this.l_PercentageStop = new System.Windows.Forms.Label();
+ this.l_PercentageStart = new System.Windows.Forms.Label();
+ this.nUD_PercentageStart = new System.Windows.Forms.NumericUpDown();
+ this.l__Settings_AmplitudeTestMinDistance = new System.Windows.Forms.Label();
+ this.nUD_Settings_AmplitudeTestMinDistance = new System.Windows.Forms.NumericUpDown();
+ this.l_Settings_AmplitudeTestLowerLimit = new System.Windows.Forms.Label();
+ this.l_Settings_AmplitudeTestUpperLimit = new System.Windows.Forms.Label();
+ this.nUD_Settings_AmplitudeTestLowerLimit = new System.Windows.Forms.NumericUpDown();
+ this.nUD_Settings_AmplitudeTestUpperLimit = new System.Windows.Forms.NumericUpDown();
+ this.pB_Logo3 = new System.Windows.Forms.PictureBox();
+ this.pB_AvailableImages = new System.Windows.Forms.PictureBox();
+ this.tab_About = new System.Windows.Forms.TabPage();
+ this.pictureBox3 = new System.Windows.Forms.PictureBox();
+ this.pictureBox2 = new System.Windows.Forms.PictureBox();
+ this.l_BasedOn = new System.Windows.Forms.Label();
+ this.l_Author = new System.Windows.Forms.Label();
+ this.pB_DocumentVersion = new System.Windows.Forms.PictureBox();
+ this.pB_Logo2 = new System.Windows.Forms.PictureBox();
+ this.l_Version = new System.Windows.Forms.Label();
+ this.l_About_Info = new System.Windows.Forms.Label();
+ this.l_About_Author = new System.Windows.Forms.Label();
+ this.l_About_Version = new System.Windows.Forms.Label();
+ this.tab_ZeroFlowCal = new System.Windows.Forms.TabPage();
+ this.tabPage1 = new System.Windows.Forms.TabPage();
+ this.richTextBox1 = new System.Windows.Forms.RichTextBox();
+ this.button1 = new System.Windows.Forms.Button();
+ this.gB_TempMeters = new System.Windows.Forms.GroupBox();
+ this.nudTempSlot = new System.Windows.Forms.NumericUpDown();
+ this.btnTempRaspi = new System.Windows.Forms.Button();
+ this.btn_LoadTempe = new System.Windows.Forms.Button();
+ this.tab_Maintab.SuspendLayout();
+ this.tab_Report.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
+ this.groupBox_report.SuspendLayout();
+ this.gB_ReportTitlepage.SuspendLayout();
+ this.tab_Settings.SuspendLayout();
+ this.gB_ComportSetup.SuspendLayout();
+ this.gB_SettingsTempMonitor.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.nUD_SettingsTempMonitorDeviation)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.nUD_SettingsTempMonitorLowerValue)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.nUD_SettingsTempMonitorUpperValue)).BeginInit();
+ this.gB_Settings_TemperatureCalibration.SuspendLayout();
+ this.gB_Passwords.SuspendLayout();
+ this.gB_Settings_Preparation.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.nUD_Settings_Samplerate)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.nUD_Settings_Preparation_StabiTime)).BeginInit();
+ this.gB_Settings_ZeroflowOffsetTest.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.nUD_Settings_ZeroflowOffsetTestActivityCheckInterval)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.nUD_Settings_ZeroflowOffsetTestNumberOfLines)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.nUD_Settings_ZeroflowOffsetTestSettlingTime)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.nUD_Settings_ZeroflowOffsetTestOffsetLimit)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.nUD_Settings_ZeroflowOffsetTestLowerLimit)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.nUD_Settings_ZeroflowOffsetTestUpperLimit)).BeginInit();
+ this.gB_Settings_AmplitudeTest.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.nUD_Settings_AmplitudeActivityCheckInterval)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.nUD_PercentageStop)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.nUD_PercentageStart)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.nUD_Settings_AmplitudeTestMinDistance)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.nUD_Settings_AmplitudeTestLowerLimit)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.nUD_Settings_AmplitudeTestUpperLimit)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.pB_Logo3)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.pB_AvailableImages)).BeginInit();
+ this.tab_About.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.pB_DocumentVersion)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.pB_Logo2)).BeginInit();
+ this.tabPage1.SuspendLayout();
+ this.gB_TempMeters.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.nudTempSlot)).BeginInit();
+ this.SuspendLayout();
+ //
+ // tab_Maintab
+ //
+ this.tab_Maintab.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.tab_Maintab.Controls.Add(this.tab_Report);
+ this.tab_Maintab.Controls.Add(this.tab_Settings);
+ this.tab_Maintab.Controls.Add(this.tab_About);
+ this.tab_Maintab.Controls.Add(this.tab_ZeroFlowCal);
+ this.tab_Maintab.Controls.Add(this.tabPage1);
+ this.tab_Maintab.Location = new System.Drawing.Point(11, 11);
+ this.tab_Maintab.Margin = new System.Windows.Forms.Padding(2);
+ this.tab_Maintab.Name = "tab_Maintab";
+ this.tab_Maintab.SelectedIndex = 0;
+ this.tab_Maintab.Size = new System.Drawing.Size(1036, 678);
+ this.tab_Maintab.SizeMode = System.Windows.Forms.TabSizeMode.FillToRight;
+ this.tab_Maintab.TabIndex = 2;
+ this.tab_Maintab.Selected += new System.Windows.Forms.TabControlEventHandler(this.tab_Maintab_Selected);
+ //
+ // tab_Report
+ //
+ this.tab_Report.BackColor = System.Drawing.Color.Honeydew;
+ this.tab_Report.Controls.Add(this.pictureBox1);
+ this.tab_Report.Controls.Add(this.groupBox_report);
+ this.tab_Report.Location = new System.Drawing.Point(4, 22);
+ this.tab_Report.Margin = new System.Windows.Forms.Padding(2);
+ this.tab_Report.Name = "tab_Report";
+ this.tab_Report.Padding = new System.Windows.Forms.Padding(2);
+ this.tab_Report.Size = new System.Drawing.Size(1028, 652);
+ this.tab_Report.TabIndex = 1;
+ this.tab_Report.Text = "Report";
+ //
+ // pictureBox1
+ //
+ this.pictureBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.pictureBox1.BackColor = System.Drawing.Color.Transparent;
+ this.pictureBox1.ErrorImage = ((System.Drawing.Image)(resources.GetObject("pictureBox1.ErrorImage")));
+ this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
+ this.pictureBox1.InitialImage = ((System.Drawing.Image)(resources.GetObject("pictureBox1.InitialImage")));
+ this.pictureBox1.Location = new System.Drawing.Point(942, 35);
+ this.pictureBox1.Margin = new System.Windows.Forms.Padding(2);
+ this.pictureBox1.Name = "pictureBox1";
+ this.pictureBox1.Size = new System.Drawing.Size(53, 40);
+ this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
+ this.pictureBox1.TabIndex = 27;
+ this.pictureBox1.TabStop = false;
+ //
+ // groupBox_report
+ //
+ this.groupBox_report.Anchor = System.Windows.Forms.AnchorStyles.None;
+ this.groupBox_report.Controls.Add(this.gB_ReportTitlepage);
+ this.groupBox_report.Controls.Add(this.btn_Report_Generate);
+ this.groupBox_report.Location = new System.Drawing.Point(274, 1);
+ this.groupBox_report.Margin = new System.Windows.Forms.Padding(2);
+ this.groupBox_report.Name = "groupBox_report";
+ this.groupBox_report.Padding = new System.Windows.Forms.Padding(2);
+ this.groupBox_report.Size = new System.Drawing.Size(444, 654);
+ this.groupBox_report.TabIndex = 2;
+ this.groupBox_report.TabStop = false;
+ this.groupBox_report.Text = "Select Options";
+ //
+ // gB_ReportTitlepage
+ //
+ this.gB_ReportTitlepage.Controls.Add(this.rTB_ReportEnterSerialNumber);
+ this.gB_ReportTitlepage.Controls.Add(this.label_Report_EnterSerialNumber);
+ this.gB_ReportTitlepage.Controls.Add(this.l_ReportIntro);
+ this.gB_ReportTitlepage.Controls.Add(this.rtB_ReportTitlepageIntro);
+ this.gB_ReportTitlepage.Controls.Add(this.rTB_ReportEnterTitle);
+ this.gB_ReportTitlepage.Controls.Add(this.label_Report_EnterTitle);
+ this.gB_ReportTitlepage.Controls.Add(this.label_Report_EnterOperator);
+ this.gB_ReportTitlepage.Controls.Add(this.rTB_ReportEnterDate);
+ this.gB_ReportTitlepage.Controls.Add(this.rTB_ReportEnterOperator);
+ this.gB_ReportTitlepage.Controls.Add(this.label_Report_EnterDate);
+ this.gB_ReportTitlepage.Location = new System.Drawing.Point(18, 16);
+ this.gB_ReportTitlepage.Margin = new System.Windows.Forms.Padding(2);
+ this.gB_ReportTitlepage.Name = "gB_ReportTitlepage";
+ this.gB_ReportTitlepage.Padding = new System.Windows.Forms.Padding(2);
+ this.gB_ReportTitlepage.Size = new System.Drawing.Size(400, 378);
+ this.gB_ReportTitlepage.TabIndex = 16;
+ this.gB_ReportTitlepage.TabStop = false;
+ this.gB_ReportTitlepage.Text = "Titelpage";
+ //
+ // rTB_ReportEnterSerialNumber
+ //
+ this.rTB_ReportEnterSerialNumber.Location = new System.Drawing.Point(181, 91);
+ this.rTB_ReportEnterSerialNumber.Margin = new System.Windows.Forms.Padding(2);
+ this.rTB_ReportEnterSerialNumber.Name = "rTB_ReportEnterSerialNumber";
+ this.rTB_ReportEnterSerialNumber.Size = new System.Drawing.Size(177, 21);
+ this.rTB_ReportEnterSerialNumber.TabIndex = 18;
+ this.rTB_ReportEnterSerialNumber.Text = "";
+ //
+ // label_Report_EnterSerialNumber
+ //
+ this.label_Report_EnterSerialNumber.AutoSize = true;
+ this.label_Report_EnterSerialNumber.Location = new System.Drawing.Point(27, 91);
+ this.label_Report_EnterSerialNumber.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.label_Report_EnterSerialNumber.Name = "label_Report_EnterSerialNumber";
+ this.label_Report_EnterSerialNumber.Size = new System.Drawing.Size(138, 13);
+ this.label_Report_EnterSerialNumber.TabIndex = 17;
+ this.label_Report_EnterSerialNumber.Text = "Please enter Serial Number:";
+ //
+ // l_ReportIntro
+ //
+ this.l_ReportIntro.AutoSize = true;
+ this.l_ReportIntro.Location = new System.Drawing.Point(27, 116);
+ this.l_ReportIntro.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_ReportIntro.Name = "l_ReportIntro";
+ this.l_ReportIntro.Size = new System.Drawing.Size(82, 13);
+ this.l_ReportIntro.TabIndex = 16;
+ this.l_ReportIntro.Text = "Enter Comment:";
+ //
+ // rtB_ReportTitlepageIntro
+ //
+ this.rtB_ReportTitlepageIntro.Location = new System.Drawing.Point(30, 132);
+ this.rtB_ReportTitlepageIntro.Margin = new System.Windows.Forms.Padding(2);
+ this.rtB_ReportTitlepageIntro.Name = "rtB_ReportTitlepageIntro";
+ this.rtB_ReportTitlepageIntro.Size = new System.Drawing.Size(345, 224);
+ this.rtB_ReportTitlepageIntro.TabIndex = 15;
+ this.rtB_ReportTitlepageIntro.Text = resources.GetString("rtB_ReportTitlepageIntro.Text");
+ //
+ // rTB_ReportEnterTitle
+ //
+ this.rTB_ReportEnterTitle.Location = new System.Drawing.Point(181, 23);
+ this.rTB_ReportEnterTitle.Margin = new System.Windows.Forms.Padding(2);
+ this.rTB_ReportEnterTitle.Name = "rTB_ReportEnterTitle";
+ this.rTB_ReportEnterTitle.Size = new System.Drawing.Size(177, 21);
+ this.rTB_ReportEnterTitle.TabIndex = 10;
+ this.rTB_ReportEnterTitle.Text = "Zeroflow Calibration Report";
+ //
+ // label_Report_EnterTitle
+ //
+ this.label_Report_EnterTitle.AutoSize = true;
+ this.label_Report_EnterTitle.Location = new System.Drawing.Point(27, 26);
+ this.label_Report_EnterTitle.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.label_Report_EnterTitle.Name = "label_Report_EnterTitle";
+ this.label_Report_EnterTitle.Size = new System.Drawing.Size(88, 13);
+ this.label_Report_EnterTitle.TabIndex = 9;
+ this.label_Report_EnterTitle.Text = "Please enter title:";
+ //
+ // label_Report_EnterOperator
+ //
+ this.label_Report_EnterOperator.AutoSize = true;
+ this.label_Report_EnterOperator.Location = new System.Drawing.Point(27, 70);
+ this.label_Report_EnterOperator.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.label_Report_EnterOperator.Name = "label_Report_EnterOperator";
+ this.label_Report_EnterOperator.Size = new System.Drawing.Size(111, 13);
+ this.label_Report_EnterOperator.TabIndex = 14;
+ this.label_Report_EnterOperator.Text = "Please enter operator:";
+ //
+ // rTB_ReportEnterDate
+ //
+ this.rTB_ReportEnterDate.Location = new System.Drawing.Point(181, 46);
+ this.rTB_ReportEnterDate.Margin = new System.Windows.Forms.Padding(2);
+ this.rTB_ReportEnterDate.Name = "rTB_ReportEnterDate";
+ this.rTB_ReportEnterDate.Size = new System.Drawing.Size(177, 21);
+ this.rTB_ReportEnterDate.TabIndex = 12;
+ this.rTB_ReportEnterDate.Text = "";
+ //
+ // rTB_ReportEnterOperator
+ //
+ this.rTB_ReportEnterOperator.Location = new System.Drawing.Point(181, 69);
+ this.rTB_ReportEnterOperator.Margin = new System.Windows.Forms.Padding(2);
+ this.rTB_ReportEnterOperator.Name = "rTB_ReportEnterOperator";
+ this.rTB_ReportEnterOperator.Size = new System.Drawing.Size(177, 21);
+ this.rTB_ReportEnterOperator.TabIndex = 13;
+ this.rTB_ReportEnterOperator.Text = "[John Doe]";
+ //
+ // label_Report_EnterDate
+ //
+ this.label_Report_EnterDate.AutoSize = true;
+ this.label_Report_EnterDate.Location = new System.Drawing.Point(27, 48);
+ this.label_Report_EnterDate.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.label_Report_EnterDate.Name = "label_Report_EnterDate";
+ this.label_Report_EnterDate.Size = new System.Drawing.Size(93, 13);
+ this.label_Report_EnterDate.TabIndex = 11;
+ this.label_Report_EnterDate.Text = "Please enter date:";
+ //
+ // btn_Report_Generate
+ //
+ this.btn_Report_Generate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.btn_Report_Generate.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.btn_Report_Generate.Location = new System.Drawing.Point(144, 477);
+ this.btn_Report_Generate.Margin = new System.Windows.Forms.Padding(2);
+ this.btn_Report_Generate.Name = "btn_Report_Generate";
+ this.btn_Report_Generate.Size = new System.Drawing.Size(168, 112);
+ this.btn_Report_Generate.TabIndex = 0;
+ this.btn_Report_Generate.Text = "Generate Report";
+ this.btn_Report_Generate.UseVisualStyleBackColor = true;
+ //
+ // tab_Settings
+ //
+ this.tab_Settings.BackColor = System.Drawing.Color.Honeydew;
+ this.tab_Settings.Controls.Add(this.cB_SinglePath);
+ this.tab_Settings.Controls.Add(this.lbLanguage);
+ this.tab_Settings.Controls.Add(this.gB_ComportSetup);
+ this.tab_Settings.Controls.Add(this.gB_SettingsTempMonitor);
+ this.tab_Settings.Controls.Add(this.gB_Settings_TemperatureCalibration);
+ this.tab_Settings.Controls.Add(this.gB_Passwords);
+ this.tab_Settings.Controls.Add(this.gB_Settings_Preparation);
+ this.tab_Settings.Controls.Add(this.gB_Settings_ZeroflowOffsetTest);
+ this.tab_Settings.Controls.Add(this.gB_Settings_AmplitudeTest);
+ this.tab_Settings.Controls.Add(this.pB_Logo3);
+ this.tab_Settings.Controls.Add(this.pB_AvailableImages);
+ this.tab_Settings.Location = new System.Drawing.Point(4, 22);
+ this.tab_Settings.Margin = new System.Windows.Forms.Padding(2);
+ this.tab_Settings.Name = "tab_Settings";
+ this.tab_Settings.Padding = new System.Windows.Forms.Padding(2);
+ this.tab_Settings.Size = new System.Drawing.Size(1028, 652);
+ this.tab_Settings.TabIndex = 8;
+ this.tab_Settings.Text = "Settings";
+ //
+ // cB_SinglePath
+ //
+ this.cB_SinglePath.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.cB_SinglePath.AutoSize = true;
+ this.cB_SinglePath.Location = new System.Drawing.Point(821, 268);
+ this.cB_SinglePath.Margin = new System.Windows.Forms.Padding(2);
+ this.cB_SinglePath.Name = "cB_SinglePath";
+ this.cB_SinglePath.Size = new System.Drawing.Size(87, 17);
+ this.cB_SinglePath.TabIndex = 66;
+ this.cB_SinglePath.Text = "Single PATH";
+ this.cB_SinglePath.UseVisualStyleBackColor = true;
+ //
+ // lbLanguage
+ //
+ this.lbLanguage.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.lbLanguage.FormattingEnabled = true;
+ this.lbLanguage.Items.AddRange(new object[] {
+ "Deutsch",
+ "English"});
+ this.lbLanguage.Location = new System.Drawing.Point(709, 220);
+ this.lbLanguage.Margin = new System.Windows.Forms.Padding(2);
+ this.lbLanguage.Name = "lbLanguage";
+ this.lbLanguage.Size = new System.Drawing.Size(97, 30);
+ this.lbLanguage.TabIndex = 65;
+ //
+ // gB_ComportSetup
+ //
+ this.gB_ComportSetup.Controls.Add(this.BtnOpenSetup);
+ this.gB_ComportSetup.Location = new System.Drawing.Point(336, 366);
+ this.gB_ComportSetup.Margin = new System.Windows.Forms.Padding(2);
+ this.gB_ComportSetup.Name = "gB_ComportSetup";
+ this.gB_ComportSetup.Padding = new System.Windows.Forms.Padding(2);
+ this.gB_ComportSetup.Size = new System.Drawing.Size(272, 87);
+ this.gB_ComportSetup.TabIndex = 30;
+ this.gB_ComportSetup.TabStop = false;
+ this.gB_ComportSetup.Text = "COM Port Setup";
+ //
+ // BtnOpenSetup
+ //
+ this.BtnOpenSetup.Location = new System.Drawing.Point(5, 29);
+ this.BtnOpenSetup.Name = "BtnOpenSetup";
+ this.BtnOpenSetup.Size = new System.Drawing.Size(262, 37);
+ this.BtnOpenSetup.TabIndex = 0;
+ this.BtnOpenSetup.Text = "Open Setup";
+ this.BtnOpenSetup.UseVisualStyleBackColor = true;
+ //
+ // gB_SettingsTempMonitor
+ //
+ this.gB_SettingsTempMonitor.Controls.Add(this.nUD_SettingsTempMonitorDeviation);
+ this.gB_SettingsTempMonitor.Controls.Add(this.nUD_SettingsTempMonitorLowerValue);
+ this.gB_SettingsTempMonitor.Controls.Add(this.nUD_SettingsTempMonitorUpperValue);
+ this.gB_SettingsTempMonitor.Controls.Add(this.l_SettingsTempMonitorDeviation);
+ this.gB_SettingsTempMonitor.Controls.Add(this.l_SettingsTempMonitorLowerValue);
+ this.gB_SettingsTempMonitor.Controls.Add(this.l_SettingsTempMonitorUpperValue);
+ this.gB_SettingsTempMonitor.Location = new System.Drawing.Point(336, 456);
+ this.gB_SettingsTempMonitor.Margin = new System.Windows.Forms.Padding(2);
+ this.gB_SettingsTempMonitor.Name = "gB_SettingsTempMonitor";
+ this.gB_SettingsTempMonitor.Padding = new System.Windows.Forms.Padding(2);
+ this.gB_SettingsTempMonitor.Size = new System.Drawing.Size(274, 171);
+ this.gB_SettingsTempMonitor.TabIndex = 32;
+ this.gB_SettingsTempMonitor.TabStop = false;
+ this.gB_SettingsTempMonitor.Text = "Temperature Monitoring";
+ //
+ // nUD_SettingsTempMonitorDeviation
+ //
+ this.nUD_SettingsTempMonitorDeviation.DecimalPlaces = 1;
+ this.nUD_SettingsTempMonitorDeviation.Increment = new decimal(new int[] {
+ 1,
+ 0,
+ 0,
+ 65536});
+ this.nUD_SettingsTempMonitorDeviation.Location = new System.Drawing.Point(130, 106);
+ this.nUD_SettingsTempMonitorDeviation.Margin = new System.Windows.Forms.Padding(2);
+ this.nUD_SettingsTempMonitorDeviation.Maximum = new decimal(new int[] {
+ 5,
+ 0,
+ 0,
+ 0});
+ this.nUD_SettingsTempMonitorDeviation.Name = "nUD_SettingsTempMonitorDeviation";
+ this.nUD_SettingsTempMonitorDeviation.Size = new System.Drawing.Size(96, 20);
+ this.nUD_SettingsTempMonitorDeviation.TabIndex = 5;
+ this.nUD_SettingsTempMonitorDeviation.Value = new decimal(new int[] {
+ 5,
+ 0,
+ 0,
+ 65536});
+ //
+ // nUD_SettingsTempMonitorLowerValue
+ //
+ this.nUD_SettingsTempMonitorLowerValue.DecimalPlaces = 1;
+ this.nUD_SettingsTempMonitorLowerValue.Increment = new decimal(new int[] {
+ 1,
+ 0,
+ 0,
+ 65536});
+ this.nUD_SettingsTempMonitorLowerValue.Location = new System.Drawing.Point(130, 67);
+ this.nUD_SettingsTempMonitorLowerValue.Margin = new System.Windows.Forms.Padding(2);
+ this.nUD_SettingsTempMonitorLowerValue.Maximum = new decimal(new int[] {
+ 30,
+ 0,
+ 0,
+ 0});
+ this.nUD_SettingsTempMonitorLowerValue.Name = "nUD_SettingsTempMonitorLowerValue";
+ this.nUD_SettingsTempMonitorLowerValue.Size = new System.Drawing.Size(96, 20);
+ this.nUD_SettingsTempMonitorLowerValue.TabIndex = 4;
+ this.nUD_SettingsTempMonitorLowerValue.Value = new decimal(new int[] {
+ 10,
+ 0,
+ 0,
+ 0});
+ //
+ // nUD_SettingsTempMonitorUpperValue
+ //
+ this.nUD_SettingsTempMonitorUpperValue.DecimalPlaces = 1;
+ this.nUD_SettingsTempMonitorUpperValue.Increment = new decimal(new int[] {
+ 1,
+ 0,
+ 0,
+ 65536});
+ this.nUD_SettingsTempMonitorUpperValue.Location = new System.Drawing.Point(130, 34);
+ this.nUD_SettingsTempMonitorUpperValue.Margin = new System.Windows.Forms.Padding(2);
+ this.nUD_SettingsTempMonitorUpperValue.Maximum = new decimal(new int[] {
+ 50,
+ 0,
+ 0,
+ 0});
+ this.nUD_SettingsTempMonitorUpperValue.Name = "nUD_SettingsTempMonitorUpperValue";
+ this.nUD_SettingsTempMonitorUpperValue.Size = new System.Drawing.Size(96, 20);
+ this.nUD_SettingsTempMonitorUpperValue.TabIndex = 3;
+ this.nUD_SettingsTempMonitorUpperValue.Value = new decimal(new int[] {
+ 35,
+ 0,
+ 0,
+ 0});
+ //
+ // l_SettingsTempMonitorDeviation
+ //
+ this.l_SettingsTempMonitorDeviation.AutoSize = true;
+ this.l_SettingsTempMonitorDeviation.Location = new System.Drawing.Point(24, 106);
+ this.l_SettingsTempMonitorDeviation.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_SettingsTempMonitorDeviation.Name = "l_SettingsTempMonitorDeviation";
+ this.l_SettingsTempMonitorDeviation.Size = new System.Drawing.Size(75, 13);
+ this.l_SettingsTempMonitorDeviation.TabIndex = 2;
+ this.l_SettingsTempMonitorDeviation.Text = "Deviation [°C]:";
+ //
+ // l_SettingsTempMonitorLowerValue
+ //
+ this.l_SettingsTempMonitorLowerValue.AutoSize = true;
+ this.l_SettingsTempMonitorLowerValue.Location = new System.Drawing.Point(24, 67);
+ this.l_SettingsTempMonitorLowerValue.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_SettingsTempMonitorLowerValue.Name = "l_SettingsTempMonitorLowerValue";
+ this.l_SettingsTempMonitorLowerValue.Size = new System.Drawing.Size(89, 13);
+ this.l_SettingsTempMonitorLowerValue.TabIndex = 1;
+ this.l_SettingsTempMonitorLowerValue.Text = "Lower Value [°C]:";
+ //
+ // l_SettingsTempMonitorUpperValue
+ //
+ this.l_SettingsTempMonitorUpperValue.AutoSize = true;
+ this.l_SettingsTempMonitorUpperValue.Location = new System.Drawing.Point(24, 34);
+ this.l_SettingsTempMonitorUpperValue.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_SettingsTempMonitorUpperValue.Name = "l_SettingsTempMonitorUpperValue";
+ this.l_SettingsTempMonitorUpperValue.Size = new System.Drawing.Size(89, 13);
+ this.l_SettingsTempMonitorUpperValue.TabIndex = 0;
+ this.l_SettingsTempMonitorUpperValue.Text = "Upper Value [°C]:";
+ //
+ // gB_Settings_TemperatureCalibration
+ //
+ this.gB_Settings_TemperatureCalibration.Controls.Add(this.cB_TempOnly);
+ this.gB_Settings_TemperatureCalibration.Controls.Add(this.cB_TempManualAcquisition);
+ this.gB_Settings_TemperatureCalibration.Controls.Add(this.lThermo2);
+ this.gB_Settings_TemperatureCalibration.Controls.Add(this.lPasswordThermo1);
+ this.gB_Settings_TemperatureCalibration.Controls.Add(this.tB_PasswordThermo2);
+ this.gB_Settings_TemperatureCalibration.Controls.Add(this.tB_PasswordThermo1);
+ this.gB_Settings_TemperatureCalibration.Location = new System.Drawing.Point(624, 72);
+ this.gB_Settings_TemperatureCalibration.Margin = new System.Windows.Forms.Padding(2);
+ this.gB_Settings_TemperatureCalibration.Name = "gB_Settings_TemperatureCalibration";
+ this.gB_Settings_TemperatureCalibration.Padding = new System.Windows.Forms.Padding(2);
+ this.gB_Settings_TemperatureCalibration.Size = new System.Drawing.Size(272, 144);
+ this.gB_Settings_TemperatureCalibration.TabIndex = 28;
+ this.gB_Settings_TemperatureCalibration.TabStop = false;
+ this.gB_Settings_TemperatureCalibration.Text = "Temperature Calibration";
+ //
+ // cB_TempOnly
+ //
+ this.cB_TempOnly.AutoSize = true;
+ this.cB_TempOnly.Location = new System.Drawing.Point(42, 96);
+ this.cB_TempOnly.Margin = new System.Windows.Forms.Padding(2);
+ this.cB_TempOnly.Name = "cB_TempOnly";
+ this.cB_TempOnly.Size = new System.Drawing.Size(126, 17);
+ this.cB_TempOnly.TabIndex = 18;
+ this.cB_TempOnly.Text = "Temp calibration only";
+ this.cB_TempOnly.UseVisualStyleBackColor = true;
+ //
+ // cB_TempManualAcquisition
+ //
+ this.cB_TempManualAcquisition.AutoSize = true;
+ this.cB_TempManualAcquisition.Checked = true;
+ this.cB_TempManualAcquisition.CheckState = System.Windows.Forms.CheckState.Checked;
+ this.cB_TempManualAcquisition.Location = new System.Drawing.Point(42, 117);
+ this.cB_TempManualAcquisition.Margin = new System.Windows.Forms.Padding(2);
+ this.cB_TempManualAcquisition.Name = "cB_TempManualAcquisition";
+ this.cB_TempManualAcquisition.Size = new System.Drawing.Size(178, 17);
+ this.cB_TempManualAcquisition.TabIndex = 17;
+ this.cB_TempManualAcquisition.Text = "Manual Temperature Acquisition";
+ this.cB_TempManualAcquisition.UseVisualStyleBackColor = true;
+ //
+ // lThermo2
+ //
+ this.lThermo2.AutoSize = true;
+ this.lThermo2.Location = new System.Drawing.Point(18, 69);
+ this.lThermo2.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.lThermo2.Name = "lThermo2";
+ this.lThermo2.Size = new System.Drawing.Size(52, 13);
+ this.lThermo2.TabIndex = 16;
+ this.lThermo2.Text = "Thermo2:";
+ //
+ // lPasswordThermo1
+ //
+ this.lPasswordThermo1.AutoSize = true;
+ this.lPasswordThermo1.Location = new System.Drawing.Point(18, 35);
+ this.lPasswordThermo1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.lPasswordThermo1.Name = "lPasswordThermo1";
+ this.lPasswordThermo1.Size = new System.Drawing.Size(52, 13);
+ this.lPasswordThermo1.TabIndex = 15;
+ this.lPasswordThermo1.Text = "Thermo1:";
+ //
+ // tB_PasswordThermo2
+ //
+ this.tB_PasswordThermo2.Location = new System.Drawing.Point(90, 64);
+ this.tB_PasswordThermo2.Margin = new System.Windows.Forms.Padding(2);
+ this.tB_PasswordThermo2.Name = "tB_PasswordThermo2";
+ this.tB_PasswordThermo2.Size = new System.Drawing.Size(121, 20);
+ this.tB_PasswordThermo2.TabIndex = 14;
+ //
+ // tB_PasswordThermo1
+ //
+ this.tB_PasswordThermo1.Location = new System.Drawing.Point(90, 35);
+ this.tB_PasswordThermo1.Margin = new System.Windows.Forms.Padding(2);
+ this.tB_PasswordThermo1.Name = "tB_PasswordThermo1";
+ this.tB_PasswordThermo1.Size = new System.Drawing.Size(121, 20);
+ this.tB_PasswordThermo1.TabIndex = 13;
+ //
+ // gB_Passwords
+ //
+ this.gB_Passwords.Controls.Add(this.tB_PasswordMeter5);
+ this.gB_Passwords.Controls.Add(this.tB_PasswordMeter10);
+ this.gB_Passwords.Controls.Add(this.tB_PasswordMeter9);
+ this.gB_Passwords.Controls.Add(this.tB_PasswordMeter8);
+ this.gB_Passwords.Controls.Add(this.tB_PasswordMeter7);
+ this.gB_Passwords.Controls.Add(this.tB_PasswordMeter6);
+ this.gB_Passwords.Controls.Add(this.tB_PasswordMeter4);
+ this.gB_Passwords.Controls.Add(this.tB_PasswordMeter3);
+ this.gB_Passwords.Controls.Add(this.tB_PasswordMeter2);
+ this.gB_Passwords.Controls.Add(this.tB_PasswordMeter1);
+ this.gB_Passwords.Controls.Add(this.l_PasswordMeter10);
+ this.gB_Passwords.Controls.Add(this.l_PasswordMeter9);
+ this.gB_Passwords.Controls.Add(this.l_PasswordMeter8);
+ this.gB_Passwords.Controls.Add(this.l_PasswordMeter7);
+ this.gB_Passwords.Controls.Add(this.l_PasswordMeter6);
+ this.gB_Passwords.Controls.Add(this.l_PasswordMeter5);
+ this.gB_Passwords.Controls.Add(this.l_PasswordMeter4);
+ this.gB_Passwords.Controls.Add(this.l_PasswordMeter3);
+ this.gB_Passwords.Controls.Add(this.l_PasswordMeter2);
+ this.gB_Passwords.Controls.Add(this.l_PasswordMeter1);
+ this.gB_Passwords.Location = new System.Drawing.Point(40, 352);
+ this.gB_Passwords.Margin = new System.Windows.Forms.Padding(2);
+ this.gB_Passwords.Name = "gB_Passwords";
+ this.gB_Passwords.Padding = new System.Windows.Forms.Padding(2);
+ this.gB_Passwords.Size = new System.Drawing.Size(272, 288);
+ this.gB_Passwords.TabIndex = 30;
+ this.gB_Passwords.TabStop = false;
+ this.gB_Passwords.Text = "_externPasswords";
+ //
+ // tB_PasswordMeter5
+ //
+ this.tB_PasswordMeter5.Location = new System.Drawing.Point(106, 130);
+ this.tB_PasswordMeter5.Margin = new System.Windows.Forms.Padding(2);
+ this.tB_PasswordMeter5.Name = "tB_PasswordMeter5";
+ this.tB_PasswordMeter5.Size = new System.Drawing.Size(130, 20);
+ this.tB_PasswordMeter5.TabIndex = 44;
+ //
+ // tB_PasswordMeter10
+ //
+ this.tB_PasswordMeter10.Location = new System.Drawing.Point(106, 254);
+ this.tB_PasswordMeter10.Margin = new System.Windows.Forms.Padding(2);
+ this.tB_PasswordMeter10.Name = "tB_PasswordMeter10";
+ this.tB_PasswordMeter10.Size = new System.Drawing.Size(130, 20);
+ this.tB_PasswordMeter10.TabIndex = 43;
+ //
+ // tB_PasswordMeter9
+ //
+ this.tB_PasswordMeter9.Location = new System.Drawing.Point(106, 230);
+ this.tB_PasswordMeter9.Margin = new System.Windows.Forms.Padding(2);
+ this.tB_PasswordMeter9.Name = "tB_PasswordMeter9";
+ this.tB_PasswordMeter9.Size = new System.Drawing.Size(130, 20);
+ this.tB_PasswordMeter9.TabIndex = 42;
+ //
+ // tB_PasswordMeter8
+ //
+ this.tB_PasswordMeter8.Location = new System.Drawing.Point(106, 206);
+ this.tB_PasswordMeter8.Margin = new System.Windows.Forms.Padding(2);
+ this.tB_PasswordMeter8.Name = "tB_PasswordMeter8";
+ this.tB_PasswordMeter8.Size = new System.Drawing.Size(130, 20);
+ this.tB_PasswordMeter8.TabIndex = 41;
+ //
+ // tB_PasswordMeter7
+ //
+ this.tB_PasswordMeter7.Location = new System.Drawing.Point(106, 178);
+ this.tB_PasswordMeter7.Margin = new System.Windows.Forms.Padding(2);
+ this.tB_PasswordMeter7.Name = "tB_PasswordMeter7";
+ this.tB_PasswordMeter7.Size = new System.Drawing.Size(130, 20);
+ this.tB_PasswordMeter7.TabIndex = 40;
+ //
+ // tB_PasswordMeter6
+ //
+ this.tB_PasswordMeter6.Location = new System.Drawing.Point(106, 154);
+ this.tB_PasswordMeter6.Margin = new System.Windows.Forms.Padding(2);
+ this.tB_PasswordMeter6.Name = "tB_PasswordMeter6";
+ this.tB_PasswordMeter6.Size = new System.Drawing.Size(130, 20);
+ this.tB_PasswordMeter6.TabIndex = 39;
+ //
+ // tB_PasswordMeter4
+ //
+ this.tB_PasswordMeter4.Location = new System.Drawing.Point(106, 106);
+ this.tB_PasswordMeter4.Margin = new System.Windows.Forms.Padding(2);
+ this.tB_PasswordMeter4.Name = "tB_PasswordMeter4";
+ this.tB_PasswordMeter4.Size = new System.Drawing.Size(130, 20);
+ this.tB_PasswordMeter4.TabIndex = 37;
+ //
+ // tB_PasswordMeter3
+ //
+ this.tB_PasswordMeter3.Location = new System.Drawing.Point(106, 77);
+ this.tB_PasswordMeter3.Margin = new System.Windows.Forms.Padding(2);
+ this.tB_PasswordMeter3.Name = "tB_PasswordMeter3";
+ this.tB_PasswordMeter3.Size = new System.Drawing.Size(130, 20);
+ this.tB_PasswordMeter3.TabIndex = 36;
+ //
+ // tB_PasswordMeter2
+ //
+ this.tB_PasswordMeter2.Location = new System.Drawing.Point(106, 53);
+ this.tB_PasswordMeter2.Margin = new System.Windows.Forms.Padding(2);
+ this.tB_PasswordMeter2.Name = "tB_PasswordMeter2";
+ this.tB_PasswordMeter2.Size = new System.Drawing.Size(130, 20);
+ this.tB_PasswordMeter2.TabIndex = 35;
+ //
+ // tB_PasswordMeter1
+ //
+ this.tB_PasswordMeter1.Location = new System.Drawing.Point(106, 29);
+ this.tB_PasswordMeter1.Margin = new System.Windows.Forms.Padding(2);
+ this.tB_PasswordMeter1.Name = "tB_PasswordMeter1";
+ this.tB_PasswordMeter1.Size = new System.Drawing.Size(130, 20);
+ this.tB_PasswordMeter1.TabIndex = 34;
+ //
+ // l_PasswordMeter10
+ //
+ this.l_PasswordMeter10.AutoSize = true;
+ this.l_PasswordMeter10.Location = new System.Drawing.Point(28, 254);
+ this.l_PasswordMeter10.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_PasswordMeter10.Name = "l_PasswordMeter10";
+ this.l_PasswordMeter10.Size = new System.Drawing.Size(60, 13);
+ this.l_PasswordMeter10.TabIndex = 33;
+ this.l_PasswordMeter10.Text = "METER10:";
+ //
+ // l_PasswordMeter9
+ //
+ this.l_PasswordMeter9.AutoSize = true;
+ this.l_PasswordMeter9.Location = new System.Drawing.Point(28, 230);
+ this.l_PasswordMeter9.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_PasswordMeter9.Name = "l_PasswordMeter9";
+ this.l_PasswordMeter9.Size = new System.Drawing.Size(54, 13);
+ this.l_PasswordMeter9.TabIndex = 32;
+ this.l_PasswordMeter9.Text = "METER9:";
+ //
+ // l_PasswordMeter8
+ //
+ this.l_PasswordMeter8.AutoSize = true;
+ this.l_PasswordMeter8.Location = new System.Drawing.Point(28, 205);
+ this.l_PasswordMeter8.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_PasswordMeter8.Name = "l_PasswordMeter8";
+ this.l_PasswordMeter8.Size = new System.Drawing.Size(54, 13);
+ this.l_PasswordMeter8.TabIndex = 31;
+ this.l_PasswordMeter8.Text = "METER8:";
+ //
+ // l_PasswordMeter7
+ //
+ this.l_PasswordMeter7.AutoSize = true;
+ this.l_PasswordMeter7.Location = new System.Drawing.Point(28, 180);
+ this.l_PasswordMeter7.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_PasswordMeter7.Name = "l_PasswordMeter7";
+ this.l_PasswordMeter7.Size = new System.Drawing.Size(54, 13);
+ this.l_PasswordMeter7.TabIndex = 30;
+ this.l_PasswordMeter7.Text = "METER7:";
+ //
+ // l_PasswordMeter6
+ //
+ this.l_PasswordMeter6.AutoSize = true;
+ this.l_PasswordMeter6.Location = new System.Drawing.Point(28, 155);
+ this.l_PasswordMeter6.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_PasswordMeter6.Name = "l_PasswordMeter6";
+ this.l_PasswordMeter6.Size = new System.Drawing.Size(54, 13);
+ this.l_PasswordMeter6.TabIndex = 29;
+ this.l_PasswordMeter6.Text = "METER6:";
+ //
+ // l_PasswordMeter5
+ //
+ this.l_PasswordMeter5.AutoSize = true;
+ this.l_PasswordMeter5.Location = new System.Drawing.Point(28, 130);
+ this.l_PasswordMeter5.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_PasswordMeter5.Name = "l_PasswordMeter5";
+ this.l_PasswordMeter5.Size = new System.Drawing.Size(54, 13);
+ this.l_PasswordMeter5.TabIndex = 28;
+ this.l_PasswordMeter5.Text = "METER5:";
+ //
+ // l_PasswordMeter4
+ //
+ this.l_PasswordMeter4.AutoSize = true;
+ this.l_PasswordMeter4.Location = new System.Drawing.Point(28, 106);
+ this.l_PasswordMeter4.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_PasswordMeter4.Name = "l_PasswordMeter4";
+ this.l_PasswordMeter4.Size = new System.Drawing.Size(54, 13);
+ this.l_PasswordMeter4.TabIndex = 27;
+ this.l_PasswordMeter4.Text = "METER4:";
+ //
+ // l_PasswordMeter3
+ //
+ this.l_PasswordMeter3.AutoSize = true;
+ this.l_PasswordMeter3.Location = new System.Drawing.Point(28, 81);
+ this.l_PasswordMeter3.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_PasswordMeter3.Name = "l_PasswordMeter3";
+ this.l_PasswordMeter3.Size = new System.Drawing.Size(54, 13);
+ this.l_PasswordMeter3.TabIndex = 26;
+ this.l_PasswordMeter3.Text = "METER3:";
+ //
+ // l_PasswordMeter2
+ //
+ this.l_PasswordMeter2.AutoSize = true;
+ this.l_PasswordMeter2.Location = new System.Drawing.Point(28, 56);
+ this.l_PasswordMeter2.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_PasswordMeter2.Name = "l_PasswordMeter2";
+ this.l_PasswordMeter2.Size = new System.Drawing.Size(54, 13);
+ this.l_PasswordMeter2.TabIndex = 25;
+ this.l_PasswordMeter2.Text = "METER2:";
+ //
+ // l_PasswordMeter1
+ //
+ this.l_PasswordMeter1.AutoSize = true;
+ this.l_PasswordMeter1.Location = new System.Drawing.Point(28, 31);
+ this.l_PasswordMeter1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_PasswordMeter1.Name = "l_PasswordMeter1";
+ this.l_PasswordMeter1.Size = new System.Drawing.Size(54, 13);
+ this.l_PasswordMeter1.TabIndex = 24;
+ this.l_PasswordMeter1.Text = "METER1:";
+ //
+ // gB_Settings_Preparation
+ //
+ this.gB_Settings_Preparation.Controls.Add(this.nUD_Settings_Samplerate);
+ this.gB_Settings_Preparation.Controls.Add(this.label1);
+ this.gB_Settings_Preparation.Controls.Add(this.nUD_Settings_Preparation_StabiTime);
+ this.gB_Settings_Preparation.Controls.Add(this.l_Settings_Preparation_StabiTime);
+ this.gB_Settings_Preparation.Location = new System.Drawing.Point(336, 270);
+ this.gB_Settings_Preparation.Margin = new System.Windows.Forms.Padding(2);
+ this.gB_Settings_Preparation.Name = "gB_Settings_Preparation";
+ this.gB_Settings_Preparation.Padding = new System.Windows.Forms.Padding(2);
+ this.gB_Settings_Preparation.Size = new System.Drawing.Size(272, 87);
+ this.gB_Settings_Preparation.TabIndex = 29;
+ this.gB_Settings_Preparation.TabStop = false;
+ this.gB_Settings_Preparation.Text = "Preparation";
+ //
+ // nUD_Settings_Samplerate
+ //
+ this.nUD_Settings_Samplerate.Location = new System.Drawing.Point(168, 46);
+ this.nUD_Settings_Samplerate.Margin = new System.Windows.Forms.Padding(2);
+ this.nUD_Settings_Samplerate.Maximum = new decimal(new int[] {
+ 25,
+ 0,
+ 0,
+ 0});
+ this.nUD_Settings_Samplerate.Minimum = new decimal(new int[] {
+ 10,
+ 0,
+ 0,
+ 0});
+ this.nUD_Settings_Samplerate.Name = "nUD_Settings_Samplerate";
+ this.nUD_Settings_Samplerate.Size = new System.Drawing.Size(62, 20);
+ this.nUD_Settings_Samplerate.TabIndex = 19;
+ this.nUD_Settings_Samplerate.Value = new decimal(new int[] {
+ 10,
+ 0,
+ 0,
+ 0});
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Location = new System.Drawing.Point(24, 48);
+ this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(71, 13);
+ this.label1.TabIndex = 20;
+ this.label1.Text = "Sample Rate:";
+ //
+ // nUD_Settings_Preparation_StabiTime
+ //
+ this.nUD_Settings_Preparation_StabiTime.Location = new System.Drawing.Point(168, 22);
+ this.nUD_Settings_Preparation_StabiTime.Margin = new System.Windows.Forms.Padding(2);
+ this.nUD_Settings_Preparation_StabiTime.Maximum = new decimal(new int[] {
+ 2000,
+ 0,
+ 0,
+ 0});
+ this.nUD_Settings_Preparation_StabiTime.Minimum = new decimal(new int[] {
+ 5,
+ 0,
+ 0,
+ 0});
+ this.nUD_Settings_Preparation_StabiTime.Name = "nUD_Settings_Preparation_StabiTime";
+ this.nUD_Settings_Preparation_StabiTime.Size = new System.Drawing.Size(62, 20);
+ this.nUD_Settings_Preparation_StabiTime.TabIndex = 18;
+ this.nUD_Settings_Preparation_StabiTime.Value = new decimal(new int[] {
+ 6,
+ 0,
+ 0,
+ 0});
+ //
+ // l_Settings_Preparation_StabiTime
+ //
+ this.l_Settings_Preparation_StabiTime.AutoSize = true;
+ this.l_Settings_Preparation_StabiTime.Location = new System.Drawing.Point(24, 24);
+ this.l_Settings_Preparation_StabiTime.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_Settings_Preparation_StabiTime.Name = "l_Settings_Preparation_StabiTime";
+ this.l_Settings_Preparation_StabiTime.Size = new System.Drawing.Size(106, 13);
+ this.l_Settings_Preparation_StabiTime.TabIndex = 18;
+ this.l_Settings_Preparation_StabiTime.Text = "Stabilization Time (s):";
+ //
+ // gB_Settings_ZeroflowOffsetTest
+ //
+ this.gB_Settings_ZeroflowOffsetTest.Controls.Add(this.cB_OffsetTestLogFiles);
+ this.gB_Settings_ZeroflowOffsetTest.Controls.Add(this.nUD_Settings_ZeroflowOffsetTestActivityCheckInterval);
+ this.gB_Settings_ZeroflowOffsetTest.Controls.Add(this.l_Settings_ZeroflowOffsetTestActivityCheckInterval);
+ this.gB_Settings_ZeroflowOffsetTest.Controls.Add(this.l_Settings_ZeroflowOffsetTestNumberOfLines);
+ this.gB_Settings_ZeroflowOffsetTest.Controls.Add(this.nUD_Settings_ZeroflowOffsetTestNumberOfLines);
+ this.gB_Settings_ZeroflowOffsetTest.Controls.Add(this.l_Settings_ZeroFlowTestSettlingTime);
+ this.gB_Settings_ZeroflowOffsetTest.Controls.Add(this.nUD_Settings_ZeroflowOffsetTestSettlingTime);
+ this.gB_Settings_ZeroflowOffsetTest.Controls.Add(this.l_Settings_ZeroFlowTestOffsetLimit);
+ this.gB_Settings_ZeroflowOffsetTest.Controls.Add(this.nUD_Settings_ZeroflowOffsetTestOffsetLimit);
+ this.gB_Settings_ZeroflowOffsetTest.Controls.Add(this.l_Settings_ZeroflowOffsetTestLowerLimit);
+ this.gB_Settings_ZeroflowOffsetTest.Controls.Add(this.l_Settings_ZeroflowOffsetTestUpperLimit);
+ this.gB_Settings_ZeroflowOffsetTest.Controls.Add(this.nUD_Settings_ZeroflowOffsetTestLowerLimit);
+ this.gB_Settings_ZeroflowOffsetTest.Controls.Add(this.nUD_Settings_ZeroflowOffsetTestUpperLimit);
+ this.gB_Settings_ZeroflowOffsetTest.Location = new System.Drawing.Point(332, 28);
+ this.gB_Settings_ZeroflowOffsetTest.Margin = new System.Windows.Forms.Padding(2);
+ this.gB_Settings_ZeroflowOffsetTest.Name = "gB_Settings_ZeroflowOffsetTest";
+ this.gB_Settings_ZeroflowOffsetTest.Padding = new System.Windows.Forms.Padding(2);
+ this.gB_Settings_ZeroflowOffsetTest.Size = new System.Drawing.Size(272, 229);
+ this.gB_Settings_ZeroflowOffsetTest.TabIndex = 28;
+ this.gB_Settings_ZeroflowOffsetTest.TabStop = false;
+ this.gB_Settings_ZeroflowOffsetTest.Text = "Zeroflow Offset Test";
+ //
+ // cB_OffsetTestLogFiles
+ //
+ this.cB_OffsetTestLogFiles.AutoSize = true;
+ this.cB_OffsetTestLogFiles.Checked = true;
+ this.cB_OffsetTestLogFiles.CheckState = System.Windows.Forms.CheckState.Checked;
+ this.cB_OffsetTestLogFiles.Location = new System.Drawing.Point(58, 31);
+ this.cB_OffsetTestLogFiles.Margin = new System.Windows.Forms.Padding(2);
+ this.cB_OffsetTestLogFiles.Name = "cB_OffsetTestLogFiles";
+ this.cB_OffsetTestLogFiles.Size = new System.Drawing.Size(115, 17);
+ this.cB_OffsetTestLogFiles.TabIndex = 18;
+ this.cB_OffsetTestLogFiles.Text = "Generate Log Files";
+ this.cB_OffsetTestLogFiles.UseVisualStyleBackColor = true;
+ //
+ // nUD_Settings_ZeroflowOffsetTestActivityCheckInterval
+ //
+ this.nUD_Settings_ZeroflowOffsetTestActivityCheckInterval.Location = new System.Drawing.Point(168, 192);
+ this.nUD_Settings_ZeroflowOffsetTestActivityCheckInterval.Margin = new System.Windows.Forms.Padding(2);
+ this.nUD_Settings_ZeroflowOffsetTestActivityCheckInterval.Maximum = new decimal(new int[] {
+ 15,
+ 0,
+ 0,
+ 0});
+ this.nUD_Settings_ZeroflowOffsetTestActivityCheckInterval.Minimum = new decimal(new int[] {
+ 1,
+ 0,
+ 0,
+ 0});
+ this.nUD_Settings_ZeroflowOffsetTestActivityCheckInterval.Name = "nUD_Settings_ZeroflowOffsetTestActivityCheckInterval";
+ this.nUD_Settings_ZeroflowOffsetTestActivityCheckInterval.Size = new System.Drawing.Size(62, 20);
+ this.nUD_Settings_ZeroflowOffsetTestActivityCheckInterval.TabIndex = 19;
+ this.nUD_Settings_ZeroflowOffsetTestActivityCheckInterval.Value = new decimal(new int[] {
+ 2,
+ 0,
+ 0,
+ 0});
+ //
+ // l_Settings_ZeroflowOffsetTestActivityCheckInterval
+ //
+ this.l_Settings_ZeroflowOffsetTestActivityCheckInterval.AutoSize = true;
+ this.l_Settings_ZeroflowOffsetTestActivityCheckInterval.Location = new System.Drawing.Point(25, 194);
+ this.l_Settings_ZeroflowOffsetTestActivityCheckInterval.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_Settings_ZeroflowOffsetTestActivityCheckInterval.Name = "l_Settings_ZeroflowOffsetTestActivityCheckInterval";
+ this.l_Settings_ZeroflowOffsetTestActivityCheckInterval.Size = new System.Drawing.Size(130, 13);
+ this.l_Settings_ZeroflowOffsetTestActivityCheckInterval.TabIndex = 18;
+ this.l_Settings_ZeroflowOffsetTestActivityCheckInterval.Text = "Activity Check Interval (s):";
+ //
+ // l_Settings_ZeroflowOffsetTestNumberOfLines
+ //
+ this.l_Settings_ZeroflowOffsetTestNumberOfLines.AutoSize = true;
+ this.l_Settings_ZeroflowOffsetTestNumberOfLines.Location = new System.Drawing.Point(25, 170);
+ this.l_Settings_ZeroflowOffsetTestNumberOfLines.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_Settings_ZeroflowOffsetTestNumberOfLines.Name = "l_Settings_ZeroflowOffsetTestNumberOfLines";
+ this.l_Settings_ZeroflowOffsetTestNumberOfLines.Size = new System.Drawing.Size(83, 13);
+ this.l_Settings_ZeroflowOffsetTestNumberOfLines.TabIndex = 17;
+ this.l_Settings_ZeroflowOffsetTestNumberOfLines.Text = "Number of lines:";
+ //
+ // nUD_Settings_ZeroflowOffsetTestNumberOfLines
+ //
+ this.nUD_Settings_ZeroflowOffsetTestNumberOfLines.Location = new System.Drawing.Point(168, 168);
+ this.nUD_Settings_ZeroflowOffsetTestNumberOfLines.Margin = new System.Windows.Forms.Padding(2);
+ this.nUD_Settings_ZeroflowOffsetTestNumberOfLines.Maximum = new decimal(new int[] {
+ 50000,
+ 0,
+ 0,
+ 0});
+ this.nUD_Settings_ZeroflowOffsetTestNumberOfLines.Minimum = new decimal(new int[] {
+ 1,
+ 0,
+ 0,
+ 0});
+ this.nUD_Settings_ZeroflowOffsetTestNumberOfLines.Name = "nUD_Settings_ZeroflowOffsetTestNumberOfLines";
+ this.nUD_Settings_ZeroflowOffsetTestNumberOfLines.Size = new System.Drawing.Size(62, 20);
+ this.nUD_Settings_ZeroflowOffsetTestNumberOfLines.TabIndex = 16;
+ this.nUD_Settings_ZeroflowOffsetTestNumberOfLines.Value = new decimal(new int[] {
+ 9000,
+ 0,
+ 0,
+ 0});
+ //
+ // l_Settings_ZeroFlowTestSettlingTime
+ //
+ this.l_Settings_ZeroFlowTestSettlingTime.AutoSize = true;
+ this.l_Settings_ZeroFlowTestSettlingTime.Location = new System.Drawing.Point(25, 144);
+ this.l_Settings_ZeroFlowTestSettlingTime.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_Settings_ZeroFlowTestSettlingTime.Name = "l_Settings_ZeroFlowTestSettlingTime";
+ this.l_Settings_ZeroFlowTestSettlingTime.Size = new System.Drawing.Size(81, 13);
+ this.l_Settings_ZeroFlowTestSettlingTime.TabIndex = 15;
+ this.l_Settings_ZeroFlowTestSettlingTime.Text = "Settling time (s):";
+ //
+ // nUD_Settings_ZeroflowOffsetTestSettlingTime
+ //
+ this.nUD_Settings_ZeroflowOffsetTestSettlingTime.Location = new System.Drawing.Point(168, 142);
+ this.nUD_Settings_ZeroflowOffsetTestSettlingTime.Margin = new System.Windows.Forms.Padding(2);
+ this.nUD_Settings_ZeroflowOffsetTestSettlingTime.Maximum = new decimal(new int[] {
+ 2000,
+ 0,
+ 0,
+ 0});
+ this.nUD_Settings_ZeroflowOffsetTestSettlingTime.Name = "nUD_Settings_ZeroflowOffsetTestSettlingTime";
+ this.nUD_Settings_ZeroflowOffsetTestSettlingTime.Size = new System.Drawing.Size(62, 20);
+ this.nUD_Settings_ZeroflowOffsetTestSettlingTime.TabIndex = 14;
+ this.nUD_Settings_ZeroflowOffsetTestSettlingTime.Value = new decimal(new int[] {
+ 60,
+ 0,
+ 0,
+ 0});
+ //
+ // l_Settings_ZeroFlowTestOffsetLimit
+ //
+ this.l_Settings_ZeroFlowTestOffsetLimit.AutoSize = true;
+ this.l_Settings_ZeroFlowTestOffsetLimit.Location = new System.Drawing.Point(25, 119);
+ this.l_Settings_ZeroFlowTestOffsetLimit.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_Settings_ZeroFlowTestOffsetLimit.Name = "l_Settings_ZeroFlowTestOffsetLimit";
+ this.l_Settings_ZeroFlowTestOffsetLimit.Size = new System.Drawing.Size(82, 13);
+ this.l_Settings_ZeroFlowTestOffsetLimit.TabIndex = 13;
+ this.l_Settings_ZeroFlowTestOffsetLimit.Text = "Offset Limit (ps):";
+ //
+ // nUD_Settings_ZeroflowOffsetTestOffsetLimit
+ //
+ this.nUD_Settings_ZeroflowOffsetTestOffsetLimit.Location = new System.Drawing.Point(168, 117);
+ this.nUD_Settings_ZeroflowOffsetTestOffsetLimit.Margin = new System.Windows.Forms.Padding(2);
+ this.nUD_Settings_ZeroflowOffsetTestOffsetLimit.Maximum = new decimal(new int[] {
+ 600,
+ 0,
+ 0,
+ 0});
+ this.nUD_Settings_ZeroflowOffsetTestOffsetLimit.Minimum = new decimal(new int[] {
+ 50,
+ 0,
+ 0,
+ 0});
+ this.nUD_Settings_ZeroflowOffsetTestOffsetLimit.Name = "nUD_Settings_ZeroflowOffsetTestOffsetLimit";
+ this.nUD_Settings_ZeroflowOffsetTestOffsetLimit.Size = new System.Drawing.Size(62, 20);
+ this.nUD_Settings_ZeroflowOffsetTestOffsetLimit.TabIndex = 12;
+ this.nUD_Settings_ZeroflowOffsetTestOffsetLimit.Value = new decimal(new int[] {
+ 300,
+ 0,
+ 0,
+ 0});
+ //
+ // l_Settings_ZeroflowOffsetTestLowerLimit
+ //
+ this.l_Settings_ZeroflowOffsetTestLowerLimit.AutoSize = true;
+ this.l_Settings_ZeroflowOffsetTestLowerLimit.Location = new System.Drawing.Point(24, 95);
+ this.l_Settings_ZeroflowOffsetTestLowerLimit.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_Settings_ZeroflowOffsetTestLowerLimit.Name = "l_Settings_ZeroflowOffsetTestLowerLimit";
+ this.l_Settings_ZeroflowOffsetTestLowerLimit.Size = new System.Drawing.Size(126, 13);
+ this.l_Settings_ZeroflowOffsetTestLowerLimit.TabIndex = 3;
+ this.l_Settings_ZeroflowOffsetTestLowerLimit.Text = "Lower Voltage Limit (mV):";
+ //
+ // l_Settings_ZeroflowOffsetTestUpperLimit
+ //
+ this.l_Settings_ZeroflowOffsetTestUpperLimit.AutoSize = true;
+ this.l_Settings_ZeroflowOffsetTestUpperLimit.Location = new System.Drawing.Point(24, 67);
+ this.l_Settings_ZeroflowOffsetTestUpperLimit.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_Settings_ZeroflowOffsetTestUpperLimit.Name = "l_Settings_ZeroflowOffsetTestUpperLimit";
+ this.l_Settings_ZeroflowOffsetTestUpperLimit.Size = new System.Drawing.Size(126, 13);
+ this.l_Settings_ZeroflowOffsetTestUpperLimit.TabIndex = 2;
+ this.l_Settings_ZeroflowOffsetTestUpperLimit.Text = "Upper Voltage Limit (mV):";
+ //
+ // nUD_Settings_ZeroflowOffsetTestLowerLimit
+ //
+ this.nUD_Settings_ZeroflowOffsetTestLowerLimit.Location = new System.Drawing.Point(168, 91);
+ this.nUD_Settings_ZeroflowOffsetTestLowerLimit.Margin = new System.Windows.Forms.Padding(2);
+ this.nUD_Settings_ZeroflowOffsetTestLowerLimit.Maximum = new decimal(new int[] {
+ 600,
+ 0,
+ 0,
+ 0});
+ this.nUD_Settings_ZeroflowOffsetTestLowerLimit.Name = "nUD_Settings_ZeroflowOffsetTestLowerLimit";
+ this.nUD_Settings_ZeroflowOffsetTestLowerLimit.Size = new System.Drawing.Size(62, 20);
+ this.nUD_Settings_ZeroflowOffsetTestLowerLimit.TabIndex = 1;
+ this.nUD_Settings_ZeroflowOffsetTestLowerLimit.Value = new decimal(new int[] {
+ 200,
+ 0,
+ 0,
+ 0});
+ //
+ // nUD_Settings_ZeroflowOffsetTestUpperLimit
+ //
+ this.nUD_Settings_ZeroflowOffsetTestUpperLimit.Location = new System.Drawing.Point(168, 67);
+ this.nUD_Settings_ZeroflowOffsetTestUpperLimit.Margin = new System.Windows.Forms.Padding(2);
+ this.nUD_Settings_ZeroflowOffsetTestUpperLimit.Maximum = new decimal(new int[] {
+ 3000,
+ 0,
+ 0,
+ 0});
+ this.nUD_Settings_ZeroflowOffsetTestUpperLimit.Name = "nUD_Settings_ZeroflowOffsetTestUpperLimit";
+ this.nUD_Settings_ZeroflowOffsetTestUpperLimit.Size = new System.Drawing.Size(62, 20);
+ this.nUD_Settings_ZeroflowOffsetTestUpperLimit.TabIndex = 0;
+ this.nUD_Settings_ZeroflowOffsetTestUpperLimit.Value = new decimal(new int[] {
+ 650,
+ 0,
+ 0,
+ 0});
+ //
+ // gB_Settings_AmplitudeTest
+ //
+ this.gB_Settings_AmplitudeTest.Controls.Add(this.cB_AmpLogFiles);
+ this.gB_Settings_AmplitudeTest.Controls.Add(this.nUD_Settings_AmplitudeActivityCheckInterval);
+ this.gB_Settings_AmplitudeTest.Controls.Add(this.l_Settings_AmplitudeActivityCheckInterval);
+ this.gB_Settings_AmplitudeTest.Controls.Add(this.cB_MeanAmplitudeFiles);
+ this.gB_Settings_AmplitudeTest.Controls.Add(this.nUD_PercentageStop);
+ this.gB_Settings_AmplitudeTest.Controls.Add(this.l_PercentageStop);
+ this.gB_Settings_AmplitudeTest.Controls.Add(this.l_PercentageStart);
+ this.gB_Settings_AmplitudeTest.Controls.Add(this.nUD_PercentageStart);
+ this.gB_Settings_AmplitudeTest.Controls.Add(this.l__Settings_AmplitudeTestMinDistance);
+ this.gB_Settings_AmplitudeTest.Controls.Add(this.nUD_Settings_AmplitudeTestMinDistance);
+ this.gB_Settings_AmplitudeTest.Controls.Add(this.l_Settings_AmplitudeTestLowerLimit);
+ this.gB_Settings_AmplitudeTest.Controls.Add(this.l_Settings_AmplitudeTestUpperLimit);
+ this.gB_Settings_AmplitudeTest.Controls.Add(this.nUD_Settings_AmplitudeTestLowerLimit);
+ this.gB_Settings_AmplitudeTest.Controls.Add(this.nUD_Settings_AmplitudeTestUpperLimit);
+ this.gB_Settings_AmplitudeTest.Location = new System.Drawing.Point(40, 28);
+ this.gB_Settings_AmplitudeTest.Margin = new System.Windows.Forms.Padding(2);
+ this.gB_Settings_AmplitudeTest.Name = "gB_Settings_AmplitudeTest";
+ this.gB_Settings_AmplitudeTest.Padding = new System.Windows.Forms.Padding(2);
+ this.gB_Settings_AmplitudeTest.Size = new System.Drawing.Size(272, 320);
+ this.gB_Settings_AmplitudeTest.TabIndex = 27;
+ this.gB_Settings_AmplitudeTest.TabStop = false;
+ this.gB_Settings_AmplitudeTest.Text = "Amplitude Test";
+ //
+ // cB_AmpLogFiles
+ //
+ this.cB_AmpLogFiles.AutoSize = true;
+ this.cB_AmpLogFiles.Checked = true;
+ this.cB_AmpLogFiles.CheckState = System.Windows.Forms.CheckState.Checked;
+ this.cB_AmpLogFiles.Location = new System.Drawing.Point(42, 38);
+ this.cB_AmpLogFiles.Margin = new System.Windows.Forms.Padding(2);
+ this.cB_AmpLogFiles.Name = "cB_AmpLogFiles";
+ this.cB_AmpLogFiles.Size = new System.Drawing.Size(115, 17);
+ this.cB_AmpLogFiles.TabIndex = 20;
+ this.cB_AmpLogFiles.Text = "Generate Log Files";
+ this.cB_AmpLogFiles.UseVisualStyleBackColor = true;
+ //
+ // nUD_Settings_AmplitudeActivityCheckInterval
+ //
+ this.nUD_Settings_AmplitudeActivityCheckInterval.Location = new System.Drawing.Point(168, 283);
+ this.nUD_Settings_AmplitudeActivityCheckInterval.Margin = new System.Windows.Forms.Padding(2);
+ this.nUD_Settings_AmplitudeActivityCheckInterval.Maximum = new decimal(new int[] {
+ 15,
+ 0,
+ 0,
+ 0});
+ this.nUD_Settings_AmplitudeActivityCheckInterval.Minimum = new decimal(new int[] {
+ 1,
+ 0,
+ 0,
+ 0});
+ this.nUD_Settings_AmplitudeActivityCheckInterval.Name = "nUD_Settings_AmplitudeActivityCheckInterval";
+ this.nUD_Settings_AmplitudeActivityCheckInterval.Size = new System.Drawing.Size(62, 20);
+ this.nUD_Settings_AmplitudeActivityCheckInterval.TabIndex = 20;
+ this.nUD_Settings_AmplitudeActivityCheckInterval.Value = new decimal(new int[] {
+ 2,
+ 0,
+ 0,
+ 0});
+ //
+ // l_Settings_AmplitudeActivityCheckInterval
+ //
+ this.l_Settings_AmplitudeActivityCheckInterval.AutoSize = true;
+ this.l_Settings_AmplitudeActivityCheckInterval.Location = new System.Drawing.Point(19, 283);
+ this.l_Settings_AmplitudeActivityCheckInterval.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_Settings_AmplitudeActivityCheckInterval.Name = "l_Settings_AmplitudeActivityCheckInterval";
+ this.l_Settings_AmplitudeActivityCheckInterval.Size = new System.Drawing.Size(130, 13);
+ this.l_Settings_AmplitudeActivityCheckInterval.TabIndex = 20;
+ this.l_Settings_AmplitudeActivityCheckInterval.Text = "Activity Check Interval (s):";
+ //
+ // cB_MeanAmplitudeFiles
+ //
+ this.cB_MeanAmplitudeFiles.AutoSize = true;
+ this.cB_MeanAmplitudeFiles.Checked = true;
+ this.cB_MeanAmplitudeFiles.CheckState = System.Windows.Forms.CheckState.Checked;
+ this.cB_MeanAmplitudeFiles.Location = new System.Drawing.Point(43, 67);
+ this.cB_MeanAmplitudeFiles.Margin = new System.Windows.Forms.Padding(2);
+ this.cB_MeanAmplitudeFiles.Name = "cB_MeanAmplitudeFiles";
+ this.cB_MeanAmplitudeFiles.Size = new System.Drawing.Size(154, 17);
+ this.cB_MeanAmplitudeFiles.TabIndex = 10;
+ this.cB_MeanAmplitudeFiles.Text = "Generate Mean Value Files";
+ this.cB_MeanAmplitudeFiles.UseVisualStyleBackColor = true;
+ //
+ // nUD_PercentageStop
+ //
+ this.nUD_PercentageStop.Location = new System.Drawing.Point(168, 250);
+ this.nUD_PercentageStop.Margin = new System.Windows.Forms.Padding(2);
+ this.nUD_PercentageStop.Maximum = new decimal(new int[] {
+ 50,
+ 0,
+ 0,
+ 0});
+ this.nUD_PercentageStop.Minimum = new decimal(new int[] {
+ 30,
+ 0,
+ 0,
+ 0});
+ this.nUD_PercentageStop.Name = "nUD_PercentageStop";
+ this.nUD_PercentageStop.Size = new System.Drawing.Size(62, 20);
+ this.nUD_PercentageStop.TabIndex = 9;
+ this.nUD_PercentageStop.Value = new decimal(new int[] {
+ 35,
+ 0,
+ 0,
+ 0});
+ //
+ // l_PercentageStop
+ //
+ this.l_PercentageStop.AutoSize = true;
+ this.l_PercentageStop.Location = new System.Drawing.Point(19, 250);
+ this.l_PercentageStop.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_PercentageStop.Name = "l_PercentageStop";
+ this.l_PercentageStop.Size = new System.Drawing.Size(120, 13);
+ this.l_PercentageStop.TabIndex = 8;
+ this.l_PercentageStop.Text = "Percentage Stop Value:";
+ //
+ // l_PercentageStart
+ //
+ this.l_PercentageStart.AutoSize = true;
+ this.l_PercentageStart.Location = new System.Drawing.Point(19, 216);
+ this.l_PercentageStart.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_PercentageStart.Name = "l_PercentageStart";
+ this.l_PercentageStart.Size = new System.Drawing.Size(120, 13);
+ this.l_PercentageStart.TabIndex = 7;
+ this.l_PercentageStart.Text = "Percentage Start Value:";
+ //
+ // nUD_PercentageStart
+ //
+ this.nUD_PercentageStart.Location = new System.Drawing.Point(168, 216);
+ this.nUD_PercentageStart.Margin = new System.Windows.Forms.Padding(2);
+ this.nUD_PercentageStart.Maximum = new decimal(new int[] {
+ 20,
+ 0,
+ 0,
+ 0});
+ this.nUD_PercentageStart.Name = "nUD_PercentageStart";
+ this.nUD_PercentageStart.Size = new System.Drawing.Size(62, 20);
+ this.nUD_PercentageStart.TabIndex = 6;
+ this.nUD_PercentageStart.Value = new decimal(new int[] {
+ 5,
+ 0,
+ 0,
+ 0});
+ //
+ // l__Settings_AmplitudeTestMinDistance
+ //
+ this.l__Settings_AmplitudeTestMinDistance.AutoSize = true;
+ this.l__Settings_AmplitudeTestMinDistance.Location = new System.Drawing.Point(19, 182);
+ this.l__Settings_AmplitudeTestMinDistance.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l__Settings_AmplitudeTestMinDistance.Name = "l__Settings_AmplitudeTestMinDistance";
+ this.l__Settings_AmplitudeTestMinDistance.Size = new System.Drawing.Size(74, 13);
+ this.l__Settings_AmplitudeTestMinDistance.TabIndex = 5;
+ this.l__Settings_AmplitudeTestMinDistance.Text = "min. Distance:";
+ //
+ // nUD_Settings_AmplitudeTestMinDistance
+ //
+ this.nUD_Settings_AmplitudeTestMinDistance.Location = new System.Drawing.Point(168, 182);
+ this.nUD_Settings_AmplitudeTestMinDistance.Margin = new System.Windows.Forms.Padding(2);
+ this.nUD_Settings_AmplitudeTestMinDistance.Maximum = new decimal(new int[] {
+ 10,
+ 0,
+ 0,
+ 0});
+ this.nUD_Settings_AmplitudeTestMinDistance.Name = "nUD_Settings_AmplitudeTestMinDistance";
+ this.nUD_Settings_AmplitudeTestMinDistance.Size = new System.Drawing.Size(62, 20);
+ this.nUD_Settings_AmplitudeTestMinDistance.TabIndex = 4;
+ this.nUD_Settings_AmplitudeTestMinDistance.Value = new decimal(new int[] {
+ 7,
+ 0,
+ 0,
+ 0});
+ //
+ // l_Settings_AmplitudeTestLowerLimit
+ //
+ this.l_Settings_AmplitudeTestLowerLimit.AutoSize = true;
+ this.l_Settings_AmplitudeTestLowerLimit.Location = new System.Drawing.Point(19, 149);
+ this.l_Settings_AmplitudeTestLowerLimit.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_Settings_AmplitudeTestLowerLimit.Name = "l_Settings_AmplitudeTestLowerLimit";
+ this.l_Settings_AmplitudeTestLowerLimit.Size = new System.Drawing.Size(128, 13);
+ this.l_Settings_AmplitudeTestLowerLimit.TabIndex = 3;
+ this.l_Settings_AmplitudeTestLowerLimit.Text = "Optimal Point Lower Limit:";
+ //
+ // l_Settings_AmplitudeTestUpperLimit
+ //
+ this.l_Settings_AmplitudeTestUpperLimit.AutoSize = true;
+ this.l_Settings_AmplitudeTestUpperLimit.Location = new System.Drawing.Point(19, 115);
+ this.l_Settings_AmplitudeTestUpperLimit.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_Settings_AmplitudeTestUpperLimit.Name = "l_Settings_AmplitudeTestUpperLimit";
+ this.l_Settings_AmplitudeTestUpperLimit.Size = new System.Drawing.Size(128, 13);
+ this.l_Settings_AmplitudeTestUpperLimit.TabIndex = 2;
+ this.l_Settings_AmplitudeTestUpperLimit.Text = "Optimal Point Upper Limit:";
+ //
+ // nUD_Settings_AmplitudeTestLowerLimit
+ //
+ this.nUD_Settings_AmplitudeTestLowerLimit.Location = new System.Drawing.Point(168, 149);
+ this.nUD_Settings_AmplitudeTestLowerLimit.Margin = new System.Windows.Forms.Padding(2);
+ this.nUD_Settings_AmplitudeTestLowerLimit.Maximum = new decimal(new int[] {
+ 30,
+ 0,
+ 0,
+ 0});
+ this.nUD_Settings_AmplitudeTestLowerLimit.Name = "nUD_Settings_AmplitudeTestLowerLimit";
+ this.nUD_Settings_AmplitudeTestLowerLimit.Size = new System.Drawing.Size(62, 20);
+ this.nUD_Settings_AmplitudeTestLowerLimit.TabIndex = 1;
+ this.nUD_Settings_AmplitudeTestLowerLimit.Value = new decimal(new int[] {
+ 12,
+ 0,
+ 0,
+ 0});
+ //
+ // nUD_Settings_AmplitudeTestUpperLimit
+ //
+ this.nUD_Settings_AmplitudeTestUpperLimit.Location = new System.Drawing.Point(168, 115);
+ this.nUD_Settings_AmplitudeTestUpperLimit.Margin = new System.Windows.Forms.Padding(2);
+ this.nUD_Settings_AmplitudeTestUpperLimit.Maximum = new decimal(new int[] {
+ 40,
+ 0,
+ 0,
+ 0});
+ this.nUD_Settings_AmplitudeTestUpperLimit.Name = "nUD_Settings_AmplitudeTestUpperLimit";
+ this.nUD_Settings_AmplitudeTestUpperLimit.Size = new System.Drawing.Size(62, 20);
+ this.nUD_Settings_AmplitudeTestUpperLimit.TabIndex = 0;
+ this.nUD_Settings_AmplitudeTestUpperLimit.Value = new decimal(new int[] {
+ 32,
+ 0,
+ 0,
+ 0});
+ //
+ // pB_Logo3
+ //
+ this.pB_Logo3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.pB_Logo3.Image = ((System.Drawing.Image)(resources.GetObject("pB_Logo3.Image")));
+ this.pB_Logo3.InitialImage = null;
+ this.pB_Logo3.Location = new System.Drawing.Point(887, 21);
+ this.pB_Logo3.Margin = new System.Windows.Forms.Padding(2);
+ this.pB_Logo3.Name = "pB_Logo3";
+ this.pB_Logo3.Size = new System.Drawing.Size(91, 38);
+ this.pB_Logo3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
+ this.pB_Logo3.TabIndex = 31;
+ this.pB_Logo3.TabStop = false;
+ //
+ // pB_AvailableImages
+ //
+ this.pB_AvailableImages.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.pB_AvailableImages.BackColor = System.Drawing.Color.Transparent;
+ this.pB_AvailableImages.Image = ((System.Drawing.Image)(resources.GetObject("pB_AvailableImages.Image")));
+ this.pB_AvailableImages.Location = new System.Drawing.Point(910, 82);
+ this.pB_AvailableImages.Margin = new System.Windows.Forms.Padding(2);
+ this.pB_AvailableImages.Name = "pB_AvailableImages";
+ this.pB_AvailableImages.Size = new System.Drawing.Size(53, 40);
+ this.pB_AvailableImages.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
+ this.pB_AvailableImages.TabIndex = 26;
+ this.pB_AvailableImages.TabStop = false;
+ //
+ // tab_About
+ //
+ this.tab_About.BackColor = System.Drawing.Color.Honeydew;
+ this.tab_About.Controls.Add(this.pictureBox3);
+ this.tab_About.Controls.Add(this.pictureBox2);
+ this.tab_About.Controls.Add(this.l_BasedOn);
+ this.tab_About.Controls.Add(this.l_Author);
+ this.tab_About.Controls.Add(this.pB_DocumentVersion);
+ this.tab_About.Controls.Add(this.pB_Logo2);
+ this.tab_About.Controls.Add(this.l_Version);
+ this.tab_About.Controls.Add(this.l_About_Info);
+ this.tab_About.Controls.Add(this.l_About_Author);
+ this.tab_About.Controls.Add(this.l_About_Version);
+ this.tab_About.Location = new System.Drawing.Point(4, 22);
+ this.tab_About.Margin = new System.Windows.Forms.Padding(2);
+ this.tab_About.Name = "tab_About";
+ this.tab_About.Padding = new System.Windows.Forms.Padding(2);
+ this.tab_About.Size = new System.Drawing.Size(1028, 652);
+ this.tab_About.TabIndex = 7;
+ this.tab_About.Text = "About";
+ //
+ // pictureBox3
+ //
+ this.pictureBox3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.pictureBox3.BackColor = System.Drawing.Color.Transparent;
+ this.pictureBox3.ErrorImage = ((System.Drawing.Image)(resources.GetObject("pictureBox3.ErrorImage")));
+ this.pictureBox3.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox3.Image")));
+ this.pictureBox3.InitialImage = ((System.Drawing.Image)(resources.GetObject("pictureBox3.InitialImage")));
+ this.pictureBox3.Location = new System.Drawing.Point(907, 83);
+ this.pictureBox3.Margin = new System.Windows.Forms.Padding(2);
+ this.pictureBox3.Name = "pictureBox3";
+ this.pictureBox3.Size = new System.Drawing.Size(53, 40);
+ this.pictureBox3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
+ this.pictureBox3.TabIndex = 55;
+ this.pictureBox3.TabStop = false;
+ //
+ // pictureBox2
+ //
+ this.pictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox2.Image")));
+ this.pictureBox2.Location = new System.Drawing.Point(564, 222);
+ this.pictureBox2.Margin = new System.Windows.Forms.Padding(2);
+ this.pictureBox2.Name = "pictureBox2";
+ this.pictureBox2.Size = new System.Drawing.Size(340, 362);
+ this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
+ this.pictureBox2.TabIndex = 54;
+ this.pictureBox2.TabStop = false;
+ //
+ // l_BasedOn
+ //
+ this.l_BasedOn.AutoSize = true;
+ this.l_BasedOn.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.l_BasedOn.Location = new System.Drawing.Point(150, 192);
+ this.l_BasedOn.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_BasedOn.Name = "l_BasedOn";
+ this.l_BasedOn.Size = new System.Drawing.Size(81, 20);
+ this.l_BasedOn.TabIndex = 9;
+ this.l_BasedOn.Text = "Based on:";
+ //
+ // l_Author
+ //
+ this.l_Author.AutoSize = true;
+ this.l_Author.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.l_Author.Location = new System.Drawing.Point(231, 133);
+ this.l_Author.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_Author.Name = "l_Author";
+ this.l_Author.Size = new System.Drawing.Size(0, 20);
+ this.l_Author.TabIndex = 7;
+ //
+ // pB_DocumentVersion
+ //
+ this.pB_DocumentVersion.Image = ((System.Drawing.Image)(resources.GetObject("pB_DocumentVersion.Image")));
+ this.pB_DocumentVersion.Location = new System.Drawing.Point(84, 222);
+ this.pB_DocumentVersion.Margin = new System.Windows.Forms.Padding(2);
+ this.pB_DocumentVersion.Name = "pB_DocumentVersion";
+ this.pB_DocumentVersion.Size = new System.Drawing.Size(449, 277);
+ this.pB_DocumentVersion.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
+ this.pB_DocumentVersion.TabIndex = 6;
+ this.pB_DocumentVersion.TabStop = false;
+ //
+ // pB_Logo2
+ //
+ this.pB_Logo2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.pB_Logo2.Image = ((System.Drawing.Image)(resources.GetObject("pB_Logo2.Image")));
+ this.pB_Logo2.InitialImage = null;
+ this.pB_Logo2.Location = new System.Drawing.Point(887, 21);
+ this.pB_Logo2.Margin = new System.Windows.Forms.Padding(2);
+ this.pB_Logo2.Name = "pB_Logo2";
+ this.pB_Logo2.Size = new System.Drawing.Size(91, 38);
+ this.pB_Logo2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
+ this.pB_Logo2.TabIndex = 5;
+ this.pB_Logo2.TabStop = false;
+ //
+ // l_Version
+ //
+ this.l_Version.AutoSize = true;
+ this.l_Version.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.l_Version.Location = new System.Drawing.Point(168, 108);
+ this.l_Version.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_Version.Name = "l_Version";
+ this.l_Version.Size = new System.Drawing.Size(188, 20);
+ this.l_Version.TabIndex = 4;
+ this.l_Version.Text = "Version 0.22/ 2019-02-08";
+ //
+ // l_About_Info
+ //
+ this.l_About_Info.AutoSize = true;
+ this.l_About_Info.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.l_About_Info.Location = new System.Drawing.Point(150, 516);
+ this.l_About_Info.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_About_Info.Name = "l_About_Info";
+ this.l_About_Info.Size = new System.Drawing.Size(295, 20);
+ this.l_About_Info.TabIndex = 3;
+ this.l_About_Info.Text = "Supports GENESIS protocol version \"h\"";
+ //
+ // l_About_Author
+ //
+ this.l_About_Author.AutoSize = true;
+ this.l_About_Author.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.l_About_Author.Location = new System.Drawing.Point(370, 246);
+ this.l_About_Author.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_About_Author.Name = "l_About_Author";
+ this.l_About_Author.Size = new System.Drawing.Size(13, 20);
+ this.l_About_Author.TabIndex = 2;
+ this.l_About_Author.Text = " ";
+ //
+ // l_About_Version
+ //
+ this.l_About_Version.AutoSize = true;
+ this.l_About_Version.Font = new System.Drawing.Font("Microsoft Sans Serif", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.l_About_Version.Location = new System.Drawing.Point(162, 54);
+ this.l_About_Version.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_About_Version.Name = "l_About_Version";
+ this.l_About_Version.Size = new System.Drawing.Size(540, 37);
+ this.l_About_Version.TabIndex = 1;
+ this.l_About_Version.Text = "GENESIS Zeroflow calibration tool";
+ //
+ // tab_ZeroFlowCal
+ //
+ this.tab_ZeroFlowCal.AutoScroll = true;
+ this.tab_ZeroFlowCal.BackColor = System.Drawing.Color.Honeydew;
+ this.tab_ZeroFlowCal.Location = new System.Drawing.Point(4, 22);
+ this.tab_ZeroFlowCal.Margin = new System.Windows.Forms.Padding(10);
+ this.tab_ZeroFlowCal.Name = "tab_ZeroFlowCal";
+ this.tab_ZeroFlowCal.Padding = new System.Windows.Forms.Padding(2);
+ this.tab_ZeroFlowCal.Size = new System.Drawing.Size(1028, 652);
+ this.tab_ZeroFlowCal.TabIndex = 15;
+ this.tab_ZeroFlowCal.Text = "Zero flow calibration";
+ this.tab_ZeroFlowCal.Click += new System.EventHandler(this.tab_ZeroFlowCal_Click);
+ //
+ // tabPage1
+ //
+ this.tabPage1.Controls.Add(this.richTextBox1);
+ this.tabPage1.Controls.Add(this.button1);
+ this.tabPage1.Controls.Add(this.gB_TempMeters);
+ this.tabPage1.Location = new System.Drawing.Point(4, 22);
+ this.tabPage1.Name = "tabPage1";
+ this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
+ this.tabPage1.Size = new System.Drawing.Size(1028, 652);
+ this.tabPage1.TabIndex = 16;
+ this.tabPage1.Text = "tabPage1";
+ this.tabPage1.UseVisualStyleBackColor = true;
+ //
+ // richTextBox1
+ //
+ this.richTextBox1.Location = new System.Drawing.Point(6, 355);
+ this.richTextBox1.Name = "richTextBox1";
+ this.richTextBox1.Size = new System.Drawing.Size(861, 272);
+ this.richTextBox1.TabIndex = 75;
+ this.richTextBox1.Text = "";
+ //
+ // button1
+ //
+ this.button1.Location = new System.Drawing.Point(6, 309);
+ this.button1.Name = "button1";
+ this.button1.Size = new System.Drawing.Size(861, 40);
+ this.button1.TabIndex = 74;
+ this.button1.Text = "GetLogs";
+ this.button1.UseVisualStyleBackColor = true;
+ this.button1.Click += new System.EventHandler(this.button1_Click);
+ //
+ // gB_TempMeters
+ //
+ this.gB_TempMeters.Controls.Add(this.nudTempSlot);
+ this.gB_TempMeters.Controls.Add(this.btnTempRaspi);
+ this.gB_TempMeters.Controls.Add(this.btn_LoadTempe);
+ this.gB_TempMeters.Location = new System.Drawing.Point(4, 13);
+ this.gB_TempMeters.Margin = new System.Windows.Forms.Padding(10);
+ this.gB_TempMeters.Name = "gB_TempMeters";
+ this.gB_TempMeters.Padding = new System.Windows.Forms.Padding(2);
+ this.gB_TempMeters.Size = new System.Drawing.Size(863, 274);
+ this.gB_TempMeters.TabIndex = 73;
+ this.gB_TempMeters.TabStop = false;
+ this.gB_TempMeters.Text = "Temp. Meters";
+ //
+ // nudTempSlot
+ //
+ this.nudTempSlot.Location = new System.Drawing.Point(17, 214);
+ this.nudTempSlot.Name = "nudTempSlot";
+ this.nudTempSlot.Size = new System.Drawing.Size(280, 20);
+ this.nudTempSlot.TabIndex = 97;
+ //
+ // btnTempRaspi
+ //
+ this.btnTempRaspi.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.btnTempRaspi.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.btnTempRaspi.Location = new System.Drawing.Point(159, 239);
+ this.btnTempRaspi.Margin = new System.Windows.Forms.Padding(2);
+ this.btnTempRaspi.Name = "btnTempRaspi";
+ this.btnTempRaspi.Size = new System.Drawing.Size(138, 31);
+ this.btnTempRaspi.TabIndex = 96;
+ this.btnTempRaspi.Text = "loadTemp (TOF)";
+ this.btnTempRaspi.UseVisualStyleBackColor = true;
+ this.btnTempRaspi.Click += new System.EventHandler(this.btnTempRaspi_Click);
+ //
+ // btn_LoadTempe
+ //
+ this.btn_LoadTempe.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.btn_LoadTempe.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.btn_LoadTempe.Location = new System.Drawing.Point(17, 239);
+ this.btn_LoadTempe.Margin = new System.Windows.Forms.Padding(2);
+ this.btn_LoadTempe.Name = "btn_LoadTempe";
+ this.btn_LoadTempe.Size = new System.Drawing.Size(138, 31);
+ this.btn_LoadTempe.TabIndex = 95;
+ this.btn_LoadTempe.Text = "loadTemp (@H)";
+ this.btn_LoadTempe.UseVisualStyleBackColor = true;
+ this.btn_LoadTempe.Click += new System.EventHandler(this.btn_LoadTempe_Click);
+ //
+ // MainForm
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(1058, 688);
+ this.Controls.Add(this.tab_Maintab);
+ this.Name = "MainForm";
+ this.Text = "Form1";
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
+ this.Load += new System.EventHandler(this.MainForm_Load);
+ this.tab_Maintab.ResumeLayout(false);
+ this.tab_Report.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
+ this.groupBox_report.ResumeLayout(false);
+ this.gB_ReportTitlepage.ResumeLayout(false);
+ this.gB_ReportTitlepage.PerformLayout();
+ this.tab_Settings.ResumeLayout(false);
+ this.tab_Settings.PerformLayout();
+ this.gB_ComportSetup.ResumeLayout(false);
+ this.gB_SettingsTempMonitor.ResumeLayout(false);
+ this.gB_SettingsTempMonitor.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.nUD_SettingsTempMonitorDeviation)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.nUD_SettingsTempMonitorLowerValue)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.nUD_SettingsTempMonitorUpperValue)).EndInit();
+ this.gB_Settings_TemperatureCalibration.ResumeLayout(false);
+ this.gB_Settings_TemperatureCalibration.PerformLayout();
+ this.gB_Passwords.ResumeLayout(false);
+ this.gB_Passwords.PerformLayout();
+ this.gB_Settings_Preparation.ResumeLayout(false);
+ this.gB_Settings_Preparation.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.nUD_Settings_Samplerate)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.nUD_Settings_Preparation_StabiTime)).EndInit();
+ this.gB_Settings_ZeroflowOffsetTest.ResumeLayout(false);
+ this.gB_Settings_ZeroflowOffsetTest.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.nUD_Settings_ZeroflowOffsetTestActivityCheckInterval)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.nUD_Settings_ZeroflowOffsetTestNumberOfLines)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.nUD_Settings_ZeroflowOffsetTestSettlingTime)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.nUD_Settings_ZeroflowOffsetTestOffsetLimit)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.nUD_Settings_ZeroflowOffsetTestLowerLimit)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.nUD_Settings_ZeroflowOffsetTestUpperLimit)).EndInit();
+ this.gB_Settings_AmplitudeTest.ResumeLayout(false);
+ this.gB_Settings_AmplitudeTest.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.nUD_Settings_AmplitudeActivityCheckInterval)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.nUD_PercentageStop)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.nUD_PercentageStart)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.nUD_Settings_AmplitudeTestMinDistance)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.nUD_Settings_AmplitudeTestLowerLimit)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.nUD_Settings_AmplitudeTestUpperLimit)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.pB_Logo3)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.pB_AvailableImages)).EndInit();
+ this.tab_About.ResumeLayout(false);
+ this.tab_About.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.pB_DocumentVersion)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.pB_Logo2)).EndInit();
+ this.tabPage1.ResumeLayout(false);
+ this.gB_TempMeters.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.nudTempSlot)).EndInit();
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.TabControl tab_Maintab;
+ private System.Windows.Forms.TabPage tab_Report;
+ private System.Windows.Forms.PictureBox pictureBox1;
+ private System.Windows.Forms.GroupBox groupBox_report;
+ private System.Windows.Forms.GroupBox gB_ReportTitlepage;
+ private System.Windows.Forms.RichTextBox rTB_ReportEnterSerialNumber;
+ private System.Windows.Forms.Label label_Report_EnterSerialNumber;
+ private System.Windows.Forms.Label l_ReportIntro;
+ private System.Windows.Forms.RichTextBox rtB_ReportTitlepageIntro;
+ private System.Windows.Forms.RichTextBox rTB_ReportEnterTitle;
+ private System.Windows.Forms.Label label_Report_EnterTitle;
+ private System.Windows.Forms.Label label_Report_EnterOperator;
+ private System.Windows.Forms.RichTextBox rTB_ReportEnterDate;
+ private System.Windows.Forms.RichTextBox rTB_ReportEnterOperator;
+ private System.Windows.Forms.Label label_Report_EnterDate;
+ private System.Windows.Forms.Button btn_Report_Generate;
+ private System.Windows.Forms.TabPage tab_Settings;
+ private System.Windows.Forms.CheckBox cB_SinglePath;
+ private System.Windows.Forms.ListBox lbLanguage;
+ private System.Windows.Forms.GroupBox gB_ComportSetup;
+ private System.Windows.Forms.Button BtnOpenSetup;
+ private System.Windows.Forms.GroupBox gB_SettingsTempMonitor;
+ private System.Windows.Forms.NumericUpDown nUD_SettingsTempMonitorDeviation;
+ private System.Windows.Forms.NumericUpDown nUD_SettingsTempMonitorLowerValue;
+ private System.Windows.Forms.NumericUpDown nUD_SettingsTempMonitorUpperValue;
+ private System.Windows.Forms.Label l_SettingsTempMonitorDeviation;
+ private System.Windows.Forms.Label l_SettingsTempMonitorLowerValue;
+ private System.Windows.Forms.Label l_SettingsTempMonitorUpperValue;
+ private System.Windows.Forms.GroupBox gB_Settings_TemperatureCalibration;
+ private System.Windows.Forms.CheckBox cB_TempManualAcquisition;
+ private System.Windows.Forms.Label lThermo2;
+ private System.Windows.Forms.Label lPasswordThermo1;
+ private System.Windows.Forms.TextBox tB_PasswordThermo2;
+ private System.Windows.Forms.TextBox tB_PasswordThermo1;
+ private System.Windows.Forms.GroupBox gB_Passwords;
+ private System.Windows.Forms.TextBox tB_PasswordMeter5;
+ private System.Windows.Forms.TextBox tB_PasswordMeter10;
+ private System.Windows.Forms.TextBox tB_PasswordMeter9;
+ private System.Windows.Forms.TextBox tB_PasswordMeter8;
+ private System.Windows.Forms.TextBox tB_PasswordMeter7;
+ private System.Windows.Forms.TextBox tB_PasswordMeter6;
+ private System.Windows.Forms.TextBox tB_PasswordMeter4;
+ private System.Windows.Forms.TextBox tB_PasswordMeter3;
+ private System.Windows.Forms.TextBox tB_PasswordMeter2;
+ private System.Windows.Forms.TextBox tB_PasswordMeter1;
+ private System.Windows.Forms.Label l_PasswordMeter10;
+ private System.Windows.Forms.Label l_PasswordMeter9;
+ private System.Windows.Forms.Label l_PasswordMeter8;
+ private System.Windows.Forms.Label l_PasswordMeter7;
+ private System.Windows.Forms.Label l_PasswordMeter6;
+ private System.Windows.Forms.Label l_PasswordMeter5;
+ private System.Windows.Forms.Label l_PasswordMeter4;
+ private System.Windows.Forms.Label l_PasswordMeter3;
+ private System.Windows.Forms.Label l_PasswordMeter2;
+ private System.Windows.Forms.Label l_PasswordMeter1;
+ private System.Windows.Forms.GroupBox gB_Settings_Preparation;
+ private System.Windows.Forms.NumericUpDown nUD_Settings_Preparation_StabiTime;
+ private System.Windows.Forms.Label l_Settings_Preparation_StabiTime;
+ private System.Windows.Forms.GroupBox gB_Settings_ZeroflowOffsetTest;
+ private System.Windows.Forms.CheckBox cB_OffsetTestLogFiles;
+ private System.Windows.Forms.NumericUpDown nUD_Settings_ZeroflowOffsetTestActivityCheckInterval;
+ private System.Windows.Forms.Label l_Settings_ZeroflowOffsetTestActivityCheckInterval;
+ private System.Windows.Forms.Label l_Settings_ZeroflowOffsetTestNumberOfLines;
+ private System.Windows.Forms.NumericUpDown nUD_Settings_ZeroflowOffsetTestNumberOfLines;
+ private System.Windows.Forms.Label l_Settings_ZeroFlowTestSettlingTime;
+ private System.Windows.Forms.NumericUpDown nUD_Settings_ZeroflowOffsetTestSettlingTime;
+ private System.Windows.Forms.Label l_Settings_ZeroFlowTestOffsetLimit;
+ private System.Windows.Forms.NumericUpDown nUD_Settings_ZeroflowOffsetTestOffsetLimit;
+ private System.Windows.Forms.Label l_Settings_ZeroflowOffsetTestLowerLimit;
+ private System.Windows.Forms.Label l_Settings_ZeroflowOffsetTestUpperLimit;
+ private System.Windows.Forms.NumericUpDown nUD_Settings_ZeroflowOffsetTestLowerLimit;
+ private System.Windows.Forms.NumericUpDown nUD_Settings_ZeroflowOffsetTestUpperLimit;
+ private System.Windows.Forms.GroupBox gB_Settings_AmplitudeTest;
+ private System.Windows.Forms.CheckBox cB_AmpLogFiles;
+ private System.Windows.Forms.NumericUpDown nUD_Settings_AmplitudeActivityCheckInterval;
+ private System.Windows.Forms.Label l_Settings_AmplitudeActivityCheckInterval;
+ private System.Windows.Forms.CheckBox cB_MeanAmplitudeFiles;
+ private System.Windows.Forms.NumericUpDown nUD_PercentageStop;
+ private System.Windows.Forms.Label l_PercentageStop;
+ private System.Windows.Forms.Label l_PercentageStart;
+ private System.Windows.Forms.NumericUpDown nUD_PercentageStart;
+ private System.Windows.Forms.Label l__Settings_AmplitudeTestMinDistance;
+ private System.Windows.Forms.NumericUpDown nUD_Settings_AmplitudeTestMinDistance;
+ private System.Windows.Forms.Label l_Settings_AmplitudeTestLowerLimit;
+ private System.Windows.Forms.Label l_Settings_AmplitudeTestUpperLimit;
+ private System.Windows.Forms.NumericUpDown nUD_Settings_AmplitudeTestLowerLimit;
+ private System.Windows.Forms.NumericUpDown nUD_Settings_AmplitudeTestUpperLimit;
+ private System.Windows.Forms.PictureBox pB_Logo3;
+ private System.Windows.Forms.PictureBox pB_AvailableImages;
+ private System.Windows.Forms.TabPage tab_About;
+ private System.Windows.Forms.PictureBox pictureBox3;
+ private System.Windows.Forms.PictureBox pictureBox2;
+ private System.Windows.Forms.Label l_BasedOn;
+ private System.Windows.Forms.Label l_Author;
+ private System.Windows.Forms.PictureBox pB_DocumentVersion;
+ private System.Windows.Forms.PictureBox pB_Logo2;
+ private System.Windows.Forms.Label l_Version;
+ private System.Windows.Forms.Label l_About_Info;
+ private System.Windows.Forms.Label l_About_Author;
+ private System.Windows.Forms.Label l_About_Version;
+ private System.Windows.Forms.TabPage tab_ZeroFlowCal;
+ private System.Windows.Forms.CheckBox cB_TempOnly;
+ private System.Windows.Forms.NumericUpDown nUD_Settings_Samplerate;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.TabPage tabPage1;
+ private System.Windows.Forms.GroupBox gB_TempMeters;
+ private System.Windows.Forms.Button btn_LoadTempe;
+ private System.Windows.Forms.NumericUpDown nudTempSlot;
+ private System.Windows.Forms.Button btnTempRaspi;
+ private System.Windows.Forms.Button button1;
+ private System.Windows.Forms.RichTextBox richTextBox1;
+ }
+}
+
diff --git a/GenesisCordonelInterface/UI/LaatzenAPI_CordonelPreadjustmentUI/FrmCordonelPreadjustmentUI.cs b/GenesisCordonelInterface/UI/LaatzenAPI_CordonelPreadjustmentUI/FrmCordonelPreadjustmentUI.cs
new file mode 100644
index 000000000..789fb9ae0
--- /dev/null
+++ b/GenesisCordonelInterface/UI/LaatzenAPI_CordonelPreadjustmentUI/FrmCordonelPreadjustmentUI.cs
@@ -0,0 +1,275 @@
+using Newtonsoft.Json;
+using System;
+using System.Collections.Generic;
+using System.Drawing;
+using System.IO;
+using System.Text;
+using System.Threading;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+using Xylem.Common.CommonCore.Consts;
+using Xylem.Common.Hardware.Interfaces.Ports.PortCore;
+using Xylem.Common.Hardware.WaterMeter.Genesis.GenesisConfig;
+using Xylem.Common.Hardware.WaterMeter.WaterMeterCore;
+using Xylem.Common.Ui.CordonelPreadjustmentUi;
+using CordonelPreadjustmentUi;
+
+namespace GenesisCordonelInterface.UI.LaatzenAPI_CordonelPreadjustmentUI
+{
+ public partial class FrmCordonelPreadjustmentUI : Form
+ {
+ private PreAdjustmentControl preadjustCtl;
+ private PreAdjustmentSettingsContainer mainSettings = new PreAdjustmentSettingsContainer();
+ public FrmCordonelPreadjustmentUI()
+ {
+ InitializeComponent();
+ }
+
+ private void MainForm_Load(object sender, EventArgs e)
+ {
+
+
+ preadjustCtl = new PreAdjustmentControl(mainSettings);
+ tab_ZeroFlowCal.Controls.Add(preadjustCtl);
+
+
+
+
+ cB_SinglePath.Checked = mainSettings.NumberOfPaths == 1 ? true : false;
+ nUD_SettingsTempMonitorLowerValue.Value = (decimal)mainSettings.LowerTempLimit;
+ nUD_SettingsTempMonitorUpperValue.Value = (decimal)mainSettings.UpperTempLimit;
+ nUD_SettingsTempMonitorDeviation.Value = (decimal)mainSettings.TempDeviationLimit;
+ // nUD_SettingsPreparationMetersize.Value = mainSettings.MeterSize.GetHashCode();
+
+
+ cB_OffsetTestLogFiles.Checked = mainSettings.OffsetTestGenerateLogfiles;
+ nUD_Settings_ZeroflowOffsetTestActivityCheckInterval.Value = mainSettings.OffsetTestActivityCheckInverval;
+ nUD_Settings_ZeroflowOffsetTestNumberOfLines.Value = mainSettings.OffsetTestNumberOfLines;
+ nUD_Settings_ZeroflowOffsetTestSettlingTime.Value = mainSettings.OffsetTestSettlingTime;
+ nUD_Settings_ZeroflowOffsetTestOffsetLimit.Value = mainSettings.OffsetTestOffsetLimitPS;
+ nUD_Settings_ZeroflowOffsetTestLowerLimit.Value = mainSettings.OffsetTestLowerVoltageLimitMV;
+ nUD_Settings_ZeroflowOffsetTestUpperLimit.Value = mainSettings.OffsetTestUpperVoltageLimitMV;
+
+ cB_AmpLogFiles.Checked = mainSettings.AmpTestGenerateLogfiles;
+ nUD_Settings_AmplitudeActivityCheckInterval.Value = mainSettings.AmpTestActivityCheckInverval;
+ cB_MeanAmplitudeFiles.Checked = mainSettings.AmpTestGenerateMeanValuesFile;
+ nUD_PercentageStop.Value = mainSettings.AmpTestPercentageStop;
+ nUD_PercentageStart.Value = mainSettings.AmpTestPercentageStart;
+ nUD_Settings_AmplitudeTestMinDistance.Value = mainSettings.AmpTestAmpTestDistance;
+
+ nUD_Settings_AmplitudeTestLowerLimit.Value = mainSettings.AmpTestFirstHitLevelPropMin;
+ nUD_Settings_AmplitudeTestUpperLimit.Value = mainSettings.AmpTestFirstHitLevelPropMax;
+
+
+ nUD_Settings_Samplerate.Value = mainSettings.Samplerate;
+
+
+
+ }
+
+ private void tab_Maintab_Selected(object sender, TabControlEventArgs e)
+ {
+ if (e.TabPage.Name == tab_ZeroFlowCal.Name)
+ {
+ try
+ {
+ var _serialConfigFile = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "Genesis", ProgramConfig.SerialConfigFileName);
+
+
+ SlotConfig[] meterConfigList;
+ using (var tr = new StreamReader(_serialConfigFile))
+ {
+ var _fileString = tr.ReadToEnd();
+ meterConfigList = JsonConvert.DeserializeObject(_fileString);
+ }
+ mainSettings.Meters = new List();
+ mainSettings.TempMeters = new List();
+ foreach (var item in meterConfigList)
+ {
+ if (item.Type != SlotType.TemperatureMeter)
+ {
+ mainSettings.Meters.Add(item.Slot);
+ }
+ else
+ {
+ mainSettings.TempMeters.Add(item.Slot);
+ }
+ }
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show($"use default meters because of {ex.Message}");
+ }
+
+
+
+
+
+ mainSettings.NumberOfPaths = cB_SinglePath.Checked ? 1 : 3;
+ mainSettings.LowerTempLimit = (double)nUD_SettingsTempMonitorLowerValue.Value;
+ mainSettings.UpperTempLimit = (double)nUD_SettingsTempMonitorUpperValue.Value;
+ mainSettings.TempDeviationLimit = (double)nUD_SettingsTempMonitorDeviation.Value;
+ //mainSettings.MeterSize = (Xylem.Common.Hardware.WaterMeter.Genesis.GenesisCore.Consts.MeterSize)nUD_SettingsPreparationMetersize.Value;
+ mainSettings.TempOnly = cB_TempOnly.Checked;
+
+ mainSettings.SetTempUseTempFlansh(true);
+
+ if (cB_TempManualAcquisition.Checked)
+ {
+ mainSettings.SetTempUseManualInput(true);
+ mainSettings.SetTempUseTempFlansh(false);
+ }
+ else
+ {
+ mainSettings.SetTempUseTempFlansh(true);
+ mainSettings.SetTempUseManualInput(false);
+ }
+
+
+ mainSettings.OffsetTestGenerateLogfiles = cB_OffsetTestLogFiles.Checked;
+ mainSettings.OffsetTestActivityCheckInverval = (int)nUD_Settings_ZeroflowOffsetTestActivityCheckInterval.Value;
+ mainSettings.OffsetTestNumberOfLines = (int)nUD_Settings_ZeroflowOffsetTestNumberOfLines.Value;
+ mainSettings.OffsetTestSettlingTime = (int)nUD_Settings_ZeroflowOffsetTestSettlingTime.Value;
+ mainSettings.OffsetTestOffsetLimitPS = (int)nUD_Settings_ZeroflowOffsetTestOffsetLimit.Value;
+ mainSettings.OffsetTestLowerVoltageLimitMV = (int)nUD_Settings_ZeroflowOffsetTestLowerLimit.Value;
+ mainSettings.OffsetTestUpperVoltageLimitMV = (int)nUD_Settings_ZeroflowOffsetTestUpperLimit.Value;
+
+ mainSettings.AmpTestGenerateLogfiles = cB_AmpLogFiles.Checked;
+ mainSettings.AmpTestActivityCheckInverval = (int)nUD_Settings_AmplitudeActivityCheckInterval.Value;
+ mainSettings.AmpTestGenerateMeanValuesFile = cB_MeanAmplitudeFiles.Checked;
+ mainSettings.AmpTestPercentageStop = (int)nUD_PercentageStop.Value;
+ mainSettings.AmpTestPercentageStart = (int)nUD_PercentageStart.Value;
+ mainSettings.AmpTestAmpTestDistance = (int)nUD_Settings_AmplitudeTestMinDistance.Value;
+
+
+ mainSettings.AmpTestFirstHitLevelPropMin = (int)nUD_Settings_AmplitudeTestLowerLimit.Value;
+ mainSettings.AmpTestFirstHitLevelPropMax = (int)nUD_Settings_AmplitudeTestUpperLimit.Value;
+
+ mainSettings.Samplerate = (int)nUD_Settings_Samplerate.Value;
+
+ preadjustCtl.SetSettings(mainSettings);
+
+
+ }
+
+
+
+ }
+
+ private void MainForm_FormClosing(object sender, FormClosingEventArgs e)
+ {
+ if (preadjustCtl != null)
+ {
+ preadjustCtl.CloseConnections();
+ preadjustCtl.Dispose();
+ }
+ if (ThermoMeterBatch != null)
+ {
+ ThermoMeterBatch.Dispose();
+ }
+ if (TempMeterStateCtls != null)
+ {
+ foreach (var item in TempMeterStateCtls)
+ {
+ item.Dispose();
+ }
+
+ }
+
+
+ }
+ private MeterBatch ThermoMeterBatch = new MeterBatch();
+ private List TempMeterStateCtls = new List();
+ private void tmpStart(int slot, bool RaspiMode = false)
+ {
+ var ctlZehn = new TempMeterStateControl(slot);
+ ctlZehn.Location = new Point(5 + ((TempMeterStateCtls.Count + 1) * ctlZehn.Width), 15);
+ TempMeterStateCtls.Add(ctlZehn);
+ gB_TempMeters.Controls.Add(ctlZehn);
+ ctlZehn.Enabled = true;
+
+
+
+
+ var currentMeter = new ZeroFlowGenesisMeter(ctlZehn.Slot, 3, !RaspiMode);
+
+ currentMeter.LogOnEnable = true;
+ currentMeter.LoginFailed = false;
+ currentMeter.PreparationFailed = false;
+ currentMeter.AmplitudeFailed = false;
+ currentMeter.ZeroFlowOffsetFailed = false;
+ currentMeter.AmplitudeFailed = false;
+ currentMeter.CompletionFailed = false;
+ currentMeter.Ok = false;
+ currentMeter.EmptyPipeCheckEnable = false;
+ currentMeter.EmptyPipeCheckFailed = false;
+
+ ThermoMeterBatch.AddMeter(currentMeter);
+ ctlZehn.IsEnabled = true;
+
+
+ ctlZehn.Meter = currentMeter;
+ ctlZehn.EnableOpening = true;
+
+ ctlZehn.Ok = ctlZehn.Meter.CheckStreamingPort();
+
+ ctlZehn.SetUi();
+
+ ctlZehn.Meter.StartRecordData();
+ ctlZehn.Meter.LogRawData(true);
+ if (RaspiMode)
+
+ {
+ ctlZehn.StartTempWatch(MeterStateControl.TempMode.CalcTof);
+
+ }
+ else
+ {
+ ctlZehn.StartTempWatch(MeterStateControl.TempMode.Meter);
+ }
+ ctlZehn.SetTemperature(0);
+ ctlZehn.DisableTemperatureinput(true);
+ ctlZehn.IsEnabled = true;
+
+
+ }
+
+
+ private void btn_LoadTempe_Click(object sender, EventArgs e)
+ {
+
+ tmpStart((int)nudTempSlot.Value, false);
+
+
+ }
+
+ private void btnTempRaspi_Click(object sender, EventArgs e)
+ {
+ tmpStart((int)nudTempSlot.Value, true);
+ }
+
+ private void button1_Click(object sender, EventArgs e)
+ {
+ if (TempMeterStateCtls != null)
+ {
+ StringBuilder sb = new StringBuilder();
+
+ foreach (var item in TempMeterStateCtls)
+ {
+ sb.AppendLine();
+ sb.AppendLine($"##########Meter{item.Slot}#############");
+ sb.Append(item.GetLog());
+ sb.AppendLine();
+ }
+ richTextBox1.Text = sb.ToString();
+ richTextBox1.ScrollToCaret();
+ }
+
+ }
+
+ private void tab_ZeroFlowCal_Click(object sender, EventArgs e)
+ {
+
+ }
+ }
+}
diff --git a/GenesisCordonelInterface/UI/LaatzenAPI_CordonelPreadjustmentUI/PreAdjustmentControl.Designer.cs b/GenesisCordonelInterface/UI/LaatzenAPI_CordonelPreadjustmentUI/PreAdjustmentControl.Designer.cs
new file mode 100644
index 000000000..c5c561137
--- /dev/null
+++ b/GenesisCordonelInterface/UI/LaatzenAPI_CordonelPreadjustmentUI/PreAdjustmentControl.Designer.cs
@@ -0,0 +1,673 @@
+using Xylem.Common.Ui.CordonelPreadjustmentUi;
+
+namespace GenesisCordonelInterface.UI
+{
+ partial class PreAdjustmentControl
+ {
+ ///
+ /// Erforderliche Designervariable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Verwendete Ressourcen bereinigen.
+ ///
+ /// True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Vom Komponenten-Designer generierter Code
+
+ ///
+ /// Erforderliche Methode für die Designerunterstützung.
+ /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
+ ///
+ private void InitializeComponent()
+ {
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PreAdjustmentControl));
+ this.pB_Logo1 = new System.Windows.Forms.PictureBox();
+ this.gB_Meters = new System.Windows.Forms.GroupBox();
+ this.pB_Bubbles1 = new System.Windows.Forms.PictureBox();
+ this.l_ZeroFlowCal_Status = new System.Windows.Forms.Label();
+ this.gB_Progress = new System.Windows.Forms.GroupBox();
+ this.p_ZeroFlowCal_Completion = new System.Windows.Forms.Panel();
+ this.l_ZeroFlowCal_Completion = new System.Windows.Forms.Label();
+ this.p_ZeroFlowCal_Offset = new System.Windows.Forms.Panel();
+ this.l_ZeroFlowCal_Offset = new System.Windows.Forms.Label();
+ this.cB_ZeroFlowOffsetTestEnable = new System.Windows.Forms.CheckBox();
+ this.cB_AmplitudeTestEnable = new System.Windows.Forms.CheckBox();
+ this.cB_TempCalEnable = new System.Windows.Forms.CheckBox();
+ this.p_ZeroFlowCal_Detect = new System.Windows.Forms.Panel();
+ this.l_ZeroFlowCal_Detect = new System.Windows.Forms.Label();
+ this.p_ZeroFlowCal_TempCal = new System.Windows.Forms.Panel();
+ this.l_ZeroFlowCal_TempCal = new System.Windows.Forms.Label();
+ this.p_ZeroFlowCal_Prepare = new System.Windows.Forms.Panel();
+ this.l_ZeroFlowCal_Prepare = new System.Windows.Forms.Label();
+ this.p_ZeroFlowCal_Amplitude = new System.Windows.Forms.Panel();
+ this.l_ZeroFlowCal_Amplitude = new System.Windows.Forms.Label();
+ this.gB_TempMeters = new System.Windows.Forms.GroupBox();
+ this.btn_StoreTempe = new System.Windows.Forms.Button();
+ this.pB_ZeroFlowCal_Progress = new System.Windows.Forms.ProgressBar();
+ this.l_ZeroFlowCal_ResttimeDisplayValue = new System.Windows.Forms.Label();
+ this.l_ZeroFlowCal_Resttime = new System.Windows.Forms.Label();
+ this.btn_ZeroFlowCal_Abort = new System.Windows.Forms.Button();
+ this.btn_ZeroFlowCal_Start = new System.Windows.Forms.Button();
+ this.btn_ZeroFlowCal_Pdf = new System.Windows.Forms.Button();
+ this.btn_ZeroFlowCal_Save = new System.Windows.Forms.Button();
+ this.btn_ZeroFlowCal_Clear = new System.Windows.Forms.Button();
+ this.btn_ZeroFlowCal_Detect = new System.Windows.Forms.Button();
+ this.gB_MeterLog = new System.Windows.Forms.GroupBox();
+ this.btn_ShowAll = new System.Windows.Forms.Button();
+ this.rTB_ZeroFlowCalMeter = new System.Windows.Forms.RichTextBox();
+ this.pB_ZeroFlowCal_SubProgress = new System.Windows.Forms.ProgressBar();
+ this.l_ZeroFlowCal_SubResttimeDisplayValue = new System.Windows.Forms.Label();
+ this.label2 = new System.Windows.Forms.Label();
+ this.rTB_ZeroFlowCal = new System.Windows.Forms.RichTextBox();
+ this.l_SettingsPreparationMetersize = new System.Windows.Forms.Label();
+ this.cb_Metersize = new System.Windows.Forms.ComboBox();
+ this.lblBuildDate = new System.Windows.Forms.Label();
+ ((System.ComponentModel.ISupportInitialize)(this.pB_Logo1)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.pB_Bubbles1)).BeginInit();
+ this.gB_Progress.SuspendLayout();
+ this.p_ZeroFlowCal_Completion.SuspendLayout();
+ this.p_ZeroFlowCal_Offset.SuspendLayout();
+ this.p_ZeroFlowCal_Detect.SuspendLayout();
+ this.p_ZeroFlowCal_TempCal.SuspendLayout();
+ this.p_ZeroFlowCal_Prepare.SuspendLayout();
+ this.p_ZeroFlowCal_Amplitude.SuspendLayout();
+ this.gB_TempMeters.SuspendLayout();
+ this.gB_MeterLog.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // pB_Logo1
+ //
+ this.pB_Logo1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.pB_Logo1.BackColor = System.Drawing.SystemColors.Control;
+ this.pB_Logo1.Image = ((System.Drawing.Image)(resources.GetObject("pB_Logo1.Image")));
+ this.pB_Logo1.InitialImage = null;
+ this.pB_Logo1.Location = new System.Drawing.Point(781, 0);
+ this.pB_Logo1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+ this.pB_Logo1.Name = "pB_Logo1";
+ this.pB_Logo1.Size = new System.Drawing.Size(158, 86);
+ this.pB_Logo1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
+ this.pB_Logo1.TabIndex = 69;
+ this.pB_Logo1.TabStop = false;
+ //
+ // gB_Meters
+ //
+ this.gB_Meters.Location = new System.Drawing.Point(1, 98);
+ this.gB_Meters.Margin = new System.Windows.Forms.Padding(10, 10, 10, 10);
+ this.gB_Meters.Name = "gB_Meters";
+ this.gB_Meters.Padding = new System.Windows.Forms.Padding(2, 2, 2, 2);
+ this.gB_Meters.Size = new System.Drawing.Size(950, 174);
+ this.gB_Meters.TabIndex = 71;
+ this.gB_Meters.TabStop = false;
+ this.gB_Meters.Text = "Meters";
+ //
+ // pB_Bubbles1
+ //
+ this.pB_Bubbles1.Anchor = System.Windows.Forms.AnchorStyles.Top;
+ this.pB_Bubbles1.Image = ((System.Drawing.Image)(resources.GetObject("pB_Bubbles1.Image")));
+ this.pB_Bubbles1.Location = new System.Drawing.Point(20, 2);
+ this.pB_Bubbles1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+ this.pB_Bubbles1.Name = "pB_Bubbles1";
+ this.pB_Bubbles1.Size = new System.Drawing.Size(267, 93);
+ this.pB_Bubbles1.TabIndex = 70;
+ this.pB_Bubbles1.TabStop = false;
+ this.pB_Bubbles1.Visible = false;
+ //
+ // l_ZeroFlowCal_Status
+ //
+ this.l_ZeroFlowCal_Status.AutoSize = true;
+ this.l_ZeroFlowCal_Status.Font = new System.Drawing.Font("Microsoft Sans Serif", 22.2F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.l_ZeroFlowCal_Status.Location = new System.Drawing.Point(10, 478);
+ this.l_ZeroFlowCal_Status.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_ZeroFlowCal_Status.Name = "l_ZeroFlowCal_Status";
+ this.l_ZeroFlowCal_Status.Size = new System.Drawing.Size(243, 36);
+ this.l_ZeroFlowCal_Status.TabIndex = 72;
+ this.l_ZeroFlowCal_Status.Text = "Press \'DETECT\'";
+ //
+ // gB_Progress
+ //
+ this.gB_Progress.Controls.Add(this.p_ZeroFlowCal_Completion);
+ this.gB_Progress.Controls.Add(this.p_ZeroFlowCal_Offset);
+ this.gB_Progress.Controls.Add(this.p_ZeroFlowCal_Detect);
+ this.gB_Progress.Controls.Add(this.p_ZeroFlowCal_TempCal);
+ this.gB_Progress.Controls.Add(this.p_ZeroFlowCal_Prepare);
+ this.gB_Progress.Controls.Add(this.p_ZeroFlowCal_Amplitude);
+ this.gB_Progress.Location = new System.Drawing.Point(8, 517);
+ this.gB_Progress.Margin = new System.Windows.Forms.Padding(10, 10, 10, 10);
+ this.gB_Progress.Name = "gB_Progress";
+ this.gB_Progress.Padding = new System.Windows.Forms.Padding(2, 2, 2, 2);
+ this.gB_Progress.Size = new System.Drawing.Size(744, 89);
+ this.gB_Progress.TabIndex = 80;
+ this.gB_Progress.TabStop = false;
+ //
+ // p_ZeroFlowCal_Completion
+ //
+ this.p_ZeroFlowCal_Completion.BackColor = System.Drawing.Color.Gainsboro;
+ this.p_ZeroFlowCal_Completion.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+ this.p_ZeroFlowCal_Completion.Controls.Add(this.l_ZeroFlowCal_Completion);
+ this.p_ZeroFlowCal_Completion.Location = new System.Drawing.Point(607, 17);
+ this.p_ZeroFlowCal_Completion.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+ this.p_ZeroFlowCal_Completion.Name = "p_ZeroFlowCal_Completion";
+ this.p_ZeroFlowCal_Completion.Size = new System.Drawing.Size(117, 65);
+ this.p_ZeroFlowCal_Completion.TabIndex = 32;
+ //
+ // l_ZeroFlowCal_Completion
+ //
+ this.l_ZeroFlowCal_Completion.AutoSize = true;
+ this.l_ZeroFlowCal_Completion.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.l_ZeroFlowCal_Completion.ForeColor = System.Drawing.Color.Gray;
+ this.l_ZeroFlowCal_Completion.Location = new System.Drawing.Point(0, 22);
+ this.l_ZeroFlowCal_Completion.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_ZeroFlowCal_Completion.Name = "l_ZeroFlowCal_Completion";
+ this.l_ZeroFlowCal_Completion.Size = new System.Drawing.Size(108, 17);
+ this.l_ZeroFlowCal_Completion.TabIndex = 40;
+ this.l_ZeroFlowCal_Completion.Text = "COMPLETION";
+ this.l_ZeroFlowCal_Completion.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // p_ZeroFlowCal_Offset
+ //
+ this.p_ZeroFlowCal_Offset.BackColor = System.Drawing.Color.Gainsboro;
+ this.p_ZeroFlowCal_Offset.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+ this.p_ZeroFlowCal_Offset.Controls.Add(this.l_ZeroFlowCal_Offset);
+ this.p_ZeroFlowCal_Offset.Controls.Add(this.cB_ZeroFlowOffsetTestEnable);
+ this.p_ZeroFlowCal_Offset.Controls.Add(this.cB_AmplitudeTestEnable);
+ this.p_ZeroFlowCal_Offset.Controls.Add(this.cB_TempCalEnable);
+ this.p_ZeroFlowCal_Offset.Location = new System.Drawing.Point(486, 17);
+ this.p_ZeroFlowCal_Offset.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+ this.p_ZeroFlowCal_Offset.Name = "p_ZeroFlowCal_Offset";
+ this.p_ZeroFlowCal_Offset.Size = new System.Drawing.Size(121, 65);
+ this.p_ZeroFlowCal_Offset.TabIndex = 94;
+ //
+ // l_ZeroFlowCal_Offset
+ //
+ this.l_ZeroFlowCal_Offset.AutoSize = true;
+ this.l_ZeroFlowCal_Offset.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.l_ZeroFlowCal_Offset.ForeColor = System.Drawing.Color.Gray;
+ this.l_ZeroFlowCal_Offset.Location = new System.Drawing.Point(24, 12);
+ this.l_ZeroFlowCal_Offset.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_ZeroFlowCal_Offset.Name = "l_ZeroFlowCal_Offset";
+ this.l_ZeroFlowCal_Offset.Size = new System.Drawing.Size(68, 34);
+ this.l_ZeroFlowCal_Offset.TabIndex = 40;
+ this.l_ZeroFlowCal_Offset.Text = "OFFSET\r\nTEST";
+ this.l_ZeroFlowCal_Offset.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // cB_ZeroFlowOffsetTestEnable
+ //
+ this.cB_ZeroFlowOffsetTestEnable.AutoSize = true;
+ this.cB_ZeroFlowOffsetTestEnable.Checked = true;
+ this.cB_ZeroFlowOffsetTestEnable.CheckState = System.Windows.Forms.CheckState.Checked;
+ this.cB_ZeroFlowOffsetTestEnable.Enabled = false;
+ this.cB_ZeroFlowOffsetTestEnable.Location = new System.Drawing.Point(24, 15);
+ this.cB_ZeroFlowOffsetTestEnable.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+ this.cB_ZeroFlowOffsetTestEnable.Name = "cB_ZeroFlowOffsetTestEnable";
+ this.cB_ZeroFlowOffsetTestEnable.Size = new System.Drawing.Size(58, 17);
+ this.cB_ZeroFlowOffsetTestEnable.TabIndex = 90;
+ this.cB_ZeroFlowOffsetTestEnable.Text = "enable";
+ this.cB_ZeroFlowOffsetTestEnable.UseVisualStyleBackColor = true;
+ this.cB_ZeroFlowOffsetTestEnable.Visible = false;
+ //
+ // cB_AmplitudeTestEnable
+ //
+ this.cB_AmplitudeTestEnable.AutoSize = true;
+ this.cB_AmplitudeTestEnable.Checked = true;
+ this.cB_AmplitudeTestEnable.CheckState = System.Windows.Forms.CheckState.Checked;
+ this.cB_AmplitudeTestEnable.Enabled = false;
+ this.cB_AmplitudeTestEnable.Location = new System.Drawing.Point(-216, 48);
+ this.cB_AmplitudeTestEnable.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+ this.cB_AmplitudeTestEnable.Name = "cB_AmplitudeTestEnable";
+ this.cB_AmplitudeTestEnable.Size = new System.Drawing.Size(58, 17);
+ this.cB_AmplitudeTestEnable.TabIndex = 92;
+ this.cB_AmplitudeTestEnable.Text = "enable";
+ this.cB_AmplitudeTestEnable.UseVisualStyleBackColor = true;
+ //
+ // cB_TempCalEnable
+ //
+ this.cB_TempCalEnable.AutoSize = true;
+ this.cB_TempCalEnable.Checked = true;
+ this.cB_TempCalEnable.CheckState = System.Windows.Forms.CheckState.Checked;
+ this.cB_TempCalEnable.Enabled = false;
+ this.cB_TempCalEnable.Location = new System.Drawing.Point(-96, 48);
+ this.cB_TempCalEnable.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+ this.cB_TempCalEnable.Name = "cB_TempCalEnable";
+ this.cB_TempCalEnable.Size = new System.Drawing.Size(58, 17);
+ this.cB_TempCalEnable.TabIndex = 94;
+ this.cB_TempCalEnable.Text = "enable";
+ this.cB_TempCalEnable.UseVisualStyleBackColor = true;
+ //
+ // p_ZeroFlowCal_Detect
+ //
+ this.p_ZeroFlowCal_Detect.BackColor = System.Drawing.Color.Gainsboro;
+ this.p_ZeroFlowCal_Detect.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+ this.p_ZeroFlowCal_Detect.Controls.Add(this.l_ZeroFlowCal_Detect);
+ this.p_ZeroFlowCal_Detect.Location = new System.Drawing.Point(4, 17);
+ this.p_ZeroFlowCal_Detect.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+ this.p_ZeroFlowCal_Detect.Name = "p_ZeroFlowCal_Detect";
+ this.p_ZeroFlowCal_Detect.Size = new System.Drawing.Size(121, 65);
+ this.p_ZeroFlowCal_Detect.TabIndex = 40;
+ //
+ // l_ZeroFlowCal_Detect
+ //
+ this.l_ZeroFlowCal_Detect.AutoSize = true;
+ this.l_ZeroFlowCal_Detect.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.l_ZeroFlowCal_Detect.ForeColor = System.Drawing.Color.Gray;
+ this.l_ZeroFlowCal_Detect.Location = new System.Drawing.Point(24, 22);
+ this.l_ZeroFlowCal_Detect.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_ZeroFlowCal_Detect.Name = "l_ZeroFlowCal_Detect";
+ this.l_ZeroFlowCal_Detect.Size = new System.Drawing.Size(69, 17);
+ this.l_ZeroFlowCal_Detect.TabIndex = 39;
+ this.l_ZeroFlowCal_Detect.Text = "DETECT";
+ //
+ // p_ZeroFlowCal_TempCal
+ //
+ this.p_ZeroFlowCal_TempCal.BackColor = System.Drawing.Color.Gainsboro;
+ this.p_ZeroFlowCal_TempCal.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+ this.p_ZeroFlowCal_TempCal.Controls.Add(this.l_ZeroFlowCal_TempCal);
+ this.p_ZeroFlowCal_TempCal.Location = new System.Drawing.Point(365, 17);
+ this.p_ZeroFlowCal_TempCal.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+ this.p_ZeroFlowCal_TempCal.Name = "p_ZeroFlowCal_TempCal";
+ this.p_ZeroFlowCal_TempCal.Size = new System.Drawing.Size(121, 65);
+ this.p_ZeroFlowCal_TempCal.TabIndex = 41;
+ //
+ // l_ZeroFlowCal_TempCal
+ //
+ this.l_ZeroFlowCal_TempCal.AutoSize = true;
+ this.l_ZeroFlowCal_TempCal.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.l_ZeroFlowCal_TempCal.ForeColor = System.Drawing.Color.Gray;
+ this.l_ZeroFlowCal_TempCal.Location = new System.Drawing.Point(0, 12);
+ this.l_ZeroFlowCal_TempCal.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_ZeroFlowCal_TempCal.Name = "l_ZeroFlowCal_TempCal";
+ this.l_ZeroFlowCal_TempCal.Size = new System.Drawing.Size(123, 34);
+ this.l_ZeroFlowCal_TempCal.TabIndex = 40;
+ this.l_ZeroFlowCal_TempCal.Text = "TEMPERATURE\r\nCALIBRATION";
+ this.l_ZeroFlowCal_TempCal.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // p_ZeroFlowCal_Prepare
+ //
+ this.p_ZeroFlowCal_Prepare.BackColor = System.Drawing.Color.Gainsboro;
+ this.p_ZeroFlowCal_Prepare.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+ this.p_ZeroFlowCal_Prepare.Controls.Add(this.l_ZeroFlowCal_Prepare);
+ this.p_ZeroFlowCal_Prepare.Location = new System.Drawing.Point(124, 17);
+ this.p_ZeroFlowCal_Prepare.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+ this.p_ZeroFlowCal_Prepare.Name = "p_ZeroFlowCal_Prepare";
+ this.p_ZeroFlowCal_Prepare.Size = new System.Drawing.Size(121, 65);
+ this.p_ZeroFlowCal_Prepare.TabIndex = 31;
+ //
+ // l_ZeroFlowCal_Prepare
+ //
+ this.l_ZeroFlowCal_Prepare.AutoSize = true;
+ this.l_ZeroFlowCal_Prepare.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.l_ZeroFlowCal_Prepare.ForeColor = System.Drawing.Color.Gray;
+ this.l_ZeroFlowCal_Prepare.Location = new System.Drawing.Point(18, 22);
+ this.l_ZeroFlowCal_Prepare.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_ZeroFlowCal_Prepare.Name = "l_ZeroFlowCal_Prepare";
+ this.l_ZeroFlowCal_Prepare.Size = new System.Drawing.Size(80, 17);
+ this.l_ZeroFlowCal_Prepare.TabIndex = 39;
+ this.l_ZeroFlowCal_Prepare.Text = "PREPARE";
+ //
+ // p_ZeroFlowCal_Amplitude
+ //
+ this.p_ZeroFlowCal_Amplitude.BackColor = System.Drawing.Color.Gainsboro;
+ this.p_ZeroFlowCal_Amplitude.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+ this.p_ZeroFlowCal_Amplitude.Controls.Add(this.l_ZeroFlowCal_Amplitude);
+ this.p_ZeroFlowCal_Amplitude.Location = new System.Drawing.Point(244, 17);
+ this.p_ZeroFlowCal_Amplitude.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+ this.p_ZeroFlowCal_Amplitude.Name = "p_ZeroFlowCal_Amplitude";
+ this.p_ZeroFlowCal_Amplitude.Size = new System.Drawing.Size(121, 65);
+ this.p_ZeroFlowCal_Amplitude.TabIndex = 32;
+ //
+ // l_ZeroFlowCal_Amplitude
+ //
+ this.l_ZeroFlowCal_Amplitude.AutoSize = true;
+ this.l_ZeroFlowCal_Amplitude.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.l_ZeroFlowCal_Amplitude.ForeColor = System.Drawing.Color.Gray;
+ this.l_ZeroFlowCal_Amplitude.Location = new System.Drawing.Point(12, 15);
+ this.l_ZeroFlowCal_Amplitude.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_ZeroFlowCal_Amplitude.Name = "l_ZeroFlowCal_Amplitude";
+ this.l_ZeroFlowCal_Amplitude.Size = new System.Drawing.Size(95, 34);
+ this.l_ZeroFlowCal_Amplitude.TabIndex = 39;
+ this.l_ZeroFlowCal_Amplitude.Text = "AMPLITUDE\r\nTEST";
+ this.l_ZeroFlowCal_Amplitude.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // gB_TempMeters
+ //
+ this.gB_TempMeters.Controls.Add(this.btn_StoreTempe);
+ this.gB_TempMeters.Location = new System.Drawing.Point(8, 275);
+ this.gB_TempMeters.Margin = new System.Windows.Forms.Padding(10, 10, 10, 10);
+ this.gB_TempMeters.Name = "gB_TempMeters";
+ this.gB_TempMeters.Padding = new System.Windows.Forms.Padding(2, 2, 2, 2);
+ this.gB_TempMeters.Size = new System.Drawing.Size(403, 193);
+ this.gB_TempMeters.TabIndex = 72;
+ this.gB_TempMeters.TabStop = false;
+ this.gB_TempMeters.Text = "Temp. Meters";
+ //
+ // btn_StoreTempe
+ //
+ this.btn_StoreTempe.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.btn_StoreTempe.Enabled = false;
+ this.btn_StoreTempe.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.btn_StoreTempe.Location = new System.Drawing.Point(4, 158);
+ this.btn_StoreTempe.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+ this.btn_StoreTempe.Name = "btn_StoreTempe";
+ this.btn_StoreTempe.Size = new System.Drawing.Size(395, 31);
+ this.btn_StoreTempe.TabIndex = 95;
+ this.btn_StoreTempe.Text = "SAVE TEMP";
+ this.btn_StoreTempe.UseVisualStyleBackColor = true;
+ this.btn_StoreTempe.Click += new System.EventHandler(this.btn_StoreTempe_Click);
+ //
+ // pB_ZeroFlowCal_Progress
+ //
+ this.pB_ZeroFlowCal_Progress.Location = new System.Drawing.Point(8, 634);
+ this.pB_ZeroFlowCal_Progress.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+ this.pB_ZeroFlowCal_Progress.Name = "pB_ZeroFlowCal_Progress";
+ this.pB_ZeroFlowCal_Progress.Size = new System.Drawing.Size(724, 18);
+ this.pB_ZeroFlowCal_Progress.Step = 1;
+ this.pB_ZeroFlowCal_Progress.TabIndex = 35;
+ //
+ // l_ZeroFlowCal_ResttimeDisplayValue
+ //
+ this.l_ZeroFlowCal_ResttimeDisplayValue.AutoSize = true;
+ this.l_ZeroFlowCal_ResttimeDisplayValue.Location = new System.Drawing.Point(843, 634);
+ this.l_ZeroFlowCal_ResttimeDisplayValue.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_ZeroFlowCal_ResttimeDisplayValue.Name = "l_ZeroFlowCal_ResttimeDisplayValue";
+ this.l_ZeroFlowCal_ResttimeDisplayValue.Size = new System.Drawing.Size(49, 13);
+ this.l_ZeroFlowCal_ResttimeDisplayValue.TabIndex = 37;
+ this.l_ZeroFlowCal_ResttimeDisplayValue.Text = "00:00:00";
+ //
+ // l_ZeroFlowCal_Resttime
+ //
+ this.l_ZeroFlowCal_Resttime.AutoSize = true;
+ this.l_ZeroFlowCal_Resttime.Location = new System.Drawing.Point(736, 634);
+ this.l_ZeroFlowCal_Resttime.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_ZeroFlowCal_Resttime.Name = "l_ZeroFlowCal_Resttime";
+ this.l_ZeroFlowCal_Resttime.Size = new System.Drawing.Size(54, 13);
+ this.l_ZeroFlowCal_Resttime.TabIndex = 36;
+ this.l_ZeroFlowCal_Resttime.Text = "Est. total: ";
+ //
+ // btn_ZeroFlowCal_Abort
+ //
+ this.btn_ZeroFlowCal_Abort.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.btn_ZeroFlowCal_Abort.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.btn_ZeroFlowCal_Abort.Location = new System.Drawing.Point(672, 44);
+ this.btn_ZeroFlowCal_Abort.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+ this.btn_ZeroFlowCal_Abort.Name = "btn_ZeroFlowCal_Abort";
+ this.btn_ZeroFlowCal_Abort.Size = new System.Drawing.Size(102, 52);
+ this.btn_ZeroFlowCal_Abort.TabIndex = 84;
+ this.btn_ZeroFlowCal_Abort.Text = "STOP";
+ this.btn_ZeroFlowCal_Abort.UseVisualStyleBackColor = true;
+ this.btn_ZeroFlowCal_Abort.Click += new System.EventHandler(this.btn_ZeroFlowCal_Abort_Click);
+ //
+ // btn_ZeroFlowCal_Start
+ //
+ this.btn_ZeroFlowCal_Start.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.btn_ZeroFlowCal_Start.Enabled = false;
+ this.btn_ZeroFlowCal_Start.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.btn_ZeroFlowCal_Start.Location = new System.Drawing.Point(566, 44);
+ this.btn_ZeroFlowCal_Start.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+ this.btn_ZeroFlowCal_Start.Name = "btn_ZeroFlowCal_Start";
+ this.btn_ZeroFlowCal_Start.Size = new System.Drawing.Size(102, 51);
+ this.btn_ZeroFlowCal_Start.TabIndex = 83;
+ this.btn_ZeroFlowCal_Start.Text = "START";
+ this.btn_ZeroFlowCal_Start.UseVisualStyleBackColor = true;
+ this.btn_ZeroFlowCal_Start.Click += new System.EventHandler(this.btn_ZeroFlowCal_Start_Click);
+ //
+ // btn_ZeroFlowCal_Pdf
+ //
+ this.btn_ZeroFlowCal_Pdf.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.btn_ZeroFlowCal_Pdf.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.btn_ZeroFlowCal_Pdf.Location = new System.Drawing.Point(846, 529);
+ this.btn_ZeroFlowCal_Pdf.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+ this.btn_ZeroFlowCal_Pdf.Name = "btn_ZeroFlowCal_Pdf";
+ this.btn_ZeroFlowCal_Pdf.Size = new System.Drawing.Size(63, 38);
+ this.btn_ZeroFlowCal_Pdf.TabIndex = 91;
+ this.btn_ZeroFlowCal_Pdf.Text = "PDF";
+ this.btn_ZeroFlowCal_Pdf.UseVisualStyleBackColor = true;
+ //
+ // btn_ZeroFlowCal_Save
+ //
+ this.btn_ZeroFlowCal_Save.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.btn_ZeroFlowCal_Save.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.btn_ZeroFlowCal_Save.Location = new System.Drawing.Point(779, 529);
+ this.btn_ZeroFlowCal_Save.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+ this.btn_ZeroFlowCal_Save.Name = "btn_ZeroFlowCal_Save";
+ this.btn_ZeroFlowCal_Save.Size = new System.Drawing.Size(63, 38);
+ this.btn_ZeroFlowCal_Save.TabIndex = 90;
+ this.btn_ZeroFlowCal_Save.Text = "Save";
+ this.btn_ZeroFlowCal_Save.UseVisualStyleBackColor = true;
+ //
+ // btn_ZeroFlowCal_Clear
+ //
+ this.btn_ZeroFlowCal_Clear.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.btn_ZeroFlowCal_Clear.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.btn_ZeroFlowCal_Clear.Location = new System.Drawing.Point(779, 571);
+ this.btn_ZeroFlowCal_Clear.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+ this.btn_ZeroFlowCal_Clear.Name = "btn_ZeroFlowCal_Clear";
+ this.btn_ZeroFlowCal_Clear.Size = new System.Drawing.Size(130, 28);
+ this.btn_ZeroFlowCal_Clear.TabIndex = 89;
+ this.btn_ZeroFlowCal_Clear.Text = "Clear";
+ this.btn_ZeroFlowCal_Clear.UseVisualStyleBackColor = true;
+ //
+ // btn_ZeroFlowCal_Detect
+ //
+ this.btn_ZeroFlowCal_Detect.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.btn_ZeroFlowCal_Detect.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.btn_ZeroFlowCal_Detect.Location = new System.Drawing.Point(291, 44);
+ this.btn_ZeroFlowCal_Detect.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+ this.btn_ZeroFlowCal_Detect.Name = "btn_ZeroFlowCal_Detect";
+ this.btn_ZeroFlowCal_Detect.Size = new System.Drawing.Size(102, 51);
+ this.btn_ZeroFlowCal_Detect.TabIndex = 82;
+ this.btn_ZeroFlowCal_Detect.Text = "DETECT";
+ this.btn_ZeroFlowCal_Detect.UseVisualStyleBackColor = true;
+ this.btn_ZeroFlowCal_Detect.Click += new System.EventHandler(this.btn_ZeroFlowCal_Detect_Click);
+ //
+ // gB_MeterLog
+ //
+ this.gB_MeterLog.Controls.Add(this.btn_ShowAll);
+ this.gB_MeterLog.Controls.Add(this.rTB_ZeroFlowCalMeter);
+ this.gB_MeterLog.Location = new System.Drawing.Point(419, 275);
+ this.gB_MeterLog.Margin = new System.Windows.Forms.Padding(10, 10, 10, 10);
+ this.gB_MeterLog.Name = "gB_MeterLog";
+ this.gB_MeterLog.Padding = new System.Windows.Forms.Padding(2, 2, 2, 2);
+ this.gB_MeterLog.Size = new System.Drawing.Size(532, 193);
+ this.gB_MeterLog.TabIndex = 72;
+ this.gB_MeterLog.TabStop = false;
+ this.gB_MeterLog.Text = "Meters";
+ this.gB_MeterLog.Visible = false;
+ //
+ // btn_ShowAll
+ //
+ this.btn_ShowAll.Location = new System.Drawing.Point(5, 14);
+ this.btn_ShowAll.Name = "btn_ShowAll";
+ this.btn_ShowAll.Size = new System.Drawing.Size(123, 20);
+ this.btn_ShowAll.TabIndex = 97;
+ this.btn_ShowAll.Text = "ShowAll";
+ this.btn_ShowAll.UseVisualStyleBackColor = true;
+ this.btn_ShowAll.Click += new System.EventHandler(this.btn_ShowAll_Click);
+ //
+ // rTB_ZeroFlowCalMeter
+ //
+ this.rTB_ZeroFlowCalMeter.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.rTB_ZeroFlowCalMeter.Location = new System.Drawing.Point(4, 39);
+ this.rTB_ZeroFlowCalMeter.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+ this.rTB_ZeroFlowCalMeter.Name = "rTB_ZeroFlowCalMeter";
+ this.rTB_ZeroFlowCalMeter.ReadOnly = true;
+ this.rTB_ZeroFlowCalMeter.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical;
+ this.rTB_ZeroFlowCalMeter.Size = new System.Drawing.Size(516, 139);
+ this.rTB_ZeroFlowCalMeter.TabIndex = 96;
+ this.rTB_ZeroFlowCalMeter.Text = "";
+ //
+ // pB_ZeroFlowCal_SubProgress
+ //
+ this.pB_ZeroFlowCal_SubProgress.Location = new System.Drawing.Point(8, 612);
+ this.pB_ZeroFlowCal_SubProgress.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+ this.pB_ZeroFlowCal_SubProgress.Name = "pB_ZeroFlowCal_SubProgress";
+ this.pB_ZeroFlowCal_SubProgress.Size = new System.Drawing.Size(724, 18);
+ this.pB_ZeroFlowCal_SubProgress.Step = 1;
+ this.pB_ZeroFlowCal_SubProgress.TabIndex = 92;
+ //
+ // l_ZeroFlowCal_SubResttimeDisplayValue
+ //
+ this.l_ZeroFlowCal_SubResttimeDisplayValue.AutoSize = true;
+ this.l_ZeroFlowCal_SubResttimeDisplayValue.Location = new System.Drawing.Point(845, 617);
+ this.l_ZeroFlowCal_SubResttimeDisplayValue.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_ZeroFlowCal_SubResttimeDisplayValue.Name = "l_ZeroFlowCal_SubResttimeDisplayValue";
+ this.l_ZeroFlowCal_SubResttimeDisplayValue.Size = new System.Drawing.Size(49, 13);
+ this.l_ZeroFlowCal_SubResttimeDisplayValue.TabIndex = 94;
+ this.l_ZeroFlowCal_SubResttimeDisplayValue.Text = "00:00:00";
+ //
+ // label2
+ //
+ this.label2.AutoSize = true;
+ this.label2.Location = new System.Drawing.Point(736, 616);
+ this.label2.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(105, 13);
+ this.label2.TabIndex = 93;
+ this.label2.Text = "Est. finish Proccess: ";
+ //
+ // rTB_ZeroFlowCal
+ //
+ this.rTB_ZeroFlowCal.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.rTB_ZeroFlowCal.Location = new System.Drawing.Point(419, 280);
+ this.rTB_ZeroFlowCal.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+ this.rTB_ZeroFlowCal.Name = "rTB_ZeroFlowCal";
+ this.rTB_ZeroFlowCal.ReadOnly = true;
+ this.rTB_ZeroFlowCal.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical;
+ this.rTB_ZeroFlowCal.Size = new System.Drawing.Size(528, 193);
+ this.rTB_ZeroFlowCal.TabIndex = 101;
+ this.rTB_ZeroFlowCal.Text = "";
+ //
+ // l_SettingsPreparationMetersize
+ //
+ this.l_SettingsPreparationMetersize.AutoSize = true;
+ this.l_SettingsPreparationMetersize.Location = new System.Drawing.Point(416, 72);
+ this.l_SettingsPreparationMetersize.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.l_SettingsPreparationMetersize.Name = "l_SettingsPreparationMetersize";
+ this.l_SettingsPreparationMetersize.Size = new System.Drawing.Size(55, 13);
+ this.l_SettingsPreparationMetersize.TabIndex = 104;
+ this.l_SettingsPreparationMetersize.Text = "Metersize:";
+ //
+ // cb_Metersize
+ //
+ this.cb_Metersize.FormattingEnabled = true;
+ this.cb_Metersize.Location = new System.Drawing.Point(476, 66);
+ this.cb_Metersize.Name = "cb_Metersize";
+ this.cb_Metersize.Size = new System.Drawing.Size(73, 21);
+ this.cb_Metersize.TabIndex = 105;
+ //
+ // lblBuildDate
+ //
+ this.lblBuildDate.AutoSize = true;
+ this.lblBuildDate.Location = new System.Drawing.Point(779, 88);
+ this.lblBuildDate.Name = "lblBuildDate";
+ this.lblBuildDate.Size = new System.Drawing.Size(10, 13);
+ this.lblBuildDate.TabIndex = 106;
+ this.lblBuildDate.Text = "-";
+ //
+ // PreAdjustmentControl
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.BackColor = System.Drawing.SystemColors.Window;
+ this.Controls.Add(this.lblBuildDate);
+ this.Controls.Add(this.cb_Metersize);
+ this.Controls.Add(this.l_SettingsPreparationMetersize);
+ this.Controls.Add(this.rTB_ZeroFlowCal);
+ this.Controls.Add(this.l_ZeroFlowCal_SubResttimeDisplayValue);
+ this.Controls.Add(this.label2);
+ this.Controls.Add(this.pB_ZeroFlowCal_SubProgress);
+ this.Controls.Add(this.gB_MeterLog);
+ this.Controls.Add(this.gB_TempMeters);
+ this.Controls.Add(this.btn_ZeroFlowCal_Pdf);
+ this.Controls.Add(this.btn_ZeroFlowCal_Save);
+ this.Controls.Add(this.btn_ZeroFlowCal_Clear);
+ this.Controls.Add(this.btn_ZeroFlowCal_Abort);
+ this.Controls.Add(this.l_ZeroFlowCal_ResttimeDisplayValue);
+ this.Controls.Add(this.pB_ZeroFlowCal_Progress);
+ this.Controls.Add(this.btn_ZeroFlowCal_Start);
+ this.Controls.Add(this.l_ZeroFlowCal_Resttime);
+ this.Controls.Add(this.btn_ZeroFlowCal_Detect);
+ this.Controls.Add(this.l_ZeroFlowCal_Status);
+ this.Controls.Add(this.gB_Progress);
+ this.Controls.Add(this.pB_Logo1);
+ this.Controls.Add(this.gB_Meters);
+ this.Controls.Add(this.pB_Bubbles1);
+ this.Name = "PreAdjustmentControl";
+ this.Size = new System.Drawing.Size(970, 674);
+ this.Load += new System.EventHandler(this.PreAdjustmentControl_Load);
+ ((System.ComponentModel.ISupportInitialize)(this.pB_Logo1)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.pB_Bubbles1)).EndInit();
+ this.gB_Progress.ResumeLayout(false);
+ this.p_ZeroFlowCal_Completion.ResumeLayout(false);
+ this.p_ZeroFlowCal_Completion.PerformLayout();
+ this.p_ZeroFlowCal_Offset.ResumeLayout(false);
+ this.p_ZeroFlowCal_Offset.PerformLayout();
+ this.p_ZeroFlowCal_Detect.ResumeLayout(false);
+ this.p_ZeroFlowCal_Detect.PerformLayout();
+ this.p_ZeroFlowCal_TempCal.ResumeLayout(false);
+ this.p_ZeroFlowCal_TempCal.PerformLayout();
+ this.p_ZeroFlowCal_Prepare.ResumeLayout(false);
+ this.p_ZeroFlowCal_Prepare.PerformLayout();
+ this.p_ZeroFlowCal_Amplitude.ResumeLayout(false);
+ this.p_ZeroFlowCal_Amplitude.PerformLayout();
+ this.gB_TempMeters.ResumeLayout(false);
+ this.gB_MeterLog.ResumeLayout(false);
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+ private System.Windows.Forms.PictureBox pB_Logo1;
+ private System.Windows.Forms.GroupBox gB_Meters;
+ private System.Windows.Forms.PictureBox pB_Bubbles1;
+ private System.Windows.Forms.Label l_ZeroFlowCal_Status;
+ private System.Windows.Forms.GroupBox gB_Progress;
+ private System.Windows.Forms.Panel p_ZeroFlowCal_Completion;
+ private System.Windows.Forms.Label l_ZeroFlowCal_Completion;
+ private System.Windows.Forms.ProgressBar pB_ZeroFlowCal_Progress;
+ private System.Windows.Forms.Label l_ZeroFlowCal_ResttimeDisplayValue;
+ private System.Windows.Forms.Panel p_ZeroFlowCal_Offset;
+ private System.Windows.Forms.Label l_ZeroFlowCal_Offset;
+ private System.Windows.Forms.Label l_ZeroFlowCal_Resttime;
+ private System.Windows.Forms.Panel p_ZeroFlowCal_Detect;
+ private System.Windows.Forms.Label l_ZeroFlowCal_Detect;
+ private System.Windows.Forms.Panel p_ZeroFlowCal_TempCal;
+ private System.Windows.Forms.Label l_ZeroFlowCal_TempCal;
+ private System.Windows.Forms.Panel p_ZeroFlowCal_Prepare;
+ private System.Windows.Forms.Label l_ZeroFlowCal_Prepare;
+ private System.Windows.Forms.Panel p_ZeroFlowCal_Amplitude;
+ private System.Windows.Forms.Label l_ZeroFlowCal_Amplitude;
+ private System.Windows.Forms.Button btn_ZeroFlowCal_Abort;
+ private System.Windows.Forms.Button btn_ZeroFlowCal_Start;
+ private System.Windows.Forms.Button btn_ZeroFlowCal_Pdf;
+ private System.Windows.Forms.Button btn_ZeroFlowCal_Save;
+ private System.Windows.Forms.Button btn_ZeroFlowCal_Clear;
+ private System.Windows.Forms.Button btn_ZeroFlowCal_Detect;
+ private System.Windows.Forms.GroupBox gB_TempMeters;
+ private System.Windows.Forms.CheckBox cB_ZeroFlowOffsetTestEnable;
+ private System.Windows.Forms.CheckBox cB_TempCalEnable;
+ private System.Windows.Forms.CheckBox cB_AmplitudeTestEnable;
+ private System.Windows.Forms.Button btn_StoreTempe;
+ private System.Windows.Forms.GroupBox gB_MeterLog;
+ private System.Windows.Forms.RichTextBox rTB_ZeroFlowCalMeter;
+ private System.Windows.Forms.ProgressBar pB_ZeroFlowCal_SubProgress;
+ private System.Windows.Forms.Label l_ZeroFlowCal_SubResttimeDisplayValue;
+ private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Button btn_ShowAll;
+ private System.Windows.Forms.RichTextBox rTB_ZeroFlowCal;
+ private System.Windows.Forms.Label l_SettingsPreparationMetersize;
+ private System.Windows.Forms.ComboBox cb_Metersize;
+ private System.Windows.Forms.Label lblBuildDate;
+ }
+}
diff --git a/GenesisCordonelInterface/UI/LaatzenAPI_CordonelPreadjustmentUI/PreAdjustmentControl.cs b/GenesisCordonelInterface/UI/LaatzenAPI_CordonelPreadjustmentUI/PreAdjustmentControl.cs
new file mode 100644
index 000000000..bee46c25b
--- /dev/null
+++ b/GenesisCordonelInterface/UI/LaatzenAPI_CordonelPreadjustmentUI/PreAdjustmentControl.cs
@@ -0,0 +1,2128 @@
+using CordonelPreadjustmentUi.Processes;
+using CordonelPreadjustmentUi.Processes.Actions;
+using CordonelPreadjustmentUi.Processes.Itinerary;
+using System;
+using System.Collections.Generic;
+using System.Drawing;
+using System.Globalization;
+using System.Linq;
+using System.Text;
+using System.Threading;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+using Xylem.Common.Hardware.WaterMeter.WaterMeterCore;
+using Xylem.Common.Hardware.WaterMeter.WaterMeterCore.Consts;
+using Xylem.Common.Logic.ProductionOrderCore.OrderData;
+using Xylem.Common.Ui.CordonelPreadjustmentUi;
+using Xylem.Common.Ui.CordonelPreadjustmentUi.Parameters;
+using CordonelPreadjustmentUi;
+
+namespace GenesisCordonelInterface.UI
+{
+ public partial class PreAdjustmentControl : UserControl
+ {
+ private ProcessProgress pp = new ProcessProgress();
+ private PreAdjustmentSettingsContainer settings = new PreAdjustmentSettingsContainer();
+
+
+ private List MeterStateCtls = new List();
+ private List TempMeterStateCtls = new List();
+
+ private List AllMeterStateCtrls()
+ {
+ var r = new List();
+ r.AddRange(MeterStateCtls);
+ r.AddRange(TempMeterStateCtls);
+ return r;
+ }
+
+ private MeterBatch GlobalMeterBatch = new MeterBatch();
+ private MeterBatch ThermoMeterBatch = new MeterBatch();
+ private Boolean abortIndicator = false;
+ public Boolean AbortIndicator { get { return abortIndicator; } set { abortIndicator = value; } }
+ public int TestRunNumber;
+ public PreAdjustmentControl(PreAdjustmentSettingsContainer Settings = null)
+ {
+ InitializeComponent();
+ SetSettings(Settings);
+ rTB_ZeroFlowCal.AutoSize = true;
+ }
+ public void SetSettings(PreAdjustmentSettingsContainer Settings = null)
+ {
+ settings = Settings;
+ if (settings != null)
+ {
+ PreAdjustmentControl_Load(this, EventArgs.Empty);
+ }
+
+ }
+
+ private void PreAdjustmentControl_Load(object sender, System.EventArgs e)
+ {
+
+ MeterStateCtls = new List();
+ TempMeterStateCtls = new List();
+ if (settings != null)
+ {
+ gB_Meters.Controls.Clear();
+ gB_TempMeters.Controls.Clear();
+ gB_TempMeters.Controls.Add(this.btn_StoreTempe);
+ var tmpI = 1;
+ foreach (var Meter in settings.Meters)
+ {
+ var ctl = new MeterStateControl(Meter);
+ ctl.Location = new Point(5 + ((tmpI - 1) * ctl.Width), 15);
+ MeterStateCtls.Add(ctl);
+ gB_Meters.Controls.Add(ctl);
+ ctl.OnRequestDetails += Ctl_MouseEnter;
+ tmpI = tmpI + 1;
+ }
+
+ tmpI = 1;
+ if (settings.TempMeters.Any() && settings.GetTempUseTempFlansh())
+ {
+ foreach (var tempMeter in settings.TempMeters)
+ {
+ var ctl = new TempMeterStateControl(tempMeter);
+ ctl.Location = new Point(5 + ((tmpI - 1) * ctl.Width), 15);
+ TempMeterStateCtls.Add(ctl);
+ gB_TempMeters.Controls.Add(ctl);
+ ctl.OnRequestDetails += Ctl_MouseEnter;
+ ctl.DoubleClick += Clt_ReConnect;
+ tmpI = tmpI + 1;
+ ctl.Enabled = true;
+
+ }
+ }
+ else
+ {
+ var ctl = new TempMeterStateControl("Input");
+ ctl.Location = new Point(5 + ((tmpI - 1) * ctl.Width), 15);
+ ctl.SetChecked(true);
+ TempMeterStateCtls.Add(ctl);
+ gB_TempMeters.Controls.Add(ctl);
+ //ctl.DoubleClick += Ctl_MouseEnter;
+ tmpI = tmpI + 1;
+ ctl.Enabled = true;
+ }
+
+
+
+ cb_Metersize.Items.Clear();
+ foreach (MeterSize size in (MeterSize[])Enum.GetValues(typeof(MeterSize)))
+ {
+ cb_Metersize.Items.Add(size);
+ }
+ var setM = MeterSize.DN50;
+ if (settings?.MeterSize != null)
+ {
+ setM = settings.MeterSize;
+ }
+ cb_Metersize.SelectedItem = setM;
+
+ }
+ }
+
+ private void Ctl_MouseLeave(object sender, EventArgs e)
+ {
+
+ }
+ private void Ctl_MouseEnter(object sender, EventArgs e)
+ {
+ if (sender is MeterStateControl meterStateCtl)
+ {
+ if (this.InvokeRequired)
+ {
+ this.Invoke((Action