This Commit contains all the changes for the new feature for S.L in regards to ExcelStats of the GUI

This commit is contained in:
2025-10-17 12:06:36 +01:00
parent 0c463ad929
commit f4081515be
10 changed files with 511 additions and 93 deletions

View File

@@ -9,7 +9,7 @@ namespace AiQ_GUI
// Reads camera model numbers and descriptions from the database, sorts them alphabetically by model number (except "AB12CD", which appears last), and formats each entry as "ModelNumber - Description".
public static string[] ReadCamTypes()
{
List<Tuple<string, string>> modelTuples = new List<Tuple<string, string>>(30); // Preallocate list with estimated capacity to reduce internal resizing
List<Tuple<string, string>> modelTuples = new(30); // Preallocate list with estimated capacity to reduce internal resizing
using OleDbConnection conn = new(connString);
try
@@ -100,6 +100,9 @@ namespace AiQ_GUI
}
}
// Expected universal data for the GUI, read from the database
public class UniversalData
{