diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..d202e81 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,22 @@ +[*.cs] + +# CS8603: Possible null reference return. +dotnet_diagnostic.CS8603.severity = none + +# CS8601: Possible null reference assignment. +dotnet_diagnostic.CS8601.severity = none + +# CS8604: Possible null reference argument. +dotnet_diagnostic.CS8604.severity = none + +# CS8602: Dereference of a possibly null reference. +dotnet_diagnostic.CS8602.severity = none + +# CS8600: Converting null literal or possible null value to non-nullable type. +dotnet_diagnostic.CS8600.severity = none + +# CS8618: Non-nullable field must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring as nullable. +dotnet_diagnostic.CS8618.severity = none + +# IDE1006: Naming Styles +dotnet_diagnostic.IDE1006.severity = none diff --git a/AiQ_GUI.Designer.cs b/AiQ_GUI.Designer.cs new file mode 100644 index 0000000..570fafd --- /dev/null +++ b/AiQ_GUI.Designer.cs @@ -0,0 +1,2214 @@ +using System; + +namespace AiQ_GUI +{ + partial class MainForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); + CbBxCameraType = new ComboBox(); + BtnStartTest = new Button(); + BtnFindCams = new Button(); + CbBxFoundCams = new ComboBox(); + BtnPreTest = new Button(); + CbBxUserName = new ComboBox(); + BtnRestart = new Button(); + BtnMin = new Button(); + 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(); + RhTxBxActions = new RichTextBox(); + LblOVModule = new Label(); + LblIRModule = new Label(); + BtnTest = new Button(); + PicBxIRF2 = new PictureBox(); + LblIRImageF2 = new Label(); + PicBxIRF16 = new PictureBox(); + PicBxOV = new PictureBox(); + LblOVImage = new Label(); + LblActions = new Label(); + PanelSettings = new Panel(); + CbBxGain = new ComboBox(); + LblTestTubePing = new Label(); + LblZebraPing = new Label(); + CbBxIris = new ComboBox(); + LblEzPing = new Label(); + LblPSUPing = new Label(); + CbBxShutter = new ComboBox(); + label2 = new Label(); + TxBxTestTubeIP = new TextBox(); + BtnCancel = new Button(); + BtnSave = new Button(); + TxBxEzIP = new TextBox(); + lblZebraIP = new Label(); + TxBxZebraIP = new TextBox(); + lblEzIP = new Label(); + TxBxPsuIP = new TextBox(); + lblPowerIP = new Label(); + label10 = new Label(); + PnlQuestion = new Panel(); + BtnNo = new Button(); + BtnYes = new Button(); + LblQuestion = new Label(); + label16 = new Label(); + BtnPrintGB = new Button(); + BtnPrintAiQ = new Button(); + TxBxSerialPrint = new TextBox(); + label5 = new Label(); + TxBxOutput = new TextBox(); + BtnRefreshUnix = new Button(); + label4 = new Label(); + TxBxUnixTime = new TextBox(); + label3 = new Label(); + TxBxFlexiVer = new TextBox(); + label1 = new Label(); + BtnSecret = new Button(); + TxBxMAC = new TextBox(); + BtnSecretMan = new Button(); + BtnLicVaxtor = new Button(); + label6 = new Label(); + CbBxType = new ComboBox(); + RhTxBxCode = new RichTextBox(); + label9 = new Label(); + BtnGenerate = new Button(); + TxBxChallenge = new TextBox(); + PnlInputValue = new Panel(); + BtnRerun = new Button(); + RMANumBox = new NumericUpDown(); + TxBxProductKey = new TextBox(); + BtnDont = new Button(); + BtnDone = new Button(); + LblRMA = new Label(); + BtnSetGodMode = new Button(); + btnPsu12V = new Button(); + btnPsu48V = new Button(); + btnPsuOff = new Button(); + btnPsuOn = new Button(); + BtnEzOff = new Button(); + BtnSet211 = new Button(); + 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); + TabImagesandSettings = new TabControl(); + TabControls = new TabPage(); + groupBox4 = new GroupBox(); + groupBox3 = new GroupBox(); + groupBox2 = new GroupBox(); + groupBox1 = new GroupBox(); + BtnZoom8000 = new Button(); + BtnZoomWide = new Button(); + TabSettings = new TabPage(); + BtnAdminStart = new Button(); + BtnFirewall = new Button(); + TabImages = new TabPage(); + TabSoak = new TabPage(); + SetGodModeAll = new Button(); + BtnUploadBlob = new Button(); + CkBxTickAll = new CheckBox(); + BtnSoak = new Button(); + ToolTipAvailable = new ToolTip(components); + TimerDDC = new System.Windows.Forms.Timer(components); + LblGUIVers = new Label(); + timerTypeIP = new System.Windows.Forms.Timer(components); + TimerFlash = new System.Windows.Forms.Timer(components); + BtnFactoryDefault = new Button(); + ((System.ComponentModel.ISupportInitialize)PicBxMAV).BeginInit(); + ((System.ComponentModel.ISupportInitialize)PicBxAiQ).BeginInit(); + ((System.ComponentModel.ISupportInitialize)PicBxIRF2).BeginInit(); + ((System.ComponentModel.ISupportInitialize)PicBxIRF16).BeginInit(); + ((System.ComponentModel.ISupportInitialize)PicBxOV).BeginInit(); + PanelSettings.SuspendLayout(); + PnlQuestion.SuspendLayout(); + PnlInputValue.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)RMANumBox).BeginInit(); + PnlLbls.SuspendLayout(); + TabImagesandSettings.SuspendLayout(); + TabControls.SuspendLayout(); + groupBox4.SuspendLayout(); + groupBox3.SuspendLayout(); + groupBox2.SuspendLayout(); + groupBox1.SuspendLayout(); + TabSettings.SuspendLayout(); + TabImages.SuspendLayout(); + TabSoak.SuspendLayout(); + SuspendLayout(); + // + // CbBxCameraType + // + CbBxCameraType.BackColor = Color.FromArgb(53, 51, 64); + CbBxCameraType.DropDownHeight = 500; + CbBxCameraType.DropDownStyle = ComboBoxStyle.DropDownList; + CbBxCameraType.DropDownWidth = 350; + CbBxCameraType.FlatStyle = FlatStyle.Flat; + CbBxCameraType.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + CbBxCameraType.ForeColor = SystemColors.Control; + CbBxCameraType.FormattingEnabled = true; + CbBxCameraType.IntegralHeight = false; + CbBxCameraType.Location = new Point(10, 298); + CbBxCameraType.Margin = new Padding(4, 3, 4, 3); + CbBxCameraType.MaxDropDownItems = 30; + CbBxCameraType.Name = "CbBxCameraType"; + CbBxCameraType.Size = new Size(494, 25); + CbBxCameraType.TabIndex = 188; + CbBxCameraType.SelectedIndexChanged += CmBxCameraType_SelectedIndexChanged; + // + // BtnStartTest + // + BtnStartTest.BackColor = Color.FromArgb(70, 65, 80); + BtnStartTest.Enabled = false; + BtnStartTest.FlatAppearance.BorderSize = 0; + BtnStartTest.FlatStyle = FlatStyle.Flat; + BtnStartTest.Font = new Font("Segoe UI Semibold", 14F, FontStyle.Bold); + BtnStartTest.ForeColor = SystemColors.Control; + BtnStartTest.Location = new Point(10, 14); + BtnStartTest.Margin = new Padding(4, 3, 4, 3); + BtnStartTest.Name = "BtnStartTest"; + BtnStartTest.Size = new Size(233, 46); + BtnStartTest.TabIndex = 12; + BtnStartTest.Text = "Select IP Address"; + BtnStartTest.UseVisualStyleBackColor = false; + BtnStartTest.Click += BtnStartTest_Click; + // + // BtnFindCams + // + BtnFindCams.BackColor = Color.FromArgb(70, 65, 80); + BtnFindCams.FlatAppearance.BorderSize = 0; + BtnFindCams.FlatStyle = FlatStyle.Flat; + BtnFindCams.Font = new Font("Segoe UI Semibold", 14F, FontStyle.Bold); + BtnFindCams.ForeColor = SystemColors.Control; + BtnFindCams.Location = new Point(10, 103); + BtnFindCams.Margin = new Padding(4, 3, 4, 3); + BtnFindCams.Name = "BtnFindCams"; + BtnFindCams.Size = new Size(233, 46); + BtnFindCams.TabIndex = 1; + BtnFindCams.Text = "Find Cameras"; + BtnFindCams.UseVisualStyleBackColor = false; + BtnFindCams.Click += BtnFindCams_Click; + // + // CbBxFoundCams + // + CbBxFoundCams.BackColor = Color.FromArgb(53, 51, 64); + CbBxFoundCams.FlatStyle = FlatStyle.Flat; + CbBxFoundCams.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + CbBxFoundCams.ForeColor = SystemColors.Control; + CbBxFoundCams.FormattingEnabled = true; + CbBxFoundCams.Location = new Point(10, 67); + CbBxFoundCams.Margin = new Padding(4, 3, 4, 3); + CbBxFoundCams.Name = "CbBxFoundCams"; + CbBxFoundCams.Size = new Size(233, 25); + CbBxFoundCams.TabIndex = 48; + CbBxFoundCams.SelectedIndexChanged += CbBxFoundCams_SelectedIndexChanged; + CbBxFoundCams.TextChanged += CmBoFoundCams_TextChanged; + // + // BtnPreTest + // + BtnPreTest.BackColor = Color.FromArgb(70, 65, 80); + BtnPreTest.Enabled = false; + BtnPreTest.FlatAppearance.BorderSize = 0; + BtnPreTest.FlatStyle = FlatStyle.Flat; + BtnPreTest.Font = new Font("Segoe UI Semibold", 14F, FontStyle.Bold); + BtnPreTest.ForeColor = SystemColors.Control; + BtnPreTest.Location = new Point(10, 156); + BtnPreTest.Margin = new Padding(4, 3, 4, 3); + BtnPreTest.Name = "BtnPreTest"; + BtnPreTest.Size = new Size(233, 46); + BtnPreTest.TabIndex = 110; + BtnPreTest.Text = "Start Pre Test"; + BtnPreTest.UseVisualStyleBackColor = false; + BtnPreTest.Click += BtnPreTest_Click; + // + // CbBxUserName + // + CbBxUserName.BackColor = Color.FromArgb(53, 51, 64); + CbBxUserName.FlatStyle = FlatStyle.Flat; + CbBxUserName.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + CbBxUserName.ForeColor = SystemColors.Control; + CbBxUserName.FormattingEnabled = true; + CbBxUserName.Items.AddRange(new object[] { "Guest", "Clive", "Conor", "Charlie", "Henry", "Sam C", "Sam L", "Simon", "Toby", "Tom" }); + CbBxUserName.Location = new Point(10, 262); + CbBxUserName.Margin = new Padding(4, 3, 4, 3); + CbBxUserName.Name = "CbBxUserName"; + CbBxUserName.Size = new Size(233, 25); + CbBxUserName.TabIndex = 159; + CbBxUserName.Text = "Select User"; + CbBxUserName.TextChanged += CmBoBoxUserName_TextChanged; + // + // BtnRestart + // + BtnRestart.BackColor = Color.FromArgb(53, 51, 64); + BtnRestart.FlatAppearance.BorderColor = Color.FromArgb(53, 51, 64); + BtnRestart.FlatAppearance.BorderSize = 0; + BtnRestart.FlatAppearance.MouseDownBackColor = Color.FromArgb(192, 0, 0); + BtnRestart.FlatAppearance.MouseOverBackColor = Color.OrangeRed; + BtnRestart.FlatStyle = FlatStyle.Flat; + BtnRestart.Font = new Font("Segoe UI Semibold", 16F, FontStyle.Bold); + BtnRestart.ForeColor = SystemColors.Control; + BtnRestart.Location = new Point(785, 0); + BtnRestart.Margin = new Padding(4, 3, 4, 3); + BtnRestart.Name = "BtnRestart"; + BtnRestart.Size = new Size(50, 46); + BtnRestart.TabIndex = 171; + BtnRestart.Text = "↻"; + BtnRestart.UseVisualStyleBackColor = false; + BtnRestart.Click += BtnRestart_Click; + // + // BtnMin + // + BtnMin.BackColor = Color.FromArgb(53, 51, 64); + BtnMin.FlatAppearance.BorderColor = Color.FromArgb(53, 51, 64); + BtnMin.FlatAppearance.BorderSize = 0; + BtnMin.FlatAppearance.MouseDownBackColor = Color.FromArgb(192, 0, 0); + BtnMin.FlatAppearance.MouseOverBackColor = Color.Red; + BtnMin.FlatStyle = FlatStyle.Flat; + BtnMin.Font = new Font("Segoe UI Black", 14F, FontStyle.Bold, GraphicsUnit.Point, 0); + BtnMin.ForeColor = SystemColors.Control; + BtnMin.Location = new Point(836, 0); + BtnMin.Margin = new Padding(4, 3, 4, 3); + BtnMin.Name = "BtnMin"; + BtnMin.Size = new Size(47, 46); + BtnMin.TabIndex = 170; + BtnMin.Text = "—"; + BtnMin.UseVisualStyleBackColor = false; + BtnMin.Click += BtnMin_Click; + // + // BtnClose + // + BtnClose.BackColor = Color.FromArgb(53, 51, 64); + BtnClose.FlatAppearance.BorderColor = Color.FromArgb(53, 51, 64); + BtnClose.FlatAppearance.BorderSize = 0; + BtnClose.FlatAppearance.MouseDownBackColor = Color.FromArgb(192, 0, 0); + BtnClose.FlatAppearance.MouseOverBackColor = Color.DarkRed; + BtnClose.FlatStyle = FlatStyle.Flat; + BtnClose.Font = new Font("Segoe UI Black", 14F, FontStyle.Bold); + BtnClose.ForeColor = SystemColors.Control; + BtnClose.Location = new Point(884, 0); + BtnClose.Margin = new Padding(4, 3, 4, 3); + BtnClose.Name = "BtnClose"; + BtnClose.Padding = new Padding(2, 0, 0, 0); + BtnClose.Size = new Size(47, 46); + BtnClose.TabIndex = 169; + BtnClose.Text = "╳"; + BtnClose.UseVisualStyleBackColor = false; + BtnClose.Click += BtnClose_Click; + // + // PicBxMAV + // + PicBxMAV.BackColor = Color.Transparent; + PicBxMAV.BackgroundImage = Properties.Resources.MAV___Plain___White; + PicBxMAV.BackgroundImageLayout = ImageLayout.Zoom; + PicBxMAV.InitialImage = null; + PicBxMAV.Location = new Point(528, 53); + PicBxMAV.Margin = new Padding(4, 3, 4, 3); + PicBxMAV.Name = "PicBxMAV"; + PicBxMAV.Size = new Size(209, 46); + PicBxMAV.TabIndex = 172; + PicBxMAV.TabStop = false; + // + // PicBxAiQ + // + PicBxAiQ.BackColor = Color.Transparent; + PicBxAiQ.BackgroundImage = Properties.Resources.AiQ___Light; + PicBxAiQ.BackgroundImageLayout = ImageLayout.Zoom; + PicBxAiQ.InitialImage = null; + PicBxAiQ.Location = new Point(776, 53); + PicBxAiQ.Margin = new Padding(4, 3, 4, 3); + PicBxAiQ.Name = "PicBxAiQ"; + PicBxAiQ.Size = new Size(145, 52); + 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 = "; + // + // RhTxBxActions + // + RhTxBxActions.BackColor = Color.FromArgb(53, 51, 64); + RhTxBxActions.BorderStyle = BorderStyle.None; + RhTxBxActions.Cursor = Cursors.IBeam; + RhTxBxActions.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + RhTxBxActions.ForeColor = SystemColors.Control; + RhTxBxActions.Location = new Point(10, 355); + RhTxBxActions.Margin = new Padding(4, 3, 4, 3); + RhTxBxActions.Name = "RhTxBxActions"; + RhTxBxActions.Size = new Size(495, 156); + RhTxBxActions.TabIndex = 187; + RhTxBxActions.Text = ""; + // + // 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); + BtnTest.FlatAppearance.BorderSize = 0; + BtnTest.FlatStyle = FlatStyle.Flat; + BtnTest.Font = new Font("Segoe UI Semibold", 14F, FontStyle.Bold); + BtnTest.ForeColor = SystemColors.Control; + BtnTest.Location = new Point(701, 0); + BtnTest.Margin = new Padding(4, 3, 4, 3); + BtnTest.Name = "BtnTest"; + BtnTest.Size = new Size(80, 46); + BtnTest.TabIndex = 189; + BtnTest.Text = "Test"; + BtnTest.UseVisualStyleBackColor = false; + BtnTest.Visible = false; + BtnTest.Click += BtnTest_Click; + // + // PicBxIRF2 + // + PicBxIRF2.BackColor = Color.Transparent; + PicBxIRF2.BorderStyle = BorderStyle.FixedSingle; + PicBxIRF2.Location = new Point(7, 38); + PicBxIRF2.Margin = new Padding(4, 3, 4, 3); + PicBxIRF2.Name = "PicBxIRF2"; + PicBxIRF2.Size = new Size(392, 221); + PicBxIRF2.SizeMode = PictureBoxSizeMode.StretchImage; + PicBxIRF2.TabIndex = 190; + PicBxIRF2.TabStop = false; + // + // LblIRImageF2 + // + LblIRImageF2.AutoSize = true; + LblIRImageF2.BackColor = Color.Transparent; + LblIRImageF2.Font = new Font("Segoe UI Semibold", 12F, FontStyle.Bold); + LblIRImageF2.ForeColor = SystemColors.Control; + LblIRImageF2.Location = new Point(7, 10); + LblIRImageF2.Margin = new Padding(4, 0, 4, 0); + LblIRImageF2.Name = "LblIRImageF2"; + LblIRImageF2.Size = new Size(114, 21); + LblIRImageF2.TabIndex = 191; + LblIRImageF2.Text = "IR Image - F2 "; + // + // PicBxIRF16 + // + PicBxIRF16.BackColor = Color.Transparent; + PicBxIRF16.BorderStyle = BorderStyle.FixedSingle; + PicBxIRF16.Location = new Point(7, 307); + PicBxIRF16.Margin = new Padding(4, 3, 4, 3); + PicBxIRF16.Name = "PicBxIRF16"; + PicBxIRF16.Size = new Size(392, 221); + PicBxIRF16.SizeMode = PictureBoxSizeMode.StretchImage; + PicBxIRF16.TabIndex = 192; + PicBxIRF16.TabStop = false; + // + // PicBxOV + // + PicBxOV.BackColor = Color.Transparent; + PicBxOV.BorderStyle = BorderStyle.FixedSingle; + PicBxOV.Location = new Point(7, 584); + PicBxOV.Margin = new Padding(4, 3, 4, 3); + PicBxOV.Name = "PicBxOV"; + PicBxOV.Size = new Size(392, 221); + PicBxOV.SizeMode = PictureBoxSizeMode.StretchImage; + PicBxOV.TabIndex = 193; + PicBxOV.TabStop = false; + // + // LblOVImage + // + LblOVImage.AutoSize = true; + LblOVImage.BackColor = Color.Transparent; + LblOVImage.Font = new Font("Segoe UI Semibold", 12F, FontStyle.Bold); + LblOVImage.ForeColor = SystemColors.Control; + LblOVImage.Location = new Point(7, 556); + LblOVImage.Margin = new Padding(4, 0, 4, 0); + LblOVImage.Name = "LblOVImage"; + LblOVImage.Size = new Size(82, 21); + LblOVImage.TabIndex = 194; + LblOVImage.Text = "OV Image"; + // + // LblActions + // + LblActions.AutoSize = true; + LblActions.BackColor = Color.Transparent; + LblActions.Font = new Font("Segoe UI Semibold", 12F, FontStyle.Bold); + LblActions.ForeColor = SystemColors.Control; + LblActions.Location = new Point(7, 328); + LblActions.Margin = new Padding(4, 0, 4, 0); + LblActions.Name = "LblActions"; + LblActions.Size = new Size(69, 21); + LblActions.TabIndex = 196; + LblActions.Text = "Actions:"; + // + // PanelSettings + // + PanelSettings.BackColor = Color.FromArgb(39, 37, 55); + PanelSettings.BorderStyle = BorderStyle.FixedSingle; + PanelSettings.Controls.Add(CbBxGain); + PanelSettings.Controls.Add(LblTestTubePing); + PanelSettings.Controls.Add(LblZebraPing); + PanelSettings.Controls.Add(CbBxIris); + PanelSettings.Controls.Add(LblEzPing); + PanelSettings.Controls.Add(LblPSUPing); + PanelSettings.Controls.Add(CbBxShutter); + PanelSettings.Controls.Add(label2); + PanelSettings.Controls.Add(TxBxTestTubeIP); + PanelSettings.Controls.Add(BtnCancel); + PanelSettings.Controls.Add(BtnSave); + PanelSettings.Controls.Add(TxBxEzIP); + PanelSettings.Controls.Add(lblZebraIP); + PanelSettings.Controls.Add(TxBxZebraIP); + PanelSettings.Controls.Add(lblEzIP); + PanelSettings.Controls.Add(TxBxPsuIP); + PanelSettings.Controls.Add(lblPowerIP); + PanelSettings.Controls.Add(label10); + PanelSettings.Location = new Point(8, 6); + PanelSettings.Margin = new Padding(4, 3, 4, 3); + PanelSettings.Name = "PanelSettings"; + PanelSettings.Size = new Size(395, 236); + PanelSettings.TabIndex = 197; + // + // CbBxGain + // + CbBxGain.BackColor = Color.FromArgb(53, 51, 64); + CbBxGain.FlatStyle = FlatStyle.Flat; + CbBxGain.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + CbBxGain.ForeColor = SystemColors.Control; + CbBxGain.FormattingEnabled = true; + CbBxGain.Items.AddRange(new object[] { "0dB", "2dB", "4dB", "6dB", "8dB", "10dB", "12dB", "14dB" }); + CbBxGain.Location = new Point(300, 149); + CbBxGain.Margin = new Padding(4, 3, 4, 3); + CbBxGain.Name = "CbBxGain"; + CbBxGain.Size = new Size(81, 25); + CbBxGain.TabIndex = 238; + CbBxGain.Text = "Gain"; + // + // LblTestTubePing + // + LblTestTubePing.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + LblTestTubePing.ForeColor = Color.Red; + LblTestTubePing.Location = new Point(208, 115); + LblTestTubePing.Margin = new Padding(4, 0, 4, 0); + LblTestTubePing.Name = "LblTestTubePing"; + LblTestTubePing.Size = new Size(34, 23); + LblTestTubePing.TabIndex = 180; + ToolTipAvailable.SetToolTip(LblTestTubePing, "No ping from Accessory Board"); + // + // LblZebraPing + // + LblZebraPing.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + LblZebraPing.ForeColor = Color.Red; + LblZebraPing.Location = new Point(208, 80); + LblZebraPing.Margin = new Padding(4, 0, 4, 0); + LblZebraPing.Name = "LblZebraPing"; + LblZebraPing.Size = new Size(34, 23); + LblZebraPing.TabIndex = 179; + ToolTipAvailable.SetToolTip(LblZebraPing, "No ping from Zebra"); + // + // CbBxIris + // + CbBxIris.BackColor = Color.FromArgb(53, 51, 64); + CbBxIris.FlatStyle = FlatStyle.Flat; + CbBxIris.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + CbBxIris.ForeColor = SystemColors.Control; + CbBxIris.FormattingEnabled = true; + CbBxIris.Items.AddRange(new object[] { "F16", "F14", "F11", "F9.6", "F8", "F6.8", "F5.6", "F4.8", "F4", "F3.4", "F2.8", "F2.4", "F2" }); + CbBxIris.Location = new Point(211, 149); + CbBxIris.Margin = new Padding(4, 3, 4, 3); + CbBxIris.Name = "CbBxIris"; + CbBxIris.Size = new Size(81, 25); + CbBxIris.TabIndex = 237; + CbBxIris.Text = "Iris"; + // + // LblEzPing + // + LblEzPing.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + LblEzPing.ForeColor = Color.Red; + LblEzPing.Location = new Point(208, 44); + LblEzPing.Margin = new Padding(4, 0, 4, 0); + LblEzPing.Name = "LblEzPing"; + LblEzPing.Size = new Size(34, 23); + LblEzPing.TabIndex = 178; + ToolTipAvailable.SetToolTip(LblEzPing, "No ping from Ez"); + // + // LblPSUPing + // + LblPSUPing.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + LblPSUPing.ForeColor = Color.Red; + LblPSUPing.Location = new Point(208, 8); + LblPSUPing.Margin = new Padding(4, 0, 4, 0); + LblPSUPing.Name = "LblPSUPing"; + LblPSUPing.Size = new Size(34, 23); + LblPSUPing.TabIndex = 177; + ToolTipAvailable.SetToolTip(LblPSUPing, "No ping from PSU"); + // + // CbBxShutter + // + CbBxShutter.BackColor = Color.FromArgb(53, 51, 64); + CbBxShutter.FlatStyle = FlatStyle.Flat; + CbBxShutter.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + CbBxShutter.ForeColor = SystemColors.Control; + CbBxShutter.FormattingEnabled = true; + CbBxShutter.Items.AddRange(new object[] { "1/100", "1/120", "1/250", "1/500", "1/1000", "1/2000", "1/5000", "1/10000" }); + CbBxShutter.Location = new Point(122, 149); + CbBxShutter.Margin = new Padding(4, 3, 4, 3); + CbBxShutter.Name = "CbBxShutter"; + CbBxShutter.Size = new Size(81, 25); + CbBxShutter.TabIndex = 236; + CbBxShutter.Text = "Shutter"; + // + // label2 + // + label2.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + label2.ForeColor = SystemColors.Control; + label2.Location = new Point(6, 115); + label2.Margin = new Padding(4, 0, 4, 0); + label2.Name = "label2"; + label2.Size = new Size(198, 23); + label2.TabIndex = 176; + label2.Text = "Test Tube IP Address"; + // + // TxBxTestTubeIP + // + TxBxTestTubeIP.BackColor = Color.FromArgb(53, 51, 64); + TxBxTestTubeIP.BorderStyle = BorderStyle.FixedSingle; + TxBxTestTubeIP.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + TxBxTestTubeIP.ForeColor = SystemColors.Control; + TxBxTestTubeIP.Location = new Point(248, 113); + TxBxTestTubeIP.Margin = new Padding(4, 3, 4, 3); + TxBxTestTubeIP.Name = "TxBxTestTubeIP"; + TxBxTestTubeIP.Size = new Size(133, 25); + TxBxTestTubeIP.TabIndex = 175; + TxBxTestTubeIP.Text = "192.168.4.177"; + TxBxTestTubeIP.TextAlign = HorizontalAlignment.Center; + TxBxTestTubeIP.TextChanged += TxBxAccBoardIP_TextChanged; + // + // BtnCancel + // + BtnCancel.BackColor = Color.FromArgb(70, 65, 80); + BtnCancel.FlatAppearance.BorderSize = 0; + BtnCancel.FlatStyle = FlatStyle.Flat; + BtnCancel.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + BtnCancel.ForeColor = SystemColors.Control; + BtnCancel.Location = new Point(201, 185); + BtnCancel.Margin = new Padding(4, 3, 4, 3); + BtnCancel.Name = "BtnCancel"; + BtnCancel.Size = new Size(181, 37); + BtnCancel.TabIndex = 174; + BtnCancel.Text = "Cancel"; + BtnCancel.UseVisualStyleBackColor = false; + BtnCancel.Click += BtnCancel_Click; + // + // BtnSave + // + BtnSave.BackColor = Color.FromArgb(70, 65, 80); + BtnSave.FlatAppearance.BorderSize = 0; + BtnSave.FlatStyle = FlatStyle.Flat; + BtnSave.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + BtnSave.ForeColor = SystemColors.Control; + BtnSave.Location = new Point(10, 185); + BtnSave.Margin = new Padding(4, 3, 4, 3); + BtnSave.Name = "BtnSave"; + BtnSave.Size = new Size(181, 37); + BtnSave.TabIndex = 173; + BtnSave.Text = "Save && Check"; + BtnSave.UseVisualStyleBackColor = false; + BtnSave.Click += BtnSave_Click; + // + // TxBxEzIP + // + TxBxEzIP.BackColor = Color.FromArgb(53, 51, 64); + TxBxEzIP.BorderStyle = BorderStyle.FixedSingle; + TxBxEzIP.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + TxBxEzIP.ForeColor = SystemColors.Control; + TxBxEzIP.Location = new Point(248, 42); + TxBxEzIP.Margin = new Padding(4, 3, 4, 3); + TxBxEzIP.Name = "TxBxEzIP"; + TxBxEzIP.Size = new Size(133, 25); + TxBxEzIP.TabIndex = 171; + TxBxEzIP.Text = "192.168.1.207"; + TxBxEzIP.TextAlign = HorizontalAlignment.Center; + TxBxEzIP.TextChanged += TxBxEzIP_TextChanged; + // + // lblZebraIP + // + lblZebraIP.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + lblZebraIP.ForeColor = SystemColors.Control; + lblZebraIP.Location = new Point(6, 80); + lblZebraIP.Margin = new Padding(4, 0, 4, 0); + lblZebraIP.Name = "lblZebraIP"; + lblZebraIP.Size = new Size(198, 23); + lblZebraIP.TabIndex = 170; + lblZebraIP.Text = "Label Printer IP Address"; + // + // TxBxZebraIP + // + TxBxZebraIP.BackColor = Color.FromArgb(53, 51, 64); + TxBxZebraIP.BorderStyle = BorderStyle.FixedSingle; + TxBxZebraIP.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + TxBxZebraIP.ForeColor = SystemColors.Control; + TxBxZebraIP.Location = new Point(248, 77); + TxBxZebraIP.Margin = new Padding(4, 3, 4, 3); + TxBxZebraIP.Name = "TxBxZebraIP"; + TxBxZebraIP.Size = new Size(133, 25); + TxBxZebraIP.TabIndex = 169; + TxBxZebraIP.Text = "192.168.1.205"; + TxBxZebraIP.TextAlign = HorizontalAlignment.Center; + TxBxZebraIP.TextChanged += TxBxZebraIP_TextChanged; + // + // lblEzIP + // + lblEzIP.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + lblEzIP.ForeColor = SystemColors.Control; + lblEzIP.Location = new Point(6, 44); + lblEzIP.Margin = new Padding(4, 0, 4, 0); + lblEzIP.Name = "lblEzIP"; + lblEzIP.Size = new Size(198, 23); + lblEzIP.TabIndex = 172; + lblEzIP.Text = "Ez Outlet IP Address"; + // + // TxBxPsuIP + // + TxBxPsuIP.BackColor = Color.FromArgb(53, 51, 64); + TxBxPsuIP.BorderStyle = BorderStyle.FixedSingle; + TxBxPsuIP.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + TxBxPsuIP.ForeColor = SystemColors.Control; + TxBxPsuIP.Location = new Point(248, 6); + TxBxPsuIP.Margin = new Padding(4, 3, 4, 3); + TxBxPsuIP.Name = "TxBxPsuIP"; + TxBxPsuIP.Size = new Size(133, 25); + TxBxPsuIP.TabIndex = 144; + TxBxPsuIP.Text = "192.168.1.206"; + TxBxPsuIP.TextAlign = HorizontalAlignment.Center; + TxBxPsuIP.TextChanged += TxBxPSUIP_TextChanged; + // + // lblPowerIP + // + lblPowerIP.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + lblPowerIP.ForeColor = SystemColors.Control; + lblPowerIP.Location = new Point(2, 8); + lblPowerIP.Margin = new Padding(4, 0, 4, 0); + lblPowerIP.Name = "lblPowerIP"; + lblPowerIP.Size = new Size(198, 23); + lblPowerIP.TabIndex = 145; + lblPowerIP.Text = "Power Supply IP Address"; + // + // label10 + // + label10.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + label10.ForeColor = SystemColors.Control; + label10.Location = new Point(6, 152); + label10.Margin = new Padding(4, 0, 4, 0); + label10.Name = "label10"; + label10.Size = new Size(217, 23); + label10.TabIndex = 239; + label10.Text = "SIG for Trim"; + // + // PnlQuestion + // + PnlQuestion.BackColor = Color.FromArgb(39, 37, 55); + PnlQuestion.Controls.Add(BtnNo); + PnlQuestion.Controls.Add(BtnYes); + PnlQuestion.Controls.Add(LblQuestion); + PnlQuestion.Location = new Point(251, 14); + PnlQuestion.Margin = new Padding(4, 3, 4, 3); + PnlQuestion.Name = "PnlQuestion"; + PnlQuestion.Size = new Size(254, 125); + PnlQuestion.TabIndex = 198; + PnlQuestion.Visible = false; + // + // BtnNo + // + BtnNo.BackColor = Color.FromArgb(70, 65, 80); + BtnNo.FlatAppearance.BorderColor = Color.FromArgb(70, 65, 80); + BtnNo.FlatAppearance.BorderSize = 0; + BtnNo.FlatStyle = FlatStyle.Flat; + BtnNo.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + BtnNo.ForeColor = SystemColors.Control; + BtnNo.Location = new Point(133, 77); + BtnNo.Margin = new Padding(4, 3, 4, 3); + BtnNo.Name = "BtnNo"; + BtnNo.Size = new Size(113, 37); + BtnNo.TabIndex = 174; + BtnNo.Text = "No"; + BtnNo.UseVisualStyleBackColor = false; + BtnNo.Click += BtnNo_Click; + // + // BtnYes + // + BtnYes.BackColor = Color.FromArgb(70, 65, 80); + BtnYes.FlatAppearance.BorderSize = 0; + BtnYes.FlatStyle = FlatStyle.Flat; + BtnYes.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + BtnYes.ForeColor = SystemColors.Control; + BtnYes.Location = new Point(12, 77); + BtnYes.Margin = new Padding(4, 3, 4, 3); + BtnYes.Name = "BtnYes"; + BtnYes.Size = new Size(113, 37); + BtnYes.TabIndex = 173; + BtnYes.Text = "Yes"; + BtnYes.UseVisualStyleBackColor = false; + BtnYes.Click += BtnYes_Click; + // + // LblQuestion + // + LblQuestion.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + LblQuestion.ForeColor = SystemColors.Control; + LblQuestion.Location = new Point(10, 6); + LblQuestion.Margin = new Padding(4, 0, 4, 0); + LblQuestion.Name = "LblQuestion"; + LblQuestion.Size = new Size(234, 68); + LblQuestion.TabIndex = 145; + LblQuestion.Text = "Test failed, appeal?\r\nSee Actions textbox for details."; + LblQuestion.TextAlign = ContentAlignment.MiddleCenter; + // + // label16 + // + label16.AutoSize = true; + label16.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + label16.ForeColor = SystemColors.Control; + label16.Location = new Point(5, 31); + label16.Margin = new Padding(4, 0, 4, 0); + label16.Name = "label16"; + label16.Size = new Size(134, 19); + label16.TabIndex = 161; + label16.Text = "Serial Num to print "; + label16.TextAlign = ContentAlignment.MiddleCenter; + // + // BtnPrintGB + // + BtnPrintGB.BackColor = Color.FromArgb(70, 65, 80); + BtnPrintGB.Enabled = false; + BtnPrintGB.FlatAppearance.BorderSize = 0; + BtnPrintGB.FlatStyle = FlatStyle.Flat; + BtnPrintGB.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + BtnPrintGB.ForeColor = SystemColors.Control; + BtnPrintGB.Location = new Point(201, 70); + BtnPrintGB.Margin = new Padding(4, 3, 4, 3); + BtnPrintGB.Name = "BtnPrintGB"; + BtnPrintGB.Size = new Size(180, 37); + BtnPrintGB.TabIndex = 153; + BtnPrintGB.Text = "Print GB label"; + BtnPrintGB.UseVisualStyleBackColor = false; + BtnPrintGB.Click += BtnPrintGB_Click; + // + // BtnPrintAiQ + // + BtnPrintAiQ.BackColor = Color.FromArgb(70, 65, 80); + BtnPrintAiQ.Enabled = false; + BtnPrintAiQ.FlatAppearance.BorderSize = 0; + BtnPrintAiQ.FlatStyle = FlatStyle.Flat; + BtnPrintAiQ.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + BtnPrintAiQ.ForeColor = SystemColors.Control; + BtnPrintAiQ.Location = new Point(9, 70); + BtnPrintAiQ.Margin = new Padding(4, 3, 4, 3); + BtnPrintAiQ.Name = "BtnPrintAiQ"; + BtnPrintAiQ.Size = new Size(180, 37); + BtnPrintAiQ.TabIndex = 113; + BtnPrintAiQ.Text = "Label Print"; + BtnPrintAiQ.UseVisualStyleBackColor = false; + BtnPrintAiQ.Click += BtnPrintAiQ_Click; + // + // TxBxSerialPrint + // + TxBxSerialPrint.BackColor = Color.FromArgb(53, 51, 64); + TxBxSerialPrint.BorderStyle = BorderStyle.FixedSingle; + TxBxSerialPrint.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + TxBxSerialPrint.ForeColor = SystemColors.Control; + TxBxSerialPrint.Location = new Point(176, 30); + TxBxSerialPrint.Margin = new Padding(4, 3, 4, 3); + TxBxSerialPrint.Name = "TxBxSerialPrint"; + TxBxSerialPrint.Size = new Size(205, 25); + TxBxSerialPrint.TabIndex = 152; + TxBxSerialPrint.Text = "K – – – – – – –"; + TxBxSerialPrint.TextAlign = HorizontalAlignment.Center; + TxBxSerialPrint.Click += TxBxSerialPrint_Click; + TxBxSerialPrint.TextChanged += TxBxSerialPrint_TextChanged; + // + // label5 + // + label5.AutoSize = true; + label5.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + label5.ForeColor = SystemColors.Control; + label5.Location = new Point(12, 142); + label5.Margin = new Padding(4, 0, 4, 0); + label5.Name = "label5"; + label5.Size = new Size(48, 19); + label5.TabIndex = 168; + label5.Text = "Secret"; + label5.TextAlign = ContentAlignment.MiddleCenter; + // + // TxBxOutput + // + TxBxOutput.BackColor = Color.FromArgb(53, 51, 64); + TxBxOutput.BorderStyle = BorderStyle.FixedSingle; + TxBxOutput.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + TxBxOutput.ForeColor = SystemColors.Control; + TxBxOutput.Location = new Point(182, 141); + TxBxOutput.Margin = new Padding(4, 3, 4, 3); + TxBxOutput.Name = "TxBxOutput"; + TxBxOutput.Size = new Size(205, 25); + TxBxOutput.TabIndex = 167; + TxBxOutput.TextAlign = HorizontalAlignment.Center; + TxBxOutput.Click += TxBxOutput_Click; + TxBxOutput.TextChanged += TxBxOutput_Click; + // + // BtnRefreshUnix + // + BtnRefreshUnix.BackColor = Color.FromArgb(70, 65, 80); + BtnRefreshUnix.FlatAppearance.BorderSize = 0; + BtnRefreshUnix.FlatStyle = FlatStyle.Flat; + BtnRefreshUnix.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + BtnRefreshUnix.ForeColor = SystemColors.Control; + BtnRefreshUnix.Location = new Point(182, 105); + BtnRefreshUnix.Margin = new Padding(4, 3, 4, 3); + BtnRefreshUnix.Name = "BtnRefreshUnix"; + BtnRefreshUnix.Size = new Size(40, 29); + BtnRefreshUnix.TabIndex = 166; + BtnRefreshUnix.Text = "↻"; + BtnRefreshUnix.UseVisualStyleBackColor = false; + BtnRefreshUnix.Click += BtnRefreshUnix_Click; + // + // label4 + // + label4.AutoSize = true; + label4.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + label4.ForeColor = SystemColors.Control; + label4.Location = new Point(12, 106); + label4.Margin = new Padding(4, 0, 4, 0); + label4.Name = "label4"; + label4.Size = new Size(73, 19); + label4.TabIndex = 165; + label4.Text = "Unix Time"; + label4.TextAlign = ContentAlignment.MiddleCenter; + // + // TxBxUnixTime + // + TxBxUnixTime.BackColor = Color.FromArgb(53, 51, 64); + TxBxUnixTime.BorderStyle = BorderStyle.FixedSingle; + TxBxUnixTime.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + TxBxUnixTime.ForeColor = SystemColors.Control; + TxBxUnixTime.Location = new Point(229, 105); + TxBxUnixTime.Margin = new Padding(4, 3, 4, 3); + TxBxUnixTime.Name = "TxBxUnixTime"; + TxBxUnixTime.Size = new Size(158, 25); + TxBxUnixTime.TabIndex = 164; + TxBxUnixTime.Text = "1742203460"; + TxBxUnixTime.TextAlign = HorizontalAlignment.Center; + TxBxUnixTime.TextChanged += TxBxUnixTime_TextChanged; + // + // label3 + // + label3.AutoSize = true; + label3.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + label3.ForeColor = SystemColors.Control; + label3.Location = new Point(12, 70); + label3.Margin = new Padding(4, 0, 4, 0); + label3.Name = "label3"; + label3.Size = new Size(88, 19); + label3.TabIndex = 163; + label3.Text = "Flexi Version"; + label3.TextAlign = ContentAlignment.MiddleCenter; + // + // TxBxFlexiVer + // + TxBxFlexiVer.BackColor = Color.FromArgb(53, 51, 64); + TxBxFlexiVer.BorderStyle = BorderStyle.FixedSingle; + TxBxFlexiVer.Font = new Font("Segoe UI Semibold", 9.75F, FontStyle.Bold, GraphicsUnit.Point, 0); + TxBxFlexiVer.ForeColor = SystemColors.Control; + TxBxFlexiVer.Location = new Point(182, 69); + TxBxFlexiVer.Margin = new Padding(4, 3, 4, 3); + TxBxFlexiVer.Name = "TxBxFlexiVer"; + TxBxFlexiVer.Size = new Size(205, 25); + TxBxFlexiVer.TabIndex = 162; + TxBxFlexiVer.Text = "1.6.4"; + TxBxFlexiVer.TextAlign = HorizontalAlignment.Center; + TxBxFlexiVer.TextChanged += TxBxFlexiVer_TextChanged; + // + // label1 + // + label1.AutoSize = true; + label1.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + label1.ForeColor = SystemColors.Control; + label1.Location = new Point(12, 35); + label1.Margin = new Padding(4, 0, 4, 0); + label1.Name = "label1"; + label1.Size = new Size(93, 19); + label1.TabIndex = 161; + label1.Text = "MAC Address"; + label1.TextAlign = ContentAlignment.MiddleCenter; + // + // BtnSecret + // + BtnSecret.BackColor = Color.FromArgb(70, 65, 80); + BtnSecret.Enabled = false; + BtnSecret.FlatAppearance.BorderSize = 0; + BtnSecret.FlatStyle = FlatStyle.Flat; + BtnSecret.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + BtnSecret.ForeColor = SystemColors.Control; + BtnSecret.Location = new Point(16, 175); + BtnSecret.Margin = new Padding(4, 3, 4, 3); + BtnSecret.Name = "BtnSecret"; + BtnSecret.Size = new Size(180, 37); + BtnSecret.TabIndex = 113; + BtnSecret.Text = "Generate Auto"; + BtnSecret.UseVisualStyleBackColor = false; + BtnSecret.Click += BtnSecret_Click; + // + // TxBxMAC + // + TxBxMAC.BackColor = Color.FromArgb(53, 51, 64); + TxBxMAC.BorderStyle = BorderStyle.FixedSingle; + TxBxMAC.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + TxBxMAC.ForeColor = SystemColors.Control; + TxBxMAC.Location = new Point(182, 33); + TxBxMAC.Margin = new Padding(4, 3, 4, 3); + TxBxMAC.Name = "TxBxMAC"; + TxBxMAC.Size = new Size(205, 25); + TxBxMAC.TabIndex = 152; + TxBxMAC.Text = "00:00:00:00:00:00"; + TxBxMAC.TextAlign = HorizontalAlignment.Center; + TxBxMAC.TextChanged += TxBxMAC_TextChanged; + // + // BtnSecretMan + // + BtnSecretMan.BackColor = Color.FromArgb(70, 65, 80); + BtnSecretMan.FlatAppearance.BorderSize = 0; + BtnSecretMan.FlatStyle = FlatStyle.Flat; + BtnSecretMan.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + BtnSecretMan.ForeColor = SystemColors.Control; + BtnSecretMan.Location = new Point(207, 175); + BtnSecretMan.Margin = new Padding(4, 3, 4, 3); + BtnSecretMan.Name = "BtnSecretMan"; + BtnSecretMan.Size = new Size(180, 37); + BtnSecretMan.TabIndex = 153; + BtnSecretMan.Text = " Generate Manual"; + BtnSecretMan.UseVisualStyleBackColor = false; + BtnSecretMan.Click += BtnSecretMan_Click; + // + // BtnLicVaxtor + // + BtnLicVaxtor.BackColor = Color.FromArgb(70, 65, 80); + BtnLicVaxtor.Enabled = false; + BtnLicVaxtor.FlatAppearance.BorderSize = 0; + BtnLicVaxtor.FlatStyle = FlatStyle.Flat; + BtnLicVaxtor.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + BtnLicVaxtor.ForeColor = SystemColors.Control; + BtnLicVaxtor.Location = new Point(12, 25); + BtnLicVaxtor.Margin = new Padding(4, 3, 4, 3); + BtnLicVaxtor.Name = "BtnLicVaxtor"; + BtnLicVaxtor.Size = new Size(180, 37); + BtnLicVaxtor.TabIndex = 234; + BtnLicVaxtor.Text = "License Vaxtor"; + BtnLicVaxtor.UseVisualStyleBackColor = false; + BtnLicVaxtor.Click += BtnLicVaxtor_Click; + // + // label6 + // + label6.AutoSize = true; + label6.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + label6.ForeColor = SystemColors.Control; + label6.Location = new Point(10, 67); + label6.Margin = new Padding(4, 0, 4, 0); + label6.Name = "label6"; + label6.Size = new Size(104, 19); + label6.TabIndex = 233; + label6.Text = "Challenge Type"; + label6.TextAlign = ContentAlignment.MiddleCenter; + // + // CbBxType + // + CbBxType.BackColor = Color.FromArgb(53, 51, 64); + CbBxType.DropDownHeight = 800; + CbBxType.DropDownStyle = ComboBoxStyle.DropDownList; + CbBxType.DropDownWidth = 350; + CbBxType.FlatStyle = FlatStyle.Flat; + CbBxType.Font = new Font("Microsoft Sans Serif", 9F); + CbBxType.ForeColor = SystemColors.Control; + CbBxType.FormattingEnabled = true; + CbBxType.IntegralHeight = false; + CbBxType.Items.AddRange(new object[] { "Store & Forward", "Streaming", "Audit" }); + CbBxType.Location = new Point(177, 62); + CbBxType.Margin = new Padding(4, 3, 4, 3); + CbBxType.MaxDropDownItems = 30; + CbBxType.Name = "CbBxType"; + CbBxType.Size = new Size(205, 23); + CbBxType.TabIndex = 232; + CbBxType.SelectedIndexChanged += TxBxChallenge_TextChanged; + // + // RhTxBxCode + // + RhTxBxCode.BackColor = Color.FromArgb(53, 51, 64); + RhTxBxCode.BorderStyle = BorderStyle.None; + RhTxBxCode.ForeColor = SystemColors.Control; + RhTxBxCode.Location = new Point(10, 95); + RhTxBxCode.Margin = new Padding(4, 3, 4, 3); + RhTxBxCode.Name = "RhTxBxCode"; + RhTxBxCode.Size = new Size(372, 61); + RhTxBxCode.TabIndex = 162; + RhTxBxCode.Text = ""; + // + // label9 + // + label9.AutoSize = true; + label9.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + label9.ForeColor = SystemColors.Control; + label9.Location = new Point(7, 33); + label9.Margin = new Padding(4, 0, 4, 0); + label9.Name = "label9"; + label9.Size = new Size(107, 19); + label9.TabIndex = 161; + label9.Text = "Challenge Code"; + label9.TextAlign = ContentAlignment.MiddleCenter; + // + // BtnGenerate + // + BtnGenerate.BackColor = Color.FromArgb(70, 65, 80); + BtnGenerate.Enabled = false; + BtnGenerate.FlatAppearance.BorderSize = 0; + BtnGenerate.FlatStyle = FlatStyle.Flat; + BtnGenerate.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + BtnGenerate.ForeColor = SystemColors.Control; + BtnGenerate.Location = new Point(10, 163); + BtnGenerate.Margin = new Padding(4, 3, 4, 3); + BtnGenerate.Name = "BtnGenerate"; + BtnGenerate.Size = new Size(372, 37); + BtnGenerate.TabIndex = 113; + BtnGenerate.Text = "Generate Response"; + BtnGenerate.UseVisualStyleBackColor = false; + BtnGenerate.Click += BtnGenerate_Click; + // + // TxBxChallenge + // + TxBxChallenge.BackColor = Color.FromArgb(53, 51, 64); + TxBxChallenge.BorderStyle = BorderStyle.FixedSingle; + TxBxChallenge.ForeColor = SystemColors.Control; + TxBxChallenge.Location = new Point(177, 28); + TxBxChallenge.Margin = new Padding(4, 3, 4, 3); + TxBxChallenge.Name = "TxBxChallenge"; + TxBxChallenge.Size = new Size(205, 25); + TxBxChallenge.TabIndex = 152; + TxBxChallenge.TextAlign = HorizontalAlignment.Center; + TxBxChallenge.TextChanged += TxBxChallenge_TextChanged; + // + // PnlInputValue + // + PnlInputValue.BackColor = Color.FromArgb(39, 37, 55); + PnlInputValue.Controls.Add(BtnRerun); + PnlInputValue.Controls.Add(RMANumBox); + PnlInputValue.Controls.Add(TxBxProductKey); + PnlInputValue.Controls.Add(BtnDont); + PnlInputValue.Controls.Add(BtnDone); + PnlInputValue.Controls.Add(LblRMA); + PnlInputValue.Location = new Point(251, 155); + PnlInputValue.Margin = new Padding(4, 3, 4, 3); + PnlInputValue.Name = "PnlInputValue"; + PnlInputValue.Size = new Size(254, 127); + PnlInputValue.TabIndex = 199; + PnlInputValue.Visible = false; + // + // BtnRerun + // + BtnRerun.BackColor = Color.FromArgb(70, 65, 80); + BtnRerun.FlatAppearance.BorderSize = 0; + BtnRerun.FlatStyle = FlatStyle.Flat; + BtnRerun.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + BtnRerun.ForeColor = SystemColors.Control; + BtnRerun.Location = new Point(132, 82); + BtnRerun.Margin = new Padding(4, 3, 4, 3); + BtnRerun.Name = "BtnRerun"; + BtnRerun.Size = new Size(113, 37); + BtnRerun.TabIndex = 177; + BtnRerun.Text = "Rerun"; + BtnRerun.UseVisualStyleBackColor = false; + BtnRerun.Click += BtnRerun_Click; + // + // RMANumBox + // + RMANumBox.BackColor = Color.FromArgb(53, 51, 64); + RMANumBox.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + RMANumBox.ForeColor = SystemColors.Window; + RMANumBox.Location = new Point(10, 38); + RMANumBox.Margin = new Padding(4, 3, 4, 3); + RMANumBox.Maximum = new decimal(new int[] { 99999, 0, 0, 0 }); + RMANumBox.Name = "RMANumBox"; + RMANumBox.Size = new Size(113, 25); + RMANumBox.TabIndex = 175; + // + // TxBxProductKey + // + TxBxProductKey.BackColor = Color.FromArgb(53, 51, 64); + TxBxProductKey.BorderStyle = BorderStyle.FixedSingle; + TxBxProductKey.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + TxBxProductKey.ForeColor = SystemColors.Control; + TxBxProductKey.Location = new Point(10, 46); + TxBxProductKey.Margin = new Padding(4, 3, 4, 3); + TxBxProductKey.Name = "TxBxProductKey"; + TxBxProductKey.Size = new Size(114, 25); + TxBxProductKey.TabIndex = 162; + TxBxProductKey.TextAlign = HorizontalAlignment.Center; + TxBxProductKey.Visible = false; + // + // BtnDont + // + BtnDont.BackColor = Color.FromArgb(70, 65, 80); + BtnDont.FlatAppearance.BorderSize = 0; + BtnDont.FlatStyle = FlatStyle.Flat; + BtnDont.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + BtnDont.ForeColor = SystemColors.Control; + BtnDont.Location = new Point(12, 82); + BtnDont.Margin = new Padding(4, 3, 4, 3); + BtnDont.Name = "BtnDont"; + BtnDont.Size = new Size(112, 37); + BtnDont.TabIndex = 176; + BtnDont.Text = "Don't have one"; + BtnDont.UseVisualStyleBackColor = false; + BtnDont.Click += BtnDont_Click; + // + // BtnDone + // + BtnDone.BackColor = Color.FromArgb(70, 65, 80); + BtnDone.FlatAppearance.BorderSize = 0; + BtnDone.FlatStyle = FlatStyle.Flat; + BtnDone.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + BtnDone.ForeColor = SystemColors.Control; + BtnDone.Location = new Point(132, 38); + BtnDone.Margin = new Padding(4, 3, 4, 3); + BtnDone.Name = "BtnDone"; + BtnDone.Size = new Size(113, 37); + BtnDone.TabIndex = 174; + BtnDone.Text = "Done"; + BtnDone.UseVisualStyleBackColor = false; + BtnDone.Click += BtnDone_Click; + // + // LblRMA + // + LblRMA.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + LblRMA.ForeColor = SystemColors.Control; + LblRMA.Location = new Point(13, 6); + LblRMA.Margin = new Padding(4, 0, 4, 0); + LblRMA.Name = "LblRMA"; + LblRMA.Size = new Size(233, 29); + LblRMA.TabIndex = 145; + LblRMA.Text = "What is the RMA number?"; + LblRMA.TextAlign = ContentAlignment.MiddleCenter; + // + // BtnSetGodMode + // + BtnSetGodMode.BackColor = Color.FromArgb(70, 65, 80); + BtnSetGodMode.Enabled = false; + BtnSetGodMode.FlatAppearance.BorderSize = 0; + BtnSetGodMode.FlatStyle = FlatStyle.Flat; + BtnSetGodMode.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + BtnSetGodMode.ForeColor = SystemColors.Control; + BtnSetGodMode.Location = new Point(12, 111); + BtnSetGodMode.Margin = new Padding(4, 3, 4, 3); + BtnSetGodMode.Name = "BtnSetGodMode"; + BtnSetGodMode.Size = new Size(180, 37); + BtnSetGodMode.TabIndex = 183; + BtnSetGodMode.Text = "Set God Mode On"; + BtnSetGodMode.UseVisualStyleBackColor = false; + BtnSetGodMode.Click += BtnSetGodMode_Click; + // + // btnPsu12V + // + btnPsu12V.BackColor = Color.FromArgb(70, 65, 80); + btnPsu12V.Enabled = false; + btnPsu12V.FlatAppearance.BorderSize = 0; + btnPsu12V.FlatStyle = FlatStyle.Flat; + btnPsu12V.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + btnPsu12V.ForeColor = SystemColors.Control; + btnPsu12V.Location = new Point(299, 68); + btnPsu12V.Margin = new Padding(4, 3, 4, 3); + btnPsu12V.Name = "btnPsu12V"; + btnPsu12V.Size = new Size(85, 37); + btnPsu12V.TabIndex = 182; + btnPsu12V.Text = "Set 12V"; + btnPsu12V.UseVisualStyleBackColor = false; + btnPsu12V.Click += btnPsu12V_Click; + // + // btnPsu48V + // + btnPsu48V.BackColor = Color.FromArgb(70, 65, 80); + btnPsu48V.Enabled = false; + btnPsu48V.FlatAppearance.BorderSize = 0; + btnPsu48V.FlatStyle = FlatStyle.Flat; + btnPsu48V.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + btnPsu48V.ForeColor = SystemColors.Control; + btnPsu48V.Location = new Point(204, 68); + btnPsu48V.Margin = new Padding(4, 3, 4, 3); + btnPsu48V.Name = "btnPsu48V"; + btnPsu48V.Size = new Size(85, 37); + btnPsu48V.TabIndex = 181; + btnPsu48V.Text = "Set 48V"; + btnPsu48V.UseVisualStyleBackColor = false; + btnPsu48V.Click += btnPsu48V_Click; + // + // btnPsuOff + // + btnPsuOff.BackColor = Color.FromArgb(70, 65, 80); + btnPsuOff.Enabled = false; + btnPsuOff.FlatAppearance.BorderSize = 0; + btnPsuOff.FlatStyle = FlatStyle.Flat; + btnPsuOff.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + btnPsuOff.ForeColor = SystemColors.Control; + btnPsuOff.Location = new Point(299, 25); + btnPsuOff.Margin = new Padding(4, 3, 4, 3); + btnPsuOff.Name = "btnPsuOff"; + btnPsuOff.Size = new Size(85, 37); + btnPsuOff.TabIndex = 180; + btnPsuOff.Text = "PSU Off"; + btnPsuOff.UseVisualStyleBackColor = false; + btnPsuOff.Click += btnPsuOff_Click; + // + // btnPsuOn + // + btnPsuOn.BackColor = Color.FromArgb(70, 65, 80); + btnPsuOn.Enabled = false; + btnPsuOn.FlatAppearance.BorderSize = 0; + btnPsuOn.FlatStyle = FlatStyle.Flat; + btnPsuOn.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + btnPsuOn.ForeColor = SystemColors.Control; + btnPsuOn.Location = new Point(204, 25); + btnPsuOn.Margin = new Padding(4, 3, 4, 3); + btnPsuOn.Name = "btnPsuOn"; + btnPsuOn.Size = new Size(85, 37); + btnPsuOn.TabIndex = 179; + btnPsuOn.Text = "PSU On"; + btnPsuOn.UseVisualStyleBackColor = false; + btnPsuOn.Click += btnPsuOn_Click; + // + // BtnEzOff + // + BtnEzOff.BackColor = Color.FromArgb(70, 65, 80); + BtnEzOff.Enabled = false; + BtnEzOff.FlatAppearance.BorderSize = 0; + BtnEzOff.FlatStyle = FlatStyle.Flat; + BtnEzOff.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + BtnEzOff.ForeColor = SystemColors.Control; + BtnEzOff.Location = new Point(299, 112); + BtnEzOff.Margin = new Padding(4, 3, 4, 3); + BtnEzOff.Name = "BtnEzOff"; + BtnEzOff.Size = new Size(85, 37); + BtnEzOff.TabIndex = 176; + BtnEzOff.Text = "PoE Off"; + BtnEzOff.UseVisualStyleBackColor = false; + BtnEzOff.Click += BtnEzOff_Click; + // + // BtnSet211 + // + BtnSet211.BackColor = Color.FromArgb(70, 65, 80); + BtnSet211.Enabled = false; + BtnSet211.FlatAppearance.BorderSize = 0; + BtnSet211.FlatStyle = FlatStyle.Flat; + BtnSet211.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + BtnSet211.ForeColor = SystemColors.Control; + BtnSet211.Location = new Point(12, 68); + BtnSet211.Margin = new Padding(4, 3, 4, 3); + BtnSet211.Name = "BtnSet211"; + BtnSet211.Size = new Size(180, 37); + BtnSet211.TabIndex = 178; + BtnSet211.Text = "Set to 211"; + BtnSet211.UseVisualStyleBackColor = false; + BtnSet211.Click += BtnSet211_Click; + // + // BtnEzOn + // + BtnEzOn.BackColor = Color.FromArgb(70, 65, 80); + BtnEzOn.Enabled = false; + BtnEzOn.FlatAppearance.BorderSize = 0; + BtnEzOn.FlatStyle = FlatStyle.Flat; + BtnEzOn.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + BtnEzOn.ForeColor = SystemColors.Control; + BtnEzOn.Location = new Point(204, 112); + BtnEzOn.Margin = new Padding(4, 3, 4, 3); + BtnEzOn.Name = "BtnEzOn"; + BtnEzOn.Size = new Size(85, 37); + BtnEzOn.TabIndex = 175; + BtnEzOn.Text = "PoE On"; + BtnEzOn.UseVisualStyleBackColor = false; + BtnEzOn.Click += BtnEzOn_Click; + // + // BtnSetAll211 + // + BtnSetAll211.BackColor = Color.FromArgb(70, 65, 80); + BtnSetAll211.Enabled = false; + BtnSetAll211.FlatAppearance.BorderColor = Color.FromArgb(70, 65, 80); + BtnSetAll211.FlatAppearance.BorderSize = 0; + BtnSetAll211.FlatStyle = FlatStyle.Flat; + BtnSetAll211.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + BtnSetAll211.ForeColor = SystemColors.Control; + BtnSetAll211.Location = new Point(222, 17); + BtnSetAll211.Margin = new Padding(4, 3, 4, 3); + BtnSetAll211.Name = "BtnSetAll211"; + BtnSetAll211.Size = new Size(181, 49); + BtnSetAll211.TabIndex = 179; + BtnSetAll211.Text = "Set all to 211"; + BtnSetAll211.UseVisualStyleBackColor = false; + BtnSetAll211.Click += BtnSetAll211_Click; + // + // 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); + BtnOpenWebpage.Enabled = false; + BtnOpenWebpage.FlatAppearance.BorderSize = 0; + BtnOpenWebpage.FlatStyle = FlatStyle.Flat; + BtnOpenWebpage.Font = new Font("Segoe UI Semibold", 14F, FontStyle.Bold); + BtnOpenWebpage.ForeColor = SystemColors.Control; + BtnOpenWebpage.Location = new Point(10, 209); + BtnOpenWebpage.Margin = new Padding(4, 3, 4, 3); + BtnOpenWebpage.Name = "BtnOpenWebpage"; + BtnOpenWebpage.Size = new Size(233, 46); + BtnOpenWebpage.TabIndex = 177; + BtnOpenWebpage.Text = "Open Webpage"; + BtnOpenWebpage.UseVisualStyleBackColor = false; + BtnOpenWebpage.Click += BtnOpenWebpage_Click; + // + // LblIRImageF16 + // + LblIRImageF16.AutoSize = true; + LblIRImageF16.BackColor = Color.Transparent; + LblIRImageF16.Font = new Font("Segoe UI Semibold", 12F, FontStyle.Bold); + LblIRImageF16.ForeColor = SystemColors.Control; + LblIRImageF16.Location = new Point(7, 279); + LblIRImageF16.Margin = new Padding(4, 0, 4, 0); + LblIRImageF16.Name = "LblIRImageF16"; + LblIRImageF16.Size = new Size(120, 21); + LblIRImageF16.TabIndex = 232; + LblIRImageF16.Text = "IR Image - F16 "; + // + // ToolTipClipboard + // + ToolTipClipboard.AutoPopDelay = 2000; + ToolTipClipboard.BackColor = Color.FromArgb(70, 65, 80); + ToolTipClipboard.ForeColor = SystemColors.Control; + ToolTipClipboard.InitialDelay = 0; + ToolTipClipboard.ReshowDelay = 0; + // + // TabImagesandSettings + // + TabImagesandSettings.Controls.Add(TabControls); + TabImagesandSettings.Controls.Add(TabSettings); + TabImagesandSettings.Controls.Add(TabImages); + TabImagesandSettings.Controls.Add(TabSoak); + TabImagesandSettings.Font = new Font("Segoe UI Semibold", 9F, FontStyle.Bold); + TabImagesandSettings.ItemSize = new Size(60, 20); + TabImagesandSettings.Location = new Point(512, 112); + TabImagesandSettings.Margin = new Padding(4, 3, 4, 3); + TabImagesandSettings.Name = "TabImagesandSettings"; + TabImagesandSettings.SelectedIndex = 0; + TabImagesandSettings.Size = new Size(419, 834); + TabImagesandSettings.TabIndex = 233; + // + // TabControls + // + TabControls.BackColor = Color.FromArgb(39, 37, 55); + TabControls.Controls.Add(groupBox4); + TabControls.Controls.Add(groupBox3); + TabControls.Controls.Add(groupBox2); + TabControls.Controls.Add(groupBox1); + TabControls.ForeColor = SystemColors.Control; + TabControls.Location = new Point(4, 24); + TabControls.Margin = new Padding(4, 3, 4, 3); + TabControls.Name = "TabControls"; + TabControls.Padding = new Padding(4, 3, 4, 3); + TabControls.Size = new Size(411, 806); + TabControls.TabIndex = 1; + TabControls.Text = "Controls"; + // + // groupBox4 + // + groupBox4.Controls.Add(label9); + groupBox4.Controls.Add(label6); + groupBox4.Controls.Add(TxBxChallenge); + groupBox4.Controls.Add(CbBxType); + groupBox4.Controls.Add(BtnGenerate); + groupBox4.Controls.Add(RhTxBxCode); + groupBox4.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + groupBox4.ForeColor = SystemColors.Control; + groupBox4.Location = new Point(9, 580); + groupBox4.Name = "groupBox4"; + groupBox4.Size = new Size(396, 220); + groupBox4.TabIndex = 235; + groupBox4.TabStop = false; + groupBox4.Text = "Feature Licensing"; + // + // groupBox3 + // + groupBox3.Controls.Add(label5); + groupBox3.Controls.Add(label1); + groupBox3.Controls.Add(TxBxOutput); + groupBox3.Controls.Add(BtnSecretMan); + groupBox3.Controls.Add(BtnRefreshUnix); + groupBox3.Controls.Add(TxBxMAC); + groupBox3.Controls.Add(label4); + groupBox3.Controls.Add(BtnSecret); + groupBox3.Controls.Add(TxBxUnixTime); + groupBox3.Controls.Add(TxBxFlexiVer); + groupBox3.Controls.Add(label3); + groupBox3.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + groupBox3.ForeColor = SystemColors.Control; + groupBox3.Location = new Point(9, 345); + groupBox3.Name = "groupBox3"; + groupBox3.Size = new Size(396, 229); + groupBox3.TabIndex = 234; + groupBox3.TabStop = false; + groupBox3.Text = "Developer Password"; + // + // groupBox2 + // + groupBox2.Controls.Add(label16); + groupBox2.Controls.Add(BtnPrintAiQ); + groupBox2.Controls.Add(TxBxSerialPrint); + groupBox2.Controls.Add(BtnPrintGB); + groupBox2.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + groupBox2.ForeColor = SystemColors.Control; + groupBox2.Location = new Point(9, 219); + groupBox2.Name = "groupBox2"; + groupBox2.Size = new Size(396, 120); + groupBox2.TabIndex = 233; + groupBox2.TabStop = false; + groupBox2.Text = "Label Printing"; + // + // groupBox1 + // + groupBox1.Controls.Add(BtnZoom8000); + groupBox1.Controls.Add(BtnZoomWide); + groupBox1.Controls.Add(BtnLicVaxtor); + groupBox1.Controls.Add(BtnSetGodMode); + groupBox1.Controls.Add(BtnEzOn); + groupBox1.Controls.Add(btnPsu12V); + groupBox1.Controls.Add(BtnSet211); + groupBox1.Controls.Add(btnPsu48V); + groupBox1.Controls.Add(BtnEzOff); + groupBox1.Controls.Add(btnPsuOff); + groupBox1.Controls.Add(btnPsuOn); + groupBox1.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + groupBox1.ForeColor = SystemColors.Control; + groupBox1.Location = new Point(9, 6); + groupBox1.Name = "groupBox1"; + groupBox1.Size = new Size(396, 207); + groupBox1.TabIndex = 232; + groupBox1.TabStop = false; + groupBox1.Text = "Controls"; + // + // BtnZoom8000 + // + BtnZoom8000.BackColor = Color.FromArgb(70, 65, 80); + BtnZoom8000.Enabled = false; + BtnZoom8000.FlatAppearance.BorderSize = 0; + BtnZoom8000.FlatStyle = FlatStyle.Flat; + BtnZoom8000.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + BtnZoom8000.ForeColor = SystemColors.Control; + BtnZoom8000.Location = new Point(204, 155); + BtnZoom8000.Margin = new Padding(4, 3, 4, 3); + BtnZoom8000.Name = "BtnZoom8000"; + BtnZoom8000.Size = new Size(180, 37); + BtnZoom8000.TabIndex = 236; + BtnZoom8000.Text = "Zoom to 8000"; + BtnZoom8000.UseVisualStyleBackColor = false; + BtnZoom8000.Click += BtnZoom8000_Click; + // + // BtnZoomWide + // + BtnZoomWide.BackColor = Color.FromArgb(70, 65, 80); + BtnZoomWide.Enabled = false; + BtnZoomWide.FlatAppearance.BorderSize = 0; + BtnZoomWide.FlatStyle = FlatStyle.Flat; + BtnZoomWide.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + BtnZoomWide.ForeColor = SystemColors.Control; + BtnZoomWide.Location = new Point(12, 154); + BtnZoomWide.Margin = new Padding(4, 3, 4, 3); + BtnZoomWide.Name = "BtnZoomWide"; + BtnZoomWide.Size = new Size(180, 37); + BtnZoomWide.TabIndex = 235; + BtnZoomWide.Text = "Zoom Full Wide"; + BtnZoomWide.UseVisualStyleBackColor = false; + BtnZoomWide.Click += BtnZoomWide_Click; + // + // TabSettings + // + TabSettings.BackColor = Color.FromArgb(39, 37, 55); + TabSettings.Controls.Add(BtnAdminStart); + TabSettings.Controls.Add(BtnFirewall); + TabSettings.Controls.Add(PanelSettings); + TabSettings.Location = new Point(4, 24); + TabSettings.Name = "TabSettings"; + TabSettings.Padding = new Padding(3); + TabSettings.Size = new Size(411, 806); + TabSettings.TabIndex = 3; + TabSettings.Text = "Settings"; + // + // BtnAdminStart + // + BtnAdminStart.BackColor = Color.FromArgb(70, 65, 80); + BtnAdminStart.FlatAppearance.BorderSize = 0; + BtnAdminStart.FlatStyle = FlatStyle.Flat; + BtnAdminStart.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + BtnAdminStart.ForeColor = SystemColors.Control; + BtnAdminStart.Location = new Point(210, 261); + BtnAdminStart.Margin = new Padding(4, 3, 4, 3); + BtnAdminStart.Name = "BtnAdminStart"; + BtnAdminStart.Size = new Size(181, 37); + BtnAdminStart.TabIndex = 241; + BtnAdminStart.Text = "Start in admin mode"; + BtnAdminStart.UseVisualStyleBackColor = false; + BtnAdminStart.Click += BtnAdminStart_Click; + // + // BtnFirewall + // + BtnFirewall.BackColor = Color.FromArgb(70, 65, 80); + BtnFirewall.FlatAppearance.BorderSize = 0; + BtnFirewall.FlatStyle = FlatStyle.Flat; + BtnFirewall.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + BtnFirewall.ForeColor = SystemColors.Control; + BtnFirewall.Location = new Point(19, 261); + BtnFirewall.Margin = new Padding(4, 3, 4, 3); + BtnFirewall.Name = "BtnFirewall"; + BtnFirewall.Size = new Size(181, 37); + BtnFirewall.TabIndex = 240; + BtnFirewall.Text = "Update Firewall"; + BtnFirewall.UseVisualStyleBackColor = false; + BtnFirewall.Click += BtnFirewall_Click; + // + // TabImages + // + TabImages.BackColor = Color.FromArgb(39, 37, 55); + TabImages.Controls.Add(LblIRImageF2); + TabImages.Controls.Add(LblIRImageF16); + TabImages.Controls.Add(PicBxIRF2); + TabImages.Controls.Add(PicBxIRF16); + TabImages.Controls.Add(PicBxOV); + TabImages.Controls.Add(LblOVImage); + TabImages.ForeColor = SystemColors.Control; + TabImages.Location = new Point(4, 24); + TabImages.Margin = new Padding(4, 3, 4, 3); + TabImages.Name = "TabImages"; + TabImages.Padding = new Padding(4, 3, 4, 3); + TabImages.Size = new Size(411, 806); + TabImages.TabIndex = 0; + TabImages.Text = "Images"; + // + // TabSoak + // + TabSoak.BackColor = Color.FromArgb(39, 37, 55); + TabSoak.Controls.Add(BtnFactoryDefault); + TabSoak.Controls.Add(SetGodModeAll); + TabSoak.Controls.Add(BtnUploadBlob); + TabSoak.Controls.Add(CkBxTickAll); + TabSoak.Controls.Add(BtnSoak); + TabSoak.Controls.Add(BtnSetAll211); + TabSoak.Location = new Point(4, 24); + TabSoak.Name = "TabSoak"; + TabSoak.Size = new Size(411, 806); + TabSoak.TabIndex = 2; + TabSoak.Text = "Soak"; + // + // SetGodModeAll + // + SetGodModeAll.BackColor = Color.FromArgb(70, 65, 80); + SetGodModeAll.Enabled = false; + SetGodModeAll.FlatAppearance.BorderColor = Color.FromArgb(70, 65, 80); + SetGodModeAll.FlatAppearance.BorderSize = 0; + SetGodModeAll.FlatStyle = FlatStyle.Flat; + SetGodModeAll.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + SetGodModeAll.ForeColor = SystemColors.Control; + SetGodModeAll.Location = new Point(222, 154); + SetGodModeAll.Margin = new Padding(4, 3, 4, 3); + SetGodModeAll.Name = "SetGodModeAll"; + SetGodModeAll.Size = new Size(181, 49); + SetGodModeAll.TabIndex = 241; + SetGodModeAll.Text = "Set God Mode Off"; + SetGodModeAll.UseVisualStyleBackColor = false; + SetGodModeAll.Click += SetGodModeAll_Click; + // + // BtnUploadBlob + // + BtnUploadBlob.BackColor = Color.FromArgb(70, 65, 80); + BtnUploadBlob.Enabled = false; + BtnUploadBlob.FlatAppearance.BorderColor = Color.FromArgb(70, 65, 80); + BtnUploadBlob.FlatAppearance.BorderSize = 0; + BtnUploadBlob.FlatStyle = FlatStyle.Flat; + BtnUploadBlob.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + BtnUploadBlob.ForeColor = SystemColors.Control; + BtnUploadBlob.Location = new Point(222, 99); + BtnUploadBlob.Margin = new Padding(4, 3, 4, 3); + BtnUploadBlob.Name = "BtnUploadBlob"; + BtnUploadBlob.Size = new Size(181, 49); + BtnUploadBlob.TabIndex = 240; + BtnUploadBlob.Text = "Upload Flexi Blob"; + BtnUploadBlob.UseVisualStyleBackColor = false; + BtnUploadBlob.Click += BtnUploadBlob_Click; + // + // CkBxTickAll + // + CkBxTickAll.AutoSize = true; + CkBxTickAll.ForeColor = SystemColors.Control; + CkBxTickAll.Location = new Point(222, 74); + CkBxTickAll.Name = "CkBxTickAll"; + CkBxTickAll.Size = new Size(75, 19); + CkBxTickAll.TabIndex = 239; + CkBxTickAll.Text = "Untick all"; + CkBxTickAll.UseVisualStyleBackColor = true; + CkBxTickAll.CheckedChanged += CkBxTickAll_CheckedChanged; + // + // BtnSoak + // + BtnSoak.BackColor = Color.FromArgb(70, 65, 80); + BtnSoak.FlatAppearance.BorderColor = Color.FromArgb(70, 65, 80); + BtnSoak.FlatAppearance.BorderSize = 0; + BtnSoak.FlatStyle = FlatStyle.Flat; + BtnSoak.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + BtnSoak.ForeColor = SystemColors.Control; + BtnSoak.Location = new Point(12, 17); + BtnSoak.Margin = new Padding(4, 3, 4, 3); + BtnSoak.Name = "BtnSoak"; + BtnSoak.Size = new Size(181, 49); + BtnSoak.TabIndex = 238; + BtnSoak.Text = "Start Soak"; + BtnSoak.UseVisualStyleBackColor = false; + BtnSoak.Click += BtnSoak_Click; + // + // ToolTipAvailable + // + ToolTipAvailable.AutoPopDelay = 2000; + ToolTipAvailable.BackColor = Color.FromArgb(70, 65, 80); + ToolTipAvailable.ForeColor = SystemColors.Control; + ToolTipAvailable.InitialDelay = 0; + ToolTipAvailable.ReshowDelay = 0; + // + // LblGUIVers + // + LblGUIVers.BackColor = Color.Transparent; + LblGUIVers.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + LblGUIVers.ForeColor = SystemColors.Control; + LblGUIVers.Location = new Point(528, 18); + LblGUIVers.Margin = new Padding(4, 0, 4, 0); + LblGUIVers.Name = "LblGUIVers"; + LblGUIVers.Size = new Size(91, 23); + LblGUIVers.TabIndex = 240; + LblGUIVers.Text = "GUI V"; + // + // timerTypeIP + // + timerTypeIP.Interval = 2000; + timerTypeIP.Tick += timerTypeIP_Tick; + // + // BtnFactoryDefault + // + BtnFactoryDefault.BackColor = Color.FromArgb(70, 65, 80); + BtnFactoryDefault.Enabled = false; + BtnFactoryDefault.FlatAppearance.BorderColor = Color.FromArgb(70, 65, 80); + BtnFactoryDefault.FlatAppearance.BorderSize = 0; + BtnFactoryDefault.FlatStyle = FlatStyle.Flat; + BtnFactoryDefault.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold); + BtnFactoryDefault.ForeColor = SystemColors.Control; + BtnFactoryDefault.Location = new Point(222, 209); + BtnFactoryDefault.Margin = new Padding(4, 3, 4, 3); + BtnFactoryDefault.Name = "BtnFactoryDefault"; + BtnFactoryDefault.Size = new Size(181, 49); + BtnFactoryDefault.TabIndex = 242; + BtnFactoryDefault.Text = "Set Modules to Factory Defaults"; + BtnFactoryDefault.UseVisualStyleBackColor = false; + BtnFactoryDefault.Click += BtnFactoryDefault_Click; + // + // MainForm + // + AutoScaleDimensions = new SizeF(7F, 15F); + AutoScaleMode = AutoScaleMode.Font; + BackgroundImage = Properties.Resources.homepage_banner; + ClientSize = new Size(932, 970); + Controls.Add(LblGUIVers); + Controls.Add(BtnOpenWebpage); + Controls.Add(TabImagesandSettings); + Controls.Add(PicBxMAV); + Controls.Add(PicBxAiQ); + Controls.Add(PnlLbls); + Controls.Add(PnlInputValue); + Controls.Add(PnlQuestion); + Controls.Add(LblActions); + Controls.Add(CbBxCameraType); + Controls.Add(CbBxUserName); + Controls.Add(BtnPreTest); + Controls.Add(BtnFindCams); + Controls.Add(BtnStartTest); + Controls.Add(CbBxFoundCams); + Controls.Add(BtnTest); + Controls.Add(RhTxBxActions); + Controls.Add(BtnRestart); + Controls.Add(BtnMin); + Controls.Add(BtnClose); + FormBorderStyle = FormBorderStyle.None; + Icon = (Icon)resources.GetObject("$this.Icon"); + Margin = new Padding(4, 3, 4, 3); + Name = "MainForm"; + Text = "AiQ GUI"; + Load += AiQGUI_Load; + Shown += MainForm_Shown; + MouseDown += Form1_MouseDown; + ((System.ComponentModel.ISupportInitialize)PicBxMAV).EndInit(); + ((System.ComponentModel.ISupportInitialize)PicBxAiQ).EndInit(); + ((System.ComponentModel.ISupportInitialize)PicBxIRF2).EndInit(); + ((System.ComponentModel.ISupportInitialize)PicBxIRF16).EndInit(); + ((System.ComponentModel.ISupportInitialize)PicBxOV).EndInit(); + PanelSettings.ResumeLayout(false); + PanelSettings.PerformLayout(); + PnlQuestion.ResumeLayout(false); + PnlInputValue.ResumeLayout(false); + PnlInputValue.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)RMANumBox).EndInit(); + PnlLbls.ResumeLayout(false); + TabImagesandSettings.ResumeLayout(false); + TabControls.ResumeLayout(false); + groupBox4.ResumeLayout(false); + groupBox4.PerformLayout(); + groupBox3.ResumeLayout(false); + groupBox3.PerformLayout(); + groupBox2.ResumeLayout(false); + groupBox2.PerformLayout(); + groupBox1.ResumeLayout(false); + TabSettings.ResumeLayout(false); + TabImages.ResumeLayout(false); + TabImages.PerformLayout(); + TabSoak.ResumeLayout(false); + TabSoak.PerformLayout(); + ResumeLayout(false); + PerformLayout(); + + } + + #endregion + private System.Windows.Forms.Button BtnStartTest; + private System.Windows.Forms.Button BtnFindCams; + private System.Windows.Forms.ComboBox CbBxFoundCams; + private System.Windows.Forms.Button BtnRestart; + private System.Windows.Forms.Button BtnMin; + private System.Windows.Forms.Button BtnClose; + private System.Windows.Forms.PictureBox PicBxMAV; + private System.Windows.Forms.PictureBox PicBxAiQ; + private System.Windows.Forms.Label lblFlexiVer; + private System.Windows.Forms.Label lblFlexiRev; + private System.Windows.Forms.Label lblMac; + private System.Windows.Forms.Label lbltimestamp; + private System.Windows.Forms.Label lblSerial; + private System.Windows.Forms.Label lblModel; + private System.Windows.Forms.Label lblLic; + private System.Windows.Forms.Label lblVaxtor; + private System.Windows.Forms.Label lblTemp; + private System.Windows.Forms.Label lblTrim; + private System.Windows.Forms.Label lblZoomLock; + private System.Windows.Forms.Label LblLEDI; + private System.Windows.Forms.Label LblLEDV; + private System.Windows.Forms.ComboBox CbBxCameraType; + private System.Windows.Forms.Button BtnPreTest; + private System.Windows.Forms.RichTextBox RhTxBxActions; + private System.Windows.Forms.Label LblOVModule; + private System.Windows.Forms.Label LblIRModule; + private System.Windows.Forms.Button BtnTest; + private System.Windows.Forms.PictureBox PicBxIRF2; + private System.Windows.Forms.Label LblIRImageF2; + private System.Windows.Forms.PictureBox PicBxIRF16; + private System.Windows.Forms.PictureBox PicBxOV; + private System.Windows.Forms.Label LblOVImage; + private System.Windows.Forms.Label LblActions; + private System.Windows.Forms.Panel PanelSettings; + public System.Windows.Forms.TextBox TxBxPsuIP; + private System.Windows.Forms.Label lblPowerIP; + private System.Windows.Forms.Label label2; + public System.Windows.Forms.TextBox TxBxTestTubeIP; + private System.Windows.Forms.Button BtnCancel; + private System.Windows.Forms.Button BtnSave; + public System.Windows.Forms.TextBox TxBxEzIP; + private System.Windows.Forms.Label lblZebraIP; + public System.Windows.Forms.TextBox TxBxZebraIP; + private System.Windows.Forms.Label lblEzIP; + private System.Windows.Forms.Panel PnlQuestion; + private System.Windows.Forms.Button BtnNo; + private System.Windows.Forms.Button BtnYes; + private System.Windows.Forms.Label LblQuestion; + private System.Windows.Forms.Label label16; + private System.Windows.Forms.Button BtnPrintGB; + private System.Windows.Forms.Button BtnPrintAiQ; + private System.Windows.Forms.TextBox TxBxSerialPrint; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Button BtnSecret; + private System.Windows.Forms.Button BtnSecretMan; + private System.Windows.Forms.TextBox TxBxMAC; + private System.Windows.Forms.Button BtnRefreshUnix; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.TextBox TxBxUnixTime; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.TextBox TxBxFlexiVer; + private System.Windows.Forms.Label label5; + private System.Windows.Forms.TextBox TxBxOutput; + private System.Windows.Forms.Label label9; + private System.Windows.Forms.Button BtnGenerate; + private System.Windows.Forms.TextBox TxBxChallenge; + private System.Windows.Forms.RichTextBox RhTxBxCode; + private System.Windows.Forms.Label label6; + private System.Windows.Forms.ComboBox CbBxType; + private System.Windows.Forms.Panel PnlInputValue; + private System.Windows.Forms.Button BtnDone; + private System.Windows.Forms.Label LblRMA; + private System.Windows.Forms.Button BtnDont; + private System.Windows.Forms.NumericUpDown RMANumBox; + private System.Windows.Forms.Button BtnEzOn; + private System.Windows.Forms.Panel PnlLbls; + private System.Windows.Forms.Button BtnOpenWebpage; + private System.Windows.Forms.Button BtnSet211; + private System.Windows.Forms.Label LblIRImageF16; + private System.Windows.Forms.ToolTip ToolTipClipboard; + private System.Windows.Forms.TabControl TabImagesandSettings; + private System.Windows.Forms.TabPage TabImages; + private System.Windows.Forms.TabPage TabControls; + private System.Windows.Forms.Label LblPSUPing; + private System.Windows.Forms.Label LblTestTubePing; + private System.Windows.Forms.Label LblZebraPing; + private System.Windows.Forms.Label LblEzPing; + private System.Windows.Forms.ToolTip ToolTipAvailable; + private System.Windows.Forms.Label LblCPUusage; + private System.Windows.Forms.Timer TimerDDC; + private System.Windows.Forms.Button BtnLicVaxtor; + private System.Windows.Forms.ComboBox CbBxShutter; + private System.Windows.Forms.ComboBox CbBxGain; + private System.Windows.Forms.ComboBox CbBxIris; + private System.Windows.Forms.Label label10; + private System.Windows.Forms.TextBox TxBxProductKey; + private System.Windows.Forms.Label LblFilesystemSize; + private Button BtnRerun; + private Label LblGUIVers; + private System.Windows.Forms.Timer timerTypeIP; + private Button BtnSetAll211; + public System.Windows.Forms.Timer TimerFlash; + private TabPage TabSoak; + private Button BtnSoak; + private CheckBox CkBxTickAll; + private TabPage TabSettings; + public Button btnPsuOff; + public Button btnPsuOn; + public Button BtnEzOff; + public Button btnPsu12V; + public Button btnPsu48V; + private Button BtnSetGodMode; + private GroupBox groupBox2; + private GroupBox groupBox1; + private GroupBox groupBox3; + private GroupBox groupBox4; + private Label LblDC; + public ComboBox CbBxUserName; + private Button BtnZoom8000; + private Button BtnZoomWide; + private Label LblRouter; + private Button BtnUploadBlob; + private Button BtnFirewall; + private Button BtnAdminStart; + private Button SetGodModeAll; + private Button BtnFactoryDefault; + } +} diff --git a/AiQ_GUI.cs b/AiQ_GUI.cs new file mode 100644 index 0000000..41e9e23 --- /dev/null +++ b/AiQ_GUI.cs @@ -0,0 +1,1846 @@ +using Newtonsoft.Json; +using System.ComponentModel; +using System.Diagnostics; +using System.Reflection; + +namespace AiQ_GUI +{ + public partial class MainForm : Form + { + // Classes + LocalDataStore localDataStore = new(); + Diags DiagsAPI = new(); + VaxtorLic VaxtorLicResp = new(); + Versions Vers = new(); + readonly Camera CamOnTest = new(); + SSHData sshData = new(); + + private List soakCameraList = []; + private List soakCtsList = []; + private List soakTasks = []; + + // Colours + public static readonly Color BtnColour = Color.FromArgb(70, 65, 80); + public static readonly Color TxBxColour = Color.FromArgb(53, 51, 64); + + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] + public static MainForm? Instance { get; private set; } + + public MainForm() + { + InitializeComponent(); + Instance = this; + } + + private async void AiQGUI_Load(object sender, EventArgs e) + { + Stopwatch stopwatch = Stopwatch.StartNew(); + + Task? closeProcessesTask = Windows.CloseProcesses(); // Fire and forget closing other apps + Windows.UpdateFirewall(); + Task UniDataTask = Task.Run(() => Access.ReadUniData()); // Get universal data + Task LDSWAIT = Task.Run(() => LDS.GetLDS()); // Get and deserialise LDS.json + Task guiVerTask = Task.Run(() => GUIUpdate.FindGUIVersion()); // Get GUI Version + + Network.Initialize("admin", "admin"); // Initialise HTTP client + + if (await Network.PingIP("8.8.8.8")) // Ping to check if we're online + { + if (!GoogleAPI.Setup()) + AddToActionsList("Cannot setup Google API"); + } + else + { + Flags.Offline = true; + BtnStartTest.Text = "Offline Mode"; + } + + GUIUpdate.GUIVerShort = await guiVerTask; // Guess the GUI version will be first to finish + this.Name = "AiQ GUI V" + GUIUpdate.GUIVerShort; + LblGUIVers.Text += GUIUpdate.GUIVerShort; + await UniDataTask; // Have to wait for expected GUI version to compare to. + Task modelListTask = Task.Run(() => Access.ReadCamTypes());// Get all model numbers + GUIUpdate.UpdateGUI(); // Check if a GUI update is available + + string[] ArrayOfModels = await modelListTask; + if (ArrayOfModels != null) // Returns null if no models found or file doesn't exists + CbBxCameraType.Items.AddRange(await modelListTask); // Fill in the model number drop down + + // Load local data store + localDataStore = await LDSWAIT; + Logging.LogMessage("Opening GUI"); // Done after LDS to make sure directory exists. + if (localDataStore == null) + { + AddToActionsList("Could not deserialise LDS.json please help!"); + return; + } + + Task CheckHWOnline = PingCheck(); // Async check all hardware is online + PopulateUIWithLDS(localDataStore); // Update fields that depend on LDS + CbBxCameraType.Text = localDataStore.LastModel; // Set last model that was tested into combobox + + BtnSave.BackColor = BtnSave.Enabled ? Color.ForestGreen : BtnSave.BackColor; // Sets the colour of the save button depending on if it is enabled. + BtnRefreshUnix_Click(sender, e); // Reset timestamp + + if (RegexCache.FlexiVerRegex().IsMatch(UniversalData.ExpFlexiVer)) // Update Flexi version from universal data + TxBxFlexiVer.Text = UniversalData.ExpFlexiVer; + + await CheckHWOnline; + Flags.Start = false; + + stopwatch.Stop(); + Debug.WriteLine("RunTime " + stopwatch.Elapsed.ToString(@"hh\:mm\:ss\.ff")); + } + + private void PopulateUIWithLDS(LocalDataStore lds) + { + CbBxUserName.Text = lds.User; + TxBxPsuIP.Text = PSU.PSUIP = lds.PSUIP; + TxBxEzIP.Text = Ez.PoEPowerIP = lds.EzIP; + TxBxZebraIP.Text = Printer.ZebraIP = lds.ZebraIP; + TxBxTestTubeIP.Text = TestTube.TTPiPicoIP = lds.TestTubeIP; + CbBxShutter.SelectedIndex = lds.Shutter; + CbBxIris.SelectedIndex = lds.Iris; + CbBxGain.SelectedIndex = lds.Gain; + + if (lds.User == "Bradley") + BtnTest.Visible = true; + + TxBxCheckValid(TxBxPsuIP); // Set save button color if valid + } + + private async void MainForm_Shown(object sender, EventArgs e) // Done on show as all UI elements are loaded in properly for find cams to use + { + BtnFindCams_Click(sender, e); + CheckPrintCapable(); // Check if the print buttons can be enabled + TestStartConditions(); + + await Task.Delay(1000); // Delay for UI to catch up + + if (LblPSUPing.ForeColor == Color.ForestGreen) // Check state of PSU if it is connected. + Task.Run(() => PSU.DisplayState(PSU.PSUIP)); + } + + // ***** Test buttons ***** + private async void BtnStartTest_Click(object sender, EventArgs e) + { + // Show user test has started + BtnStartTest.BackColor = Color.Orange; + BtnStartTest.Text = "Test underway"; + BtnPreTest.Enabled = BtnStartTest.Enabled = false; // Disable buttons to stop user rnning multiple tests at the same time. + Logging.LogMessage("Final Test Started"); + + if (LblTestTubePing.Text == "❌") // No test tube so test like an IQ + { + string LEDreply = await FlexiAPI.APIHTTPLED(CamOnTest.IP, LEDPOWER.SAFE); // Set LED's to safe (0x0E) to help with eye safety and trim check. + + if (!LEDreply.Contains("Power levels set successfully")) + AddToActionsList($"LED level could not be set: {LEDreply}"); + } + else if (!await TestTube.CheckInTestTube(CamOnTest.IP)) // Sets LED's to medium power after checking it is in the test tube + await TestFailed(BtnStartTest, "Camera not in test tube"); + + Task VisCheck = Helper.VisualCheck(BtnStartTest); + + if (!await FlexiAPI.ZoomModules("1F40", CamOnTest.IP)) // Zoom to 8000 (1F40h) at the same time. + await TestFailed(BtnStartTest, "Could not zoom modules to 8000"); + + if (!await FlexiAPI.SetZoomLockOn(CamOnTest.IP)) + Helper.RestartApp(); + + await Task.Delay(1000); // Without sleep it kept failing the factory reset as camera modules were not ready yet + + await CameraModules.FactoryResetModules(CamOnTest.IP); // Reset both modules and double check + + string VISCAReply = await FlexiAPI.APIHTTPVISCA(CamOnTest.IP, "8101043903FF", true); // Manual mode to be able to manipulate the SIG settings. + if (VISCAReply != "9041FF9051FF") + AddToActionsList("Couldn't set to manual mode"); + + await CameraModules.SetSIG(CbBxShutter, CbBxIris, CbBxGain, CamOnTest.IP); // Set SIG according to the drop downs in settings for a good picture ready for image check + await ImageProcessing.ImageCheck(PicBxOV, PicBxIRF2, PicBxIRF16, LblIRImageF2, LblIRImageF16, CamOnTest); // Populates the picture boxes and checks iris changes + + await VisCheck; // Before changing UI elements wait for user to finish Visual check + + TabImagesandSettings.SelectedIndex = 2; // Swaps to the images tab + this.Refresh(); // Show user things are happening by displaying images taken + // TODO - Force expire sighting. + Task Wait = Task.Delay(5000); // Wait for 5 seconds to allow the camera to zoom in, set settings and capture some plates before auto trim + + // While waiting do the SSH tasks. + sshData = SSH.CollectSSHData(CamOnTest.IP); // SSH into camera to get Vaxtor packages, filesystem size and if tailscale is installed. + await SSH.CheckFSSize(CamOnTest.IP, LblFilesystemSize, sshData); // Check Filesystem size is between 100GB & 150GB + + Helper.DCPowerCheck(LblDC); // If the camera is DC powered check it is within limits + + if (CameraAccessInfo.HardwareExtras.Contains("4G")) // If it is a router camera then test the router. + { + LblRouter.Visible = true; + + if (Router.CheckRouter(Router.GetRouterInfo())) + LblRouter.Text += "OK"; + else + LblRouter.Text += "Error with router"; + } + + await Wait; // Finished to 5s wait + await SetTrim(); // Auto trims the cameras, some plates should have been captured in the meantime + + if (!await FlexiAPI.ZoomModules("0000", CamOnTest.IP)) // Zoom to full wide + await TestFailed(BtnStartTest, "Could not zoom modules to full wide"); + + await Task.Delay(1000); // Wait to be sure cameras are zoomed out. + + await CameraModules.FactoryResetModules(CamOnTest.IP); // Reset both modules and double check + + if (LblTestTubePing.Text == "❌") // Set LED's to MID in prep for diagnostics API + { + string LEDreply = await FlexiAPI.APIHTTPLED(CamOnTest.IP, LEDPOWER.MID); // Set LED's to medium (0x30) + + if (!LEDreply.Contains("Power levels set successfully")) + AddToActionsList($"LED level could not be set: {LEDreply}"); + } + + DateTime PCTime = DateTime.Now; // Grab PC time as close to the API as possible to pass onto PDF later + + await CheckDiagsAPIPt1(); // Requests, deserialises and checks the diagnostics API is correct + await CheckDiagsAPIPt2(); // For only final test parts + + // Check module has gone to default config + CameraModules.CheckCamModule(DiagsAPI.IRmodule, LblIRModule); // IR + CameraModules.CheckCamModule(DiagsAPI.OVmodule, LblOVModule); // OV + + // Check voltage and current are OK. + LED.CheckLEDs(DiagsAPI.LedVoltage, LblLEDV, "V", CameraAccessInfo.LED_V); // Voltage + 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