• Camera/LED.cs
• Added null-checks so labels are created dynamically when lblVorI is null (uses MainForm.Instance.AddLabelToPanel). • Camera/CameraModules.cs • Added null-label handling to create dynamic module labels with the correct content (OK or the error message). • AiQ_GUI.cs • Increased dynamic label width in MakeNewLabel from 220 → 700 to avoid truncated messages. • Succesfully ran through a pre-test with dynamic labels
This commit is contained in:
@@ -81,7 +81,7 @@ namespace AiQ_GUI
|
||||
}
|
||||
|
||||
const string query =
|
||||
"SELECT FlexiVersion, FlexiRevision, WonwooFirmware, AiQGUIVersion, PowerConsumption, LicencingServerURL FROM UniversalData";
|
||||
"SELECT FlexiVersion, FlexiRevision, WonwooFirmware, AiQGUIVersion, PowerConsumption, LicencingServerURL, SRZFirmware FROM UniversalData";
|
||||
|
||||
using OleDbCommand cmd = new(query, conn);
|
||||
using OleDbDataReader reader = cmd.ExecuteReader();
|
||||
@@ -95,6 +95,7 @@ namespace AiQ_GUI
|
||||
UniversalData.LatestVersion = Convert.ToString(reader["AiQGUIVersion"]);
|
||||
UniversalData.PowerConsumption = Convert.ToInt16(reader["PowerConsumption"]);
|
||||
UniversalData.LicencingServerURL = Convert.ToString(reader["LicencingServerURL"]);
|
||||
UniversalData.SRZFirmware = Convert.ToString(reader["SRZFirmware"]);
|
||||
}
|
||||
// Populates CameraAccessInfo dynamically based on available columns
|
||||
public static void ReadModelRow(string camType, string ModelOnTest)
|
||||
|
||||
Reference in New Issue
Block a user