Mostly EOL and LUT Management

This commit is contained in:
Roland Drabesch
2022-08-10 17:06:09 +02:00
parent f819392e7e
commit 0c3e28b8bd
24 changed files with 1116 additions and 241 deletions
+75 -115
View File
@@ -38,27 +38,22 @@
this.tmrProgressUpdate = new System.Windows.Forms.Timer(this.components);
this.tbxRegionRadio = new System.Windows.Forms.TextBox();
this.label8 = new System.Windows.Forms.Label();
this.tbxMeterFw = new System.Windows.Forms.TextBox();
this.tbxMeterMeterSize = new System.Windows.Forms.TextBox();
this.tbxMeterLutCrc = new System.Windows.Forms.TextBox();
this.label5 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.lblFwVersion = new System.Windows.Forms.Label();
this.cbForProd = new System.Windows.Forms.CheckBox();
this.btnOpenLutFile = new System.Windows.Forms.Button();
this.btnStore = new System.Windows.Forms.Button();
this.dgvLuts = new System.Windows.Forms.DataGridView();
this.FileId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.FileName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.FW = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.LUTCRC = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.MeterSize = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Region = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ForProd = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.Dele = new System.Windows.Forms.DataGridViewButtonColumn();
this.cordonelMetrologyLutBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.btnLoad = new System.Windows.Forms.Button();
this.tbxVersion = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.tbxDataLengt = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dgvLuts)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.cordonelMetrologyLutBindingSource)).BeginInit();
this.SuspendLayout();
//
// label7
@@ -108,7 +103,7 @@
//
// tbxRegionRadio
//
this.tbxRegionRadio.Location = new System.Drawing.Point(97, 151);
this.tbxRegionRadio.Location = new System.Drawing.Point(97, 128);
this.tbxRegionRadio.Name = "tbxRegionRadio";
this.tbxRegionRadio.ReadOnly = true;
this.tbxRegionRadio.Size = new System.Drawing.Size(144, 20);
@@ -117,23 +112,15 @@
// label8
//
this.label8.AutoSize = true;
this.label8.Location = new System.Drawing.Point(17, 158);
this.label8.Location = new System.Drawing.Point(17, 135);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(44, 13);
this.label8.TabIndex = 53;
this.label8.Text = "Region:";
//
// tbxMeterFw
//
this.tbxMeterFw.Location = new System.Drawing.Point(97, 73);
this.tbxMeterFw.Name = "tbxMeterFw";
this.tbxMeterFw.ReadOnly = true;
this.tbxMeterFw.Size = new System.Drawing.Size(144, 20);
this.tbxMeterFw.TabIndex = 51;
//
// tbxMeterMeterSize
//
this.tbxMeterMeterSize.Location = new System.Drawing.Point(97, 125);
this.tbxMeterMeterSize.Location = new System.Drawing.Point(97, 102);
this.tbxMeterMeterSize.Name = "tbxMeterMeterSize";
this.tbxMeterMeterSize.ReadOnly = true;
this.tbxMeterMeterSize.Size = new System.Drawing.Size(144, 20);
@@ -141,7 +128,7 @@
//
// tbxMeterLutCrc
//
this.tbxMeterLutCrc.Location = new System.Drawing.Point(97, 99);
this.tbxMeterLutCrc.Location = new System.Drawing.Point(97, 76);
this.tbxMeterLutCrc.Name = "tbxMeterLutCrc";
this.tbxMeterLutCrc.ReadOnly = true;
this.tbxMeterLutCrc.Size = new System.Drawing.Size(144, 20);
@@ -150,7 +137,7 @@
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(17, 132);
this.label5.Location = new System.Drawing.Point(17, 109);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(60, 13);
this.label5.TabIndex = 48;
@@ -159,32 +146,13 @@
// label6
//
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(17, 106);
this.label6.Location = new System.Drawing.Point(17, 83);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(56, 13);
this.label6.TabIndex = 47;
this.label6.Text = "LUT CRC:";
this.label6.Click += new System.EventHandler(this.label6_Click);
//
// lblFwVersion
//
this.lblFwVersion.AutoSize = true;
this.lblFwVersion.Location = new System.Drawing.Point(17, 80);
this.lblFwVersion.Name = "lblFwVersion";
this.lblFwVersion.Size = new System.Drawing.Size(27, 13);
this.lblFwVersion.TabIndex = 46;
this.lblFwVersion.Text = "FW:";
//
// cbForProd
//
this.cbForProd.AutoSize = true;
this.cbForProd.Location = new System.Drawing.Point(97, 203);
this.cbForProd.Name = "cbForProd";
this.cbForProd.Size = new System.Drawing.Size(95, 17);
this.cbForProd.TabIndex = 55;
this.cbForProd.Text = "For Production";
this.cbForProd.UseVisualStyleBackColor = true;
//
// btnOpenLutFile
//
this.btnOpenLutFile.Location = new System.Drawing.Point(260, 47);
@@ -209,16 +177,9 @@
//
this.dgvLuts.AllowUserToAddRows = false;
this.dgvLuts.AllowUserToDeleteRows = false;
this.dgvLuts.AutoGenerateColumns = false;
this.dgvLuts.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvLuts.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.FileId,
this.FileName,
this.FW,
this.LUTCRC,
this.MeterSize,
this.Region,
this.ForProd,
this.Dele});
this.dgvLuts.DataSource = this.cordonelMetrologyLutBindingSource;
this.dgvLuts.Location = new System.Drawing.Point(3, 378);
this.dgvLuts.Name = "dgvLuts";
this.dgvLuts.ReadOnly = true;
@@ -226,54 +187,6 @@
this.dgvLuts.Size = new System.Drawing.Size(775, 149);
this.dgvLuts.TabIndex = 58;
//
// FileId
//
this.FileId.HeaderText = "FileId";
this.FileId.Name = "FileId";
this.FileId.ReadOnly = true;
//
// FileName
//
this.FileName.HeaderText = "FileName";
this.FileName.Name = "FileName";
this.FileName.ReadOnly = true;
//
// FW
//
this.FW.HeaderText = "Fw";
this.FW.Name = "FW";
this.FW.ReadOnly = true;
//
// LUTCRC
//
this.LUTCRC.HeaderText = "LUT CRC";
this.LUTCRC.Name = "LUTCRC";
this.LUTCRC.ReadOnly = true;
//
// MeterSize
//
this.MeterSize.HeaderText = "MeterSize";
this.MeterSize.Name = "MeterSize";
this.MeterSize.ReadOnly = true;
//
// Region
//
this.Region.HeaderText = "Region";
this.Region.Name = "Region";
this.Region.ReadOnly = true;
//
// ForProd
//
this.ForProd.HeaderText = "ForProd";
this.ForProd.Name = "ForProd";
this.ForProd.ReadOnly = true;
//
// Dele
//
this.Dele.HeaderText = "Delete";
this.Dele.Name = "Dele";
this.Dele.ReadOnly = true;
//
// btnLoad
//
this.btnLoad.Location = new System.Drawing.Point(12, 344);
@@ -282,6 +195,41 @@
this.btnLoad.TabIndex = 59;
this.btnLoad.Text = "Load";
this.btnLoad.UseVisualStyleBackColor = true;
this.btnLoad.Click += new System.EventHandler(this.btnLoad_Click);
//
// tbxVersion
//
this.tbxVersion.Location = new System.Drawing.Point(97, 154);
this.tbxVersion.Name = "tbxVersion";
this.tbxVersion.ReadOnly = true;
this.tbxVersion.Size = new System.Drawing.Size(144, 20);
this.tbxVersion.TabIndex = 61;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(17, 161);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(45, 13);
this.label1.TabIndex = 60;
this.label1.Text = "Version:";
//
// tbxDataLengt
//
this.tbxDataLengt.Location = new System.Drawing.Point(97, 180);
this.tbxDataLengt.Name = "tbxDataLengt";
this.tbxDataLengt.ReadOnly = true;
this.tbxDataLengt.Size = new System.Drawing.Size(144, 20);
this.tbxDataLengt.TabIndex = 63;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(17, 187);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(66, 13);
this.label2.TabIndex = 62;
this.label2.Text = "Data Length";
//
// FrmLutManagement
//
@@ -289,21 +237,22 @@
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(784, 561);
this.Controls.Add(this.tbxDataLengt);
this.Controls.Add(this.label2);
this.Controls.Add(this.tbxVersion);
this.Controls.Add(this.label1);
this.Controls.Add(this.btnLoad);
this.Controls.Add(this.dgvLuts);
this.Controls.Add(this.btnStore);
this.Controls.Add(this.btnOpenLutFile);
this.Controls.Add(this.cbForProd);
this.Controls.Add(this.tbxRegionRadio);
this.Controls.Add(this.label8);
this.Controls.Add(this.tbxMeterFw);
this.Controls.Add(this.tbxMeterMeterSize);
this.Controls.Add(this.tbxLutFilePathName);
this.Controls.Add(this.label4);
this.Controls.Add(this.tbxMeterLutCrc);
this.Controls.Add(this.label5);
this.Controls.Add(this.label6);
this.Controls.Add(this.lblFwVersion);
this.Controls.Add(this.label7);
this.Controls.Add(this.pictureBox1);
this.MaximizeBox = false;
@@ -314,6 +263,7 @@
this.Text = "Metrology Lookup Table Managment";
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dgvLuts)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.cordonelMetrologyLutBindingSource)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
@@ -330,24 +280,34 @@
private System.Windows.Forms.Timer tmrProgressUpdate;
private System.Windows.Forms.TextBox tbxRegionRadio;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.TextBox tbxMeterFw;
private System.Windows.Forms.TextBox tbxMeterMeterSize;
private System.Windows.Forms.TextBox tbxMeterLutCrc;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label lblFwVersion;
private System.Windows.Forms.CheckBox cbForProd;
private System.Windows.Forms.Button btnOpenLutFile;
private System.Windows.Forms.Button btnStore;
private System.Windows.Forms.DataGridView dgvLuts;
private System.Windows.Forms.DataGridViewTextBoxColumn FileId;
private System.Windows.Forms.DataGridViewTextBoxColumn FileName;
private System.Windows.Forms.DataGridViewTextBoxColumn FW;
private System.Windows.Forms.DataGridViewTextBoxColumn LUTCRC;
private System.Windows.Forms.DataGridViewTextBoxColumn MeterSize;
private System.Windows.Forms.DataGridViewTextBoxColumn Region;
private System.Windows.Forms.DataGridViewCheckBoxColumn ForProd;
private System.Windows.Forms.DataGridViewButtonColumn Dele;
private System.Windows.Forms.Button btnLoad;
private System.Windows.Forms.TextBox tbxVersion;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox tbxDataLengt;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.DataGridViewTextBoxColumn fileIdDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn fileNameDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn meterSizeDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn regionDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn cRCDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewCheckBoxColumn forProductionDataGridViewCheckBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn idDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
private System.Windows.Forms.DataGridViewTextBoxColumn fileCrcDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn dataLengthDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn versionDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewCheckBoxColumn currentVerionForProdDataGridViewCheckBoxColumn;
private System.Windows.Forms.DataGridViewImageColumn fileContentDataGridViewImageColumn;
private System.Windows.Forms.BindingSource cordonelMetrologyLutBindingSource;
}
}