From aa28a4334731d4212c8b03263871f5700ff36948 Mon Sep 17 00:00:00 2001 From: Bradley Relyea Date: Tue, 21 Oct 2025 15:46:28 +0100 Subject: [PATCH] V4.0 --- AiQ_GUI.cs | 203 ++++------------------------------------ Helper.cs | 8 +- Microsoft/Access.cs | 71 +++++++++++++- Microsoft/StatsExcel.cs | 100 +++++++++----------- 4 files changed, 136 insertions(+), 246 deletions(-) diff --git a/AiQ_GUI.cs b/AiQ_GUI.cs index ebac9dc..55c9cb6 100644 --- a/AiQ_GUI.cs +++ b/AiQ_GUI.cs @@ -1,9 +1,6 @@ -using AiQ_GUI.Microsoft; -using Newtonsoft.Json; +using Newtonsoft.Json; using System.ComponentModel; -using System.Data.OleDb; using System.Diagnostics; -using System.Numerics; using System.Reflection; namespace AiQ_GUI @@ -28,8 +25,6 @@ namespace AiQ_GUI [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public static MainForm? Instance { get; private set; } - // For Access Stats - const string connString = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=G:\Shared drives\MAV Production GUI's\AiQ\GUI's\AiQ_Final_Test.accdb;Persist Security Info=False;OLE DB Services=-1;"; public MainForm() { @@ -219,7 +214,7 @@ namespace AiQ_GUI LED.CheckLEDs(DiagsAPI.LedCurrent, LblLEDI, "mA", CameraAccessInfo.LED_I); // Current this.Refresh(); // Make sure all labels are updated before checking them - + // If there are any actions identified then fail the test. // If any labels are red then fail. Only labels in panel so can foreach on labels not controls if (RhTxBxActions.Text.Length > 2 || PnlLbls.Controls.OfType