Dynamic labels & Changed color to light green

- Filesystem size
- Flexi version
- Flexi Revision
- MAC
- Timestamp
- Temperature
- ZoomLock
- Serial and model Number
- Licenses
- CPU usage
This commit is contained in:
2025-12-23 13:01:15 +00:00
parent 872be2e105
commit 36f9639baa
7 changed files with 182 additions and 419 deletions

291
AiQ_GUI.Designer.cs generated
View File

@@ -43,21 +43,6 @@ namespace AiQ_GUI
BtnClose = new Button();
PicBxMAV = new PictureBox();
PicBxAiQ = new PictureBox();
lblFlexiVer = new Label();
lblFlexiRev = new Label();
lblMac = new Label();
lbltimestamp = new Label();
lblSerial = new Label();
lblModel = new Label();
lblLic = new Label();
lblVaxtor = new Label();
lblTemp = new Label();
lblTrim = new Label();
lblZoomLock = new Label();
LblLEDI = new Label();
LblLEDV = new Label();
LblOVModule = new Label();
LblIRModule = new Label();
BtnTest = new Button();
PicBxIRF2 = new PictureBox();
LblIRImageF2 = new Label();
@@ -127,10 +112,6 @@ namespace AiQ_GUI
BtnEzOn = new Button();
BtnSetAll211 = new Button();
PnlLbls = new Panel();
LblRouter = new Label();
LblDC = new Label();
LblFilesystemSize = new Label();
LblCPUusage = new Label();
BtnOpenWebpage = new Button();
LblIRImageF16 = new Label();
ToolTipClipboard = new ToolTip(components);
@@ -172,7 +153,6 @@ namespace AiQ_GUI
PnlQuestion.SuspendLayout();
PnlInputValue.SuspendLayout();
((System.ComponentModel.ISupportInitialize)RMANumBox).BeginInit();
PnlLbls.SuspendLayout();
TabImagesandSettings.SuspendLayout();
TabControls.SuspendLayout();
groupBox4.SuspendLayout();
@@ -202,7 +182,7 @@ namespace AiQ_GUI
CbBxCameraModel.Name = "CbBxCameraModel";
CbBxCameraModel.Size = new Size(494, 25);
CbBxCameraModel.TabIndex = 188;
CbBxCameraModel.SelectedIndexChanged += CbBxCameraModel_SelectedIndexChanged;
CbBxCameraModel.SelectedIndexChanged += CbBxCamTypSelectedIndexChanged;
//
// BtnStartTest
//
@@ -370,201 +350,6 @@ namespace AiQ_GUI
PicBxAiQ.TabIndex = 173;
PicBxAiQ.TabStop = false;
//
// lblFlexiVer
//
lblFlexiVer.BackColor = Color.Transparent;
lblFlexiVer.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold, GraphicsUnit.Point, 0);
lblFlexiVer.ForeColor = SystemColors.Control;
lblFlexiVer.Location = new Point(5, 46);
lblFlexiVer.Margin = new Padding(4, 0, 4, 0);
lblFlexiVer.Name = "lblFlexiVer";
lblFlexiVer.Padding = new Padding(2);
lblFlexiVer.Size = new Size(481, 23);
lblFlexiVer.TabIndex = 174;
lblFlexiVer.Text = "Flexi Version = ";
//
// lblFlexiRev
//
lblFlexiRev.BackColor = Color.Transparent;
lblFlexiRev.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold);
lblFlexiRev.ForeColor = SystemColors.Control;
lblFlexiRev.Location = new Point(5, 69);
lblFlexiRev.Margin = new Padding(4, 0, 4, 0);
lblFlexiRev.Name = "lblFlexiRev";
lblFlexiRev.Padding = new Padding(2);
lblFlexiRev.Size = new Size(481, 23);
lblFlexiRev.TabIndex = 175;
lblFlexiRev.Text = "Flexi Revision = ";
//
// lblMac
//
lblMac.BackColor = Color.Transparent;
lblMac.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold);
lblMac.ForeColor = SystemColors.Control;
lblMac.Location = new Point(5, 92);
lblMac.Margin = new Padding(4, 0, 4, 0);
lblMac.Name = "lblMac";
lblMac.Padding = new Padding(2);
lblMac.Size = new Size(481, 23);
lblMac.TabIndex = 176;
lblMac.Text = "MAC Address = ";
//
// lbltimestamp
//
lbltimestamp.BackColor = Color.Transparent;
lbltimestamp.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold);
lbltimestamp.ForeColor = SystemColors.Control;
lbltimestamp.Location = new Point(4, 209);
lbltimestamp.Margin = new Padding(4, 0, 4, 0);
lbltimestamp.Name = "lbltimestamp";
lbltimestamp.Padding = new Padding(2);
lbltimestamp.Size = new Size(481, 23);
lbltimestamp.TabIndex = 177;
lbltimestamp.Text = "Camera Time = ";
//
// lblSerial
//
lblSerial.BackColor = Color.Transparent;
lblSerial.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold);
lblSerial.ForeColor = SystemColors.Control;
lblSerial.Location = new Point(5, 0);
lblSerial.Margin = new Padding(4, 0, 4, 0);
lblSerial.Name = "lblSerial";
lblSerial.Padding = new Padding(2);
lblSerial.Size = new Size(481, 23);
lblSerial.TabIndex = 178;
lblSerial.Text = "Serial Number = ";
//
// lblModel
//
lblModel.BackColor = Color.Transparent;
lblModel.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold);
lblModel.ForeColor = SystemColors.Control;
lblModel.Location = new Point(5, 23);
lblModel.Margin = new Padding(4, 0, 4, 0);
lblModel.Name = "lblModel";
lblModel.Padding = new Padding(2);
lblModel.Size = new Size(481, 23);
lblModel.TabIndex = 179;
lblModel.Text = "Model Number = ";
//
// lblLic
//
lblLic.BackColor = Color.Transparent;
lblLic.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold);
lblLic.ForeColor = SystemColors.Control;
lblLic.Location = new Point(5, 114);
lblLic.Margin = new Padding(4, 0, 4, 0);
lblLic.Name = "lblLic";
lblLic.Padding = new Padding(2);
lblLic.Size = new Size(481, 23);
lblLic.TabIndex = 180;
lblLic.Text = "Licenses = ";
//
// lblVaxtor
//
lblVaxtor.BackColor = Color.Transparent;
lblVaxtor.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold);
lblVaxtor.ForeColor = SystemColors.Control;
lblVaxtor.Location = new Point(5, 160);
lblVaxtor.Margin = new Padding(4, 0, 4, 0);
lblVaxtor.Name = "lblVaxtor";
lblVaxtor.Padding = new Padding(2);
lblVaxtor.Size = new Size(481, 25);
lblVaxtor.TabIndex = 181;
lblVaxtor.Text = "Vaxtor Key ID = ";
//
// lblTemp
//
lblTemp.BackColor = Color.Transparent;
lblTemp.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold);
lblTemp.ForeColor = SystemColors.Control;
lblTemp.Location = new Point(4, 232);
lblTemp.Margin = new Padding(4, 0, 4, 0);
lblTemp.Name = "lblTemp";
lblTemp.Padding = new Padding(2);
lblTemp.Size = new Size(481, 27);
lblTemp.TabIndex = 182;
lblTemp.Text = "Internal Temperature = ";
//
// lblTrim
//
lblTrim.BackColor = Color.Transparent;
lblTrim.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold);
lblTrim.ForeColor = SystemColors.Control;
lblTrim.Location = new Point(5, 186);
lblTrim.Margin = new Padding(4, 0, 4, 0);
lblTrim.Name = "lblTrim";
lblTrim.Padding = new Padding(2);
lblTrim.Size = new Size(481, 23);
lblTrim.TabIndex = 183;
lblTrim.Text = "Trim = ";
//
// lblZoomLock
//
lblZoomLock.BackColor = Color.Transparent;
lblZoomLock.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold);
lblZoomLock.ForeColor = SystemColors.Control;
lblZoomLock.Location = new Point(4, 278);
lblZoomLock.Margin = new Padding(4, 0, 4, 0);
lblZoomLock.Name = "lblZoomLock";
lblZoomLock.Padding = new Padding(2);
lblZoomLock.Size = new Size(481, 23);
lblZoomLock.TabIndex = 184;
lblZoomLock.Text = "ZoomLock = ";
//
// LblLEDI
//
LblLEDI.BackColor = Color.Transparent;
LblLEDI.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold);
LblLEDI.ForeColor = SystemColors.Control;
LblLEDI.Location = new Point(4, 324);
LblLEDI.Margin = new Padding(4, 0, 4, 0);
LblLEDI.Name = "LblLEDI";
LblLEDI.Padding = new Padding(2);
LblLEDI.Size = new Size(481, 23);
LblLEDI.TabIndex = 186;
LblLEDI.Text = "LED Current = ";
//
// LblLEDV
//
LblLEDV.BackColor = Color.Transparent;
LblLEDV.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold);
LblLEDV.ForeColor = SystemColors.Control;
LblLEDV.Location = new Point(4, 301);
LblLEDV.Margin = new Padding(4, 0, 4, 0);
LblLEDV.Name = "LblLEDV";
LblLEDV.Padding = new Padding(2);
LblLEDV.Size = new Size(481, 27);
LblLEDV.TabIndex = 185;
LblLEDV.Text = "LED Voltage = ";
//
// LblOVModule
//
LblOVModule.BackColor = Color.Transparent;
LblOVModule.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold);
LblOVModule.ForeColor = SystemColors.Control;
LblOVModule.Location = new Point(4, 370);
LblOVModule.Margin = new Padding(4, 0, 4, 0);
LblOVModule.Name = "LblOVModule";
LblOVModule.Padding = new Padding(2);
LblOVModule.Size = new Size(481, 23);
LblOVModule.TabIndex = 189;
LblOVModule.Text = "OV Camera Module = ";
//
// LblIRModule
//
LblIRModule.BackColor = Color.Transparent;
LblIRModule.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold);
LblIRModule.ForeColor = SystemColors.Control;
LblIRModule.Location = new Point(4, 347);
LblIRModule.Margin = new Padding(4, 0, 4, 0);
LblIRModule.Name = "LblIRModule";
LblIRModule.Padding = new Padding(2);
LblIRModule.Size = new Size(481, 23);
LblIRModule.TabIndex = 188;
LblIRModule.Text = "IR Camera Module = ";
//
// BtnTest
//
BtnTest.BackColor = Color.FromArgb(70, 65, 80);
@@ -1568,85 +1353,12 @@ namespace AiQ_GUI
// PnlLbls
//
PnlLbls.BackColor = Color.Transparent;
PnlLbls.Controls.Add(LblRouter);
PnlLbls.Controls.Add(LblDC);
PnlLbls.Controls.Add(LblFilesystemSize);
PnlLbls.Controls.Add(lblVaxtor);
PnlLbls.Controls.Add(LblCPUusage);
PnlLbls.Controls.Add(LblLEDV);
PnlLbls.Controls.Add(lblFlexiVer);
PnlLbls.Controls.Add(lblFlexiRev);
PnlLbls.Controls.Add(LblIRModule);
PnlLbls.Controls.Add(lblMac);
PnlLbls.Controls.Add(LblOVModule);
PnlLbls.Controls.Add(lbltimestamp);
PnlLbls.Controls.Add(lblSerial);
PnlLbls.Controls.Add(lblModel);
PnlLbls.Controls.Add(lblZoomLock);
PnlLbls.Controls.Add(lblLic);
PnlLbls.Controls.Add(lblTrim);
PnlLbls.Controls.Add(lblTemp);
PnlLbls.Controls.Add(LblLEDI);
PnlLbls.Location = new Point(7, 517);
PnlLbls.Margin = new Padding(4, 3, 4, 3);
PnlLbls.Name = "PnlLbls";
PnlLbls.Size = new Size(503, 452);
PnlLbls.TabIndex = 198;
//
// LblRouter
//
LblRouter.BackColor = Color.Transparent;
LblRouter.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold);
LblRouter.ForeColor = SystemColors.Control;
LblRouter.Location = new Point(5, 417);
LblRouter.Margin = new Padding(4, 0, 4, 0);
LblRouter.Name = "LblRouter";
LblRouter.Padding = new Padding(2);
LblRouter.Size = new Size(481, 23);
LblRouter.TabIndex = 193;
LblRouter.Text = "Router = ";
LblRouter.Visible = false;
//
// LblDC
//
LblDC.BackColor = Color.Transparent;
LblDC.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold);
LblDC.ForeColor = SystemColors.Control;
LblDC.Location = new Point(5, 393);
LblDC.Margin = new Padding(4, 0, 4, 0);
LblDC.Name = "LblDC";
LblDC.Padding = new Padding(2);
LblDC.Size = new Size(481, 23);
LblDC.TabIndex = 192;
LblDC.Text = "DC Power = ";
LblDC.Visible = false;
//
// LblFilesystemSize
//
LblFilesystemSize.BackColor = Color.Transparent;
LblFilesystemSize.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold);
LblFilesystemSize.ForeColor = SystemColors.Control;
LblFilesystemSize.Location = new Point(5, 137);
LblFilesystemSize.Margin = new Padding(4, 0, 4, 0);
LblFilesystemSize.Name = "LblFilesystemSize";
LblFilesystemSize.Padding = new Padding(2);
LblFilesystemSize.Size = new Size(481, 25);
LblFilesystemSize.TabIndex = 191;
LblFilesystemSize.Text = "Filesystem Size = ";
//
// LblCPUusage
//
LblCPUusage.BackColor = Color.Transparent;
LblCPUusage.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold);
LblCPUusage.ForeColor = SystemColors.Control;
LblCPUusage.Location = new Point(5, 256);
LblCPUusage.Margin = new Padding(4, 0, 4, 0);
LblCPUusage.Name = "LblCPUusage";
LblCPUusage.Padding = new Padding(2);
LblCPUusage.Size = new Size(481, 25);
LblCPUusage.TabIndex = 190;
LblCPUusage.Text = "CPU Usage = ";
//
// BtnOpenWebpage
//
BtnOpenWebpage.BackColor = Color.FromArgb(70, 65, 80);
@@ -2152,7 +1864,6 @@ namespace AiQ_GUI
PnlInputValue.ResumeLayout(false);
PnlInputValue.PerformLayout();
((System.ComponentModel.ISupportInitialize)RMANumBox).EndInit();
PnlLbls.ResumeLayout(false);
TabImagesandSettings.ResumeLayout(false);
TabControls.ResumeLayout(false);
groupBox4.ResumeLayout(false);