diff --git a/.vs/AVS/DesignTimeBuild/.dtbcache.v2 b/.vs/AVS/DesignTimeBuild/.dtbcache.v2
index 8c4ac26..829ce9b 100644
Binary files a/.vs/AVS/DesignTimeBuild/.dtbcache.v2 and b/.vs/AVS/DesignTimeBuild/.dtbcache.v2 differ
diff --git a/.vs/AVS/v16/.suo b/.vs/AVS/v16/.suo
index 22b635f..d825aa4 100644
Binary files a/.vs/AVS/v16/.suo and b/.vs/AVS/v16/.suo differ
diff --git a/MainForm.Designer.cs b/MainForm.Designer.cs
index c04a71b..60e2cb3 100644
--- a/MainForm.Designer.cs
+++ b/MainForm.Designer.cs
@@ -275,6 +275,7 @@ namespace AVS
this.btn_reset_port.TabIndex = 57;
this.btn_reset_port.Text = "RESET PORT";
this.btn_reset_port.UseVisualStyleBackColor = false;
+ this.btn_reset_port.Visible = false;
this.btn_reset_port.Click += new System.EventHandler(this.btn_reset_port_Click);
//
// openFileDialog1
diff --git a/MainForm.cs b/MainForm.cs
index cf6bd09..923308a 100644
--- a/MainForm.cs
+++ b/MainForm.cs
@@ -30,11 +30,36 @@ using System.Linq;
using System.Diagnostics;
using System.Reflection;
using System.Management;
+using System.Runtime.InteropServices;
namespace AVS
{
public partial class MainForm : MaterialForm
{
+ // Define the necessary P/Invoke signatures
+ const uint DIGCF_PRESENT = 0x00000002;
+ const uint DIGCF_ALLCLASSES = 0x00000004;
+ const uint DIF_DISABLE = 0x00000012;
+ const uint DIF_ENABLE = 0x00000011;
+
+ [DllImport("setupapi.dll", CharSet = CharSet.Auto, SetLastError = true)]
+ public static extern IntPtr SetupDiGetClassDevs(IntPtr classGuid, string enumerator, IntPtr hwndParent, uint flags);
+
+ [DllImport("setupapi.dll", CharSet = CharSet.Auto, SetLastError = true)]
+ public static extern bool SetupDiEnumDeviceInfo(IntPtr deviceInfoSet, uint memberIndex, ref SP_DEVINFO_DATA deviceInfoData);
+
+ [DllImport("setupapi.dll", CharSet = CharSet.Auto, SetLastError = true)]
+ public static extern bool SetupDiCallClassInstaller(uint InstallFunction, IntPtr deviceInfoSet, ref SP_DEVINFO_DATA deviceInfoData);
+
+ [StructLayout(LayoutKind.Sequential)]
+ public class SP_DEVINFO_DATA
+ {
+ public uint cbSize;
+ public Guid ClassGuid;
+ public uint DevInst;
+ public IntPtr Reserved;
+ }
+
private readonly SemaphoreSlim _operationLock = new SemaphoreSlim(1, 1);
string Softwareversion;
@@ -1492,7 +1517,14 @@ namespace AVS
{
try
{
- return _serialPort.ReadLine();
+ if (global_cb_carton == true)
+ {
+ return _serialPort.ReadExisting();
+ }
+ else
+ {
+ return _serialPort.ReadLine();
+ }
}
catch (TimeoutException ex)
{
@@ -1503,18 +1535,11 @@ namespace AVS
if (!string.IsNullOrEmpty(data))
{
- //if (userTextBox.Text.Contains("1stfloor"))
- //{
-
- // ForNewWeightScale(data);
- //}
- //else
- //{
- Debug.WriteLine($"Data received: {data}");
- UpdateUI(data, isDataReceived: true);
- Console.WriteLine($"Data received: {data}");
- // }
+ Debug.WriteLine($"Data received: {data}");
+ UpdateUI(data, isDataReceived: true);
+ Console.WriteLine($"Data received: {data}");
+
}
else
{
@@ -1661,6 +1686,8 @@ namespace AVS
txt_weight.Text = "0"; // Reset weight display
lbl_hold_weight.Text = "0"; // Reset hold weight display
PreviousWeight = 0; // Reset previous weight tracker
+
+
}
else
{
@@ -1668,38 +1695,49 @@ namespace AVS
if (isDataReceived)
{
pb_red.Visible = false; // Hide red indicator
- pb_blue.Visible = true; // Show blue indicator for data received
+ pb_blue.Visible = true; // Show blue indicator for data received
- // Match weight pattern in message (e.g., "123.45 kg")
- Match match = Regex.Match(message, @"(\d+(\.\d+)?) kg");
-
- if (match.Success && double.TryParse(match.Groups[1].Value, out double weight))
+ // For new weighing scale
+ if (global_cb_carton == true)
{
- // Only update weight display if it has changed
- if (weight != PreviousWeight)
+ string[] segments = message.Split('=');
+
+ foreach (string segment in segments)
{
- PreviousWeight = weight; // Update the previous weight
- txt_weight.Text = weight.ToString("0.000"); // Display the current weight
+ // Trim unwanted characters
+ string numericPart = segment.Trim().TrimEnd('.');
+
+ // Try parsing as a double
+ if (!string.IsNullOrEmpty(numericPart) && double.TryParse(numericPart,
+ NumberStyles.Any, CultureInfo.InvariantCulture, out double weight))
+ {
+ //MessageBox.Show(weight.ToString("0.000"));
+
+ // Example dynamic rule for SITE-05 (reverse the number as string)
+ string reversedString = new string(numericPart.Reverse().ToArray());
+
+ if (double.TryParse(reversedString, NumberStyles.Any, CultureInfo.InvariantCulture, out double reversedWeight))
+ {
+ weight = reversedWeight; // Use reversed value dynamically
+
+ if (weight != PreviousWeight)
+ {
+ PreviousWeight = weight; // Update the previous weight
+ txt_weight.Text = weight.ToString("0.000"); // Display the current weight
+ }
+
+ // Update hold weight if above threshold
+ if (weight > 0.020)
+ {
+ lbl_hold_weight.Text = weight.ToString("0.000"); // Display the hold weight
+ }
+
+ message = "Machine connected";
+ lbl_msg.ForeColor = Color.Green;
+ lbl_msg.Text = message;
+ }
+ }
}
-
- // Update hold weight if above threshold
- if (weight > 0.020)
- {
- lbl_hold_weight.Text = weight.ToString("0.000"); // Display the hold weight
- }
-
- message = "Machine connected";
- lbl_msg.ForeColor = Color.Green;
- lbl_msg.Text = message;
- }
- else
- {
- message = "Set machine uint in KG";
- lbl_msg.ForeColor = Color.Red;
- lbl_msg.Text = message;
- lbl_hold_weight.Text = "0";
- txt_weight.Text = "0";
-
}
}
else
@@ -1797,37 +1835,131 @@ namespace AVS
private void btn_reset_port_Click(object sender, EventArgs e)
{
// Get the name of the first available COM port
-
string portName = GetCompatiblePort(SerialPortStream.GetPortNames());
- //string portName = "COM1";
if (string.IsNullOrEmpty(portName))
{
MessageBox.Show("No COM ports found.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
return;
}
- // Try to reset the port using PowerShell
- string deviceInstanceId = GetDeviceInstanceIdFromCOMPort(portName);
- if (!string.IsNullOrEmpty(deviceInstanceId))
- {
- ResetPort(deviceInstanceId);
- }
- else
- {
- MessageBox.Show($"Device ID for {portName} not found.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
- }
+ // Try to get the Device Instance ID for the port
+ //string deviceInstanceId = GetDeviceInstanceIdFromCOMPort(portName);
+ //if (!string.IsNullOrEmpty(deviceInstanceId))
+ //{
+ ResetPort(portName);
+ // }
+ // else
+ // {
+ // MessageBox.Show($"Device ID for {portName} not found.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ //}
}
- private string GetDeviceInstanceIdFromCOMPort(string portName)
+ //private string GetDeviceInstanceIdFromCOMPort(string portName)
+ //{
+ // try
+ // {
+ // // WMI query to get the device instance ID based on the COM port
+ // string query = $"SELECT * FROM Win32_SerialPort WHERE DeviceID LIKE '%{portName}%'";
+
+ // // Create a ManagementObjectSearcher to execute the query
+ // ManagementObjectSearcher searcher = new ManagementObjectSearcher(query);
+ // foreach (ManagementObject device in searcher.Get())
+ // {
+ // // Return the device instance ID
+ // return device["PNPDeviceID"]?.ToString();
+ // }
+ // }
+ // catch (Exception ex)
+ // {
+ // Debug.WriteLine($"Error retrieving Device Instance ID: {ex.Message}");
+ // }
+ // return null;
+ //}
+
+ // Method to set the device state (enable/disable) using WMI
+
+
+ // Method to reset the port by disabling and enabling it
+ public static void ResetPort(string portName)
+ {
+ string deviceInstanceId = GetDeviceInstanceIdFromCOMPort(portName);
+
+ if (!string.IsNullOrEmpty(deviceInstanceId))
+ {
+ DisableDevice(deviceInstanceId);
+ Thread.Sleep(3000); // Wait 3 seconds before enabling the device
+ EnableDevice(deviceInstanceId);
+ }
+ else
+ {
+ Console.WriteLine("No device found for the given COM port.");
+ }
+ }
+ // Methods to enable or disable the device
+ public static void EnableDevice(string deviceInstanceId)
+ {
+ IntPtr deviceInfoSet = SetupDiGetClassDevs(IntPtr.Zero, deviceInstanceId, IntPtr.Zero, DIGCF_PRESENT);
+ if (deviceInfoSet == IntPtr.Zero)
+ {
+ Console.WriteLine("Error getting device info set.");
+ return;
+ }
+
+ SP_DEVINFO_DATA deviceInfoData = new SP_DEVINFO_DATA();
+ deviceInfoData.cbSize = (uint)Marshal.SizeOf(typeof(SP_DEVINFO_DATA));
+
+ uint index = 0;
+ while (SetupDiEnumDeviceInfo(deviceInfoSet, index, ref deviceInfoData))
+ {
+ Console.WriteLine($"Found device: {deviceInfoData.DevInst}");
+ SetupDiCallClassInstaller(DIF_ENABLE, deviceInfoSet, ref deviceInfoData);
+ Console.WriteLine("Device enabled.");
+ break; // Stop after enabling the first matching device
+ }
+ Console.WriteLine("No matching device found.");
+ }
+
+ // Disable a device by Instance ID
+ public static void DisableDevice(string deviceInstanceId)
+ {
+ IntPtr deviceInfoSet = SetupDiGetClassDevs(IntPtr.Zero, deviceInstanceId, IntPtr.Zero, DIGCF_PRESENT);
+ if (deviceInfoSet == IntPtr.Zero)
+ {
+ Console.WriteLine("Error getting device info set.");
+ return;
+ }
+
+ SP_DEVINFO_DATA deviceInfoData = new SP_DEVINFO_DATA();
+ deviceInfoData.cbSize = (uint)Marshal.SizeOf(typeof(SP_DEVINFO_DATA));
+
+ uint index = 0;
+ while (SetupDiEnumDeviceInfo(deviceInfoSet, index, ref deviceInfoData))
+ {
+ Console.WriteLine($"Found device: {deviceInfoData.DevInst}");
+ SetupDiCallClassInstaller(DIF_DISABLE, deviceInfoSet, ref deviceInfoData);
+ Console.WriteLine("Device disabled.");
+ break; // Stop after disabling the first matching device
+ }
+ Console.WriteLine("No matching device found.");
+ }
+ public static string GetDeviceInstanceIdFromCOMPort(string portName)
{
try
{
- // Query the Windows registry for the device instance ID
+ // PowerShell query to get device instance ID based on the COM port
string query = $"Get-PnpDevice | Where-Object {{ $_.Name -like '*{portName}*' }} | Select-Object -ExpandProperty InstanceId";
- return ExecutePowerShellCommand(query);
+
+ // Capture the output of the command
+ string result = ExecutePowerShellCommand(query);
+
+ // Debugging: log the result to ensure correct InstanceId is returned
+ Debug.WriteLine($"PowerShell Output for InstanceId: {result}");
+
+ // Return the result, null if empty
+ return string.IsNullOrEmpty(result) ? null : result;
}
catch (Exception ex)
{
@@ -1836,56 +1968,34 @@ namespace AVS
}
}
- private void ResetPort(string deviceInstanceId)
- {
- string uninstallCommand = $"Uninstall-PnpDevice -InstanceId \"{deviceInstanceId}\" -Confirm:$false";
- string scanForHardwareCommand = "Get-PnpDevice | Where-Object { $_.Status -eq 'Absent' } | Enable-PnpDevice -Confirm:$false";
-
- // Uninstall the device
- ExecutePowerShellCommand(uninstallCommand);
- Thread.Sleep(5000); // Wait to ensure the device is uninstalled
-
- // Scan for hardware changes to reinstall the device
- ExecutePowerShellCommand(scanForHardwareCommand);
- }
-
- private string ExecutePowerShellCommand(string command)
+ public static string ExecutePowerShellCommand(string command)
{
try
{
- using (var process = new Process())
+ // Run the PowerShell script and capture output
+ var startInfo = new ProcessStartInfo
{
- process.StartInfo = new ProcessStartInfo
- {
- FileName = "powershell.exe",
- Arguments = $"-Command \"{command}\"",
- RedirectStandardOutput = true,
- RedirectStandardError = true,
- UseShellExecute = false,
- CreateNoWindow = true
- };
+ FileName = "powershell.exe",
+ Arguments = $"-NoProfile -ExecutionPolicy Bypass -Command \"{command}\"",
+ RedirectStandardOutput = true,
+ UseShellExecute = false,
+ CreateNoWindow = true
+ };
- process.Start();
- string output = process.StandardOutput.ReadToEnd();
- string error = process.StandardError.ReadToEnd();
- process.WaitForExit();
-
- if (!string.IsNullOrWhiteSpace(error))
- {
- Debug.WriteLine($"PowerShell Error: {error}");
- return null;
- }
-
- return output.Trim(); // Return the command output
+ using (var process = Process.Start(startInfo))
+ using (var reader = process.StandardOutput)
+ {
+ return reader.ReadToEnd().Trim(); // Return the output of the command
}
}
catch (Exception ex)
{
- Debug.WriteLine($"PowerShell execution error: {ex.Message}");
+ Debug.WriteLine($"Error executing PowerShell command: {ex.Message}");
return null;
}
}
+
}
}
diff --git a/Properties/PublishProfiles/ClickOnceProfile.pubxml.user b/Properties/PublishProfiles/ClickOnceProfile.pubxml.user
index 42ebfc2..ebb93fa 100644
--- a/Properties/PublishProfiles/ClickOnceProfile.pubxml.user
+++ b/Properties/PublishProfiles/ClickOnceProfile.pubxml.user
@@ -4,6 +4,6 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
-->
- True|2025-01-22T13:06:10.2021515Z;True|2025-01-20T17:03:46.3339359+05:00;True|2025-01-17T16:05:43.4268668+05:00;True|2025-01-17T15:29:15.3040623+05:00;True|2025-01-17T14:43:18.0168523+05:00;True|2025-01-17T12:10:42.9600907+05:00;True|2025-01-16T15:41:00.8488244+05:00;True|2025-01-15T16:56:17.6142392+05:00;True|2025-01-15T16:33:55.6417349+05:00;True|2025-01-15T13:21:45.4638138+05:00;True|2025-01-15T13:15:20.5641887+05:00;True|2025-01-15T12:40:01.2419621+05:00;True|2025-01-15T12:03:30.8084697+05:00;True|2025-01-14T14:28:18.3366894+05:00;True|2025-01-14T14:26:26.2462065+05:00;True|2025-01-14T14:15:07.2883239+05:00;True|2025-01-13T12:30:23.8416299+05:00;True|2025-01-13T11:42:39.1224890+05:00;True|2025-01-03T12:33:10.2793698+05:00;True|2024-12-18T15:18:14.4395717+05:00;True|2024-12-18T12:54:56.8084778+05:00;True|2024-12-13T15:44:24.4352978+05:00;True|2024-12-05T10:51:18.0390128+05:00;True|2024-11-19T15:15:29.2333962+05:00;False|2024-11-19T15:14:41.4128664+05:00;False|2024-11-19T15:14:36.3176067+05:00;True|2024-11-19T12:46:09.5293823+05:00;True|2024-11-15T15:47:24.5856469+05:00;True|2024-11-15T10:37:27.3010142+05:00;True|2024-11-14T16:04:59.4907408+05:00;True|2024-11-14T11:36:56.6431970+05:00;True|2024-11-14T11:34:49.6598132+05:00;True|2024-11-14T11:28:45.2501074+05:00;True|2024-11-14T11:26:24.2442493+05:00;True|2024-11-14T11:23:19.7352473+05:00;True|2024-11-14T11:14:58.0824649+05:00;True|2024-11-14T11:11:54.9014794+05:00;True|2024-11-13T15:09:33.1039388+05:00;True|2024-11-11T15:27:08.4922899+05:00;True|2024-11-11T11:11:44.1076640+05:00;True|2024-11-08T16:55:19.8477794+05:00;True|2024-11-07T13:00:42.6710690+05:00;True|2024-11-06T15:51:05.5447288+05:00;True|2024-10-24T12:42:25.3699824+05:00;True|2024-10-24T11:23:10.1903366+05:00;True|2024-10-16T16:14:16.3746546+05:00;True|2024-10-16T15:50:04.4963422+05:00;True|2024-10-16T13:05:44.8782830+05:00;True|2024-10-16T13:01:07.1428555+05:00;True|2024-10-14T16:14:19.8020734+05:00;True|2024-09-14T10:16:00.4694353+05:00;True|2024-09-10T11:51:34.4061980+05:00;True|2024-09-09T13:16:17.8966236+05:00;True|2024-09-06T16:06:27.3649451+05:00;True|2024-09-06T16:04:47.1924045+05:00;True|2024-09-06T15:57:13.6901243+05:00;True|2024-09-06T12:32:36.9615856+05:00;True|2024-09-04T15:57:14.4892617+05:00;
+ True|2025-02-07T05:32:29.7309449Z;True|2025-02-07T10:27:55.4280510+05:00;True|2025-02-07T10:21:49.7222635+05:00;True|2025-02-06T15:41:41.2223957+05:00;True|2025-02-06T13:03:45.4378887+05:00;True|2025-02-06T12:47:23.0466564+05:00;True|2025-02-06T12:07:59.3347451+05:00;True|2025-02-06T11:13:58.9226036+05:00;True|2025-02-06T10:56:53.5700768+05:00;True|2025-01-22T18:06:10.2021515+05:00;True|2025-01-20T17:03:46.3339359+05:00;True|2025-01-17T16:05:43.4268668+05:00;True|2025-01-17T15:29:15.3040623+05:00;True|2025-01-17T14:43:18.0168523+05:00;True|2025-01-17T12:10:42.9600907+05:00;True|2025-01-16T15:41:00.8488244+05:00;True|2025-01-15T16:56:17.6142392+05:00;True|2025-01-15T16:33:55.6417349+05:00;True|2025-01-15T13:21:45.4638138+05:00;True|2025-01-15T13:15:20.5641887+05:00;True|2025-01-15T12:40:01.2419621+05:00;True|2025-01-15T12:03:30.8084697+05:00;True|2025-01-14T14:28:18.3366894+05:00;True|2025-01-14T14:26:26.2462065+05:00;True|2025-01-14T14:15:07.2883239+05:00;True|2025-01-13T12:30:23.8416299+05:00;True|2025-01-13T11:42:39.1224890+05:00;True|2025-01-03T12:33:10.2793698+05:00;True|2024-12-18T15:18:14.4395717+05:00;True|2024-12-18T12:54:56.8084778+05:00;True|2024-12-13T15:44:24.4352978+05:00;True|2024-12-05T10:51:18.0390128+05:00;True|2024-11-19T15:15:29.2333962+05:00;False|2024-11-19T15:14:41.4128664+05:00;False|2024-11-19T15:14:36.3176067+05:00;True|2024-11-19T12:46:09.5293823+05:00;True|2024-11-15T15:47:24.5856469+05:00;True|2024-11-15T10:37:27.3010142+05:00;True|2024-11-14T16:04:59.4907408+05:00;True|2024-11-14T11:36:56.6431970+05:00;True|2024-11-14T11:34:49.6598132+05:00;True|2024-11-14T11:28:45.2501074+05:00;True|2024-11-14T11:26:24.2442493+05:00;True|2024-11-14T11:23:19.7352473+05:00;True|2024-11-14T11:14:58.0824649+05:00;True|2024-11-14T11:11:54.9014794+05:00;True|2024-11-13T15:09:33.1039388+05:00;True|2024-11-11T15:27:08.4922899+05:00;True|2024-11-11T11:11:44.1076640+05:00;True|2024-11-08T16:55:19.8477794+05:00;True|2024-11-07T13:00:42.6710690+05:00;True|2024-11-06T15:51:05.5447288+05:00;True|2024-10-24T12:42:25.3699824+05:00;True|2024-10-24T11:23:10.1903366+05:00;True|2024-10-16T16:14:16.3746546+05:00;True|2024-10-16T15:50:04.4963422+05:00;True|2024-10-16T13:05:44.8782830+05:00;True|2024-10-16T13:01:07.1428555+05:00;True|2024-10-14T16:14:19.8020734+05:00;True|2024-09-14T10:16:00.4694353+05:00;True|2024-09-10T11:51:34.4061980+05:00;True|2024-09-09T13:16:17.8966236+05:00;True|2024-09-06T16:06:27.3649451+05:00;True|2024-09-06T16:04:47.1924045+05:00;True|2024-09-06T15:57:13.6901243+05:00;True|2024-09-06T12:32:36.9615856+05:00;True|2024-09-04T15:57:14.4892617+05:00;
\ No newline at end of file
diff --git a/bin/Debug/netcoreapp3.1/AVS.dll b/bin/Debug/netcoreapp3.1/AVS.dll
index 7df1a3b..4f2de0d 100644
Binary files a/bin/Debug/netcoreapp3.1/AVS.dll and b/bin/Debug/netcoreapp3.1/AVS.dll differ
diff --git a/bin/Debug/netcoreapp3.1/AVS.pdb b/bin/Debug/netcoreapp3.1/AVS.pdb
index 472e030..b1ee9b9 100644
Binary files a/bin/Debug/netcoreapp3.1/AVS.pdb and b/bin/Debug/netcoreapp3.1/AVS.pdb differ
diff --git a/bin/Release/netcoreapp3.1/AVS.dll b/bin/Release/netcoreapp3.1/AVS.dll
index 96e7f15..4506c02 100644
Binary files a/bin/Release/netcoreapp3.1/AVS.dll and b/bin/Release/netcoreapp3.1/AVS.dll differ
diff --git a/bin/Release/netcoreapp3.1/AVS.pdb b/bin/Release/netcoreapp3.1/AVS.pdb
index 260a87e..26533ac 100644
Binary files a/bin/Release/netcoreapp3.1/AVS.pdb and b/bin/Release/netcoreapp3.1/AVS.pdb differ
diff --git a/bin/Release/netcoreapp3.1/win-x64/AVS.application b/bin/Release/netcoreapp3.1/win-x64/AVS.application
index c6966f7..70cf157 100644
--- a/bin/Release/netcoreapp3.1/win-x64/AVS.application
+++ b/bin/Release/netcoreapp3.1/win-x64/AVS.application
@@ -14,7 +14,7 @@
- NuH6peNEiYuju3sjFhvVE+udl+vBgGXFDL6JRajUXQE=
+ E7u2IgGBKTU5/op9j5dbYhwlJsYKGxKdzTIbINPHATI=
diff --git a/bin/Release/netcoreapp3.1/win-x64/AVS.dll b/bin/Release/netcoreapp3.1/win-x64/AVS.dll
index 6eb8b57..02e96f5 100644
Binary files a/bin/Release/netcoreapp3.1/win-x64/AVS.dll and b/bin/Release/netcoreapp3.1/win-x64/AVS.dll differ
diff --git a/bin/Release/netcoreapp3.1/win-x64/AVS.dll.manifest b/bin/Release/netcoreapp3.1/win-x64/AVS.dll.manifest
index 0010fcd..d857fe2 100644
--- a/bin/Release/netcoreapp3.1/win-x64/AVS.dll.manifest
+++ b/bin/Release/netcoreapp3.1/win-x64/AVS.dll.manifest
@@ -53,13 +53,13 @@
-
+
- d8USYoutS6s997467gFSVOeOsL4+nWN1j95BTlcxp1Y=
+ zenZpxCWN4UnTWL3o4kaqnxkBDEsElf1oT+KWnKHg+c=
\ No newline at end of file
diff --git a/bin/Release/netcoreapp3.1/win-x64/AVS.pdb b/bin/Release/netcoreapp3.1/win-x64/AVS.pdb
index b0238c1..7671a96 100644
Binary files a/bin/Release/netcoreapp3.1/win-x64/AVS.pdb and b/bin/Release/netcoreapp3.1/win-x64/AVS.pdb differ
diff --git a/bin/publish/AVS.application b/bin/publish/AVS.application
index 43ec4e0..cccf043 100644
--- a/bin/publish/AVS.application
+++ b/bin/publish/AVS.application
@@ -14,7 +14,7 @@
- NuH6peNEiYuju3sjFhvVE+udl+vBgGXFDL6JRajUXQE=
+ E7u2IgGBKTU5/op9j5dbYhwlJsYKGxKdzTIbINPHATI=
diff --git a/bin/publish/AVS.exe b/bin/publish/AVS.exe
index 66dcd44..c64c857 100644
Binary files a/bin/publish/AVS.exe and b/bin/publish/AVS.exe differ
diff --git a/bin/publish/AVS.pdb b/bin/publish/AVS.pdb
index b0238c1..7671a96 100644
Binary files a/bin/publish/AVS.pdb and b/bin/publish/AVS.pdb differ
diff --git a/bin/publish/Application Files/AVS_1_0_0_0/AVS.dll.manifest b/bin/publish/Application Files/AVS_1_0_0_0/AVS.dll.manifest
index 0010fcd..d857fe2 100644
--- a/bin/publish/Application Files/AVS_1_0_0_0/AVS.dll.manifest
+++ b/bin/publish/Application Files/AVS_1_0_0_0/AVS.dll.manifest
@@ -53,13 +53,13 @@
-
+
- d8USYoutS6s997467gFSVOeOsL4+nWN1j95BTlcxp1Y=
+ zenZpxCWN4UnTWL3o4kaqnxkBDEsElf1oT+KWnKHg+c=
\ No newline at end of file
diff --git a/bin/publish/Application Files/AVS_1_0_0_0/AVS.exe.deploy b/bin/publish/Application Files/AVS_1_0_0_0/AVS.exe.deploy
index 66dcd44..c64c857 100644
Binary files a/bin/publish/Application Files/AVS_1_0_0_0/AVS.exe.deploy and b/bin/publish/Application Files/AVS_1_0_0_0/AVS.exe.deploy differ
diff --git a/obj/Debug/netcoreapp3.1/AVS.csproj.GenerateResource.cache b/obj/Debug/netcoreapp3.1/AVS.csproj.GenerateResource.cache
index 4e9261e..f451747 100644
Binary files a/obj/Debug/netcoreapp3.1/AVS.csproj.GenerateResource.cache and b/obj/Debug/netcoreapp3.1/AVS.csproj.GenerateResource.cache differ
diff --git a/obj/Debug/netcoreapp3.1/AVS.dll b/obj/Debug/netcoreapp3.1/AVS.dll
index 7df1a3b..4f2de0d 100644
Binary files a/obj/Debug/netcoreapp3.1/AVS.dll and b/obj/Debug/netcoreapp3.1/AVS.dll differ
diff --git a/obj/Debug/netcoreapp3.1/AVS.pdb b/obj/Debug/netcoreapp3.1/AVS.pdb
index 472e030..b1ee9b9 100644
Binary files a/obj/Debug/netcoreapp3.1/AVS.pdb and b/obj/Debug/netcoreapp3.1/AVS.pdb differ
diff --git a/obj/Release/netcoreapp3.1/AVS.csproj.AssemblyReference.cache b/obj/Release/netcoreapp3.1/AVS.csproj.AssemblyReference.cache
index bba5758..fde1eb6 100644
Binary files a/obj/Release/netcoreapp3.1/AVS.csproj.AssemblyReference.cache and b/obj/Release/netcoreapp3.1/AVS.csproj.AssemblyReference.cache differ
diff --git a/obj/Release/netcoreapp3.1/AVS.csproj.GenerateResource.cache b/obj/Release/netcoreapp3.1/AVS.csproj.GenerateResource.cache
index c2710dc..3bea1e6 100644
Binary files a/obj/Release/netcoreapp3.1/AVS.csproj.GenerateResource.cache and b/obj/Release/netcoreapp3.1/AVS.csproj.GenerateResource.cache differ
diff --git a/obj/Release/netcoreapp3.1/AVS.dll b/obj/Release/netcoreapp3.1/AVS.dll
index 96e7f15..4506c02 100644
Binary files a/obj/Release/netcoreapp3.1/AVS.dll and b/obj/Release/netcoreapp3.1/AVS.dll differ
diff --git a/obj/Release/netcoreapp3.1/AVS.pdb b/obj/Release/netcoreapp3.1/AVS.pdb
index 260a87e..26533ac 100644
Binary files a/obj/Release/netcoreapp3.1/AVS.pdb and b/obj/Release/netcoreapp3.1/AVS.pdb differ
diff --git a/obj/Release/netcoreapp3.1/win-x64/AVS.application b/obj/Release/netcoreapp3.1/win-x64/AVS.application
index c6966f7..70cf157 100644
--- a/obj/Release/netcoreapp3.1/win-x64/AVS.application
+++ b/obj/Release/netcoreapp3.1/win-x64/AVS.application
@@ -14,7 +14,7 @@
- NuH6peNEiYuju3sjFhvVE+udl+vBgGXFDL6JRajUXQE=
+ E7u2IgGBKTU5/op9j5dbYhwlJsYKGxKdzTIbINPHATI=
diff --git a/obj/Release/netcoreapp3.1/win-x64/AVS.dll b/obj/Release/netcoreapp3.1/win-x64/AVS.dll
index 6eb8b57..02e96f5 100644
Binary files a/obj/Release/netcoreapp3.1/win-x64/AVS.dll and b/obj/Release/netcoreapp3.1/win-x64/AVS.dll differ
diff --git a/obj/Release/netcoreapp3.1/win-x64/AVS.dll.manifest b/obj/Release/netcoreapp3.1/win-x64/AVS.dll.manifest
index 0010fcd..d857fe2 100644
--- a/obj/Release/netcoreapp3.1/win-x64/AVS.dll.manifest
+++ b/obj/Release/netcoreapp3.1/win-x64/AVS.dll.manifest
@@ -53,13 +53,13 @@
-
+
- d8USYoutS6s997467gFSVOeOsL4+nWN1j95BTlcxp1Y=
+ zenZpxCWN4UnTWL3o4kaqnxkBDEsElf1oT+KWnKHg+c=
\ No newline at end of file
diff --git a/obj/Release/netcoreapp3.1/win-x64/AVS.pdb b/obj/Release/netcoreapp3.1/win-x64/AVS.pdb
index b0238c1..7671a96 100644
Binary files a/obj/Release/netcoreapp3.1/win-x64/AVS.pdb and b/obj/Release/netcoreapp3.1/win-x64/AVS.pdb differ