GTB 2.2.2:

FwUpdate can upload entire 0\\config file
This commit is contained in:
Thomas Wiedebusch
2022-04-26 16:32:15 +02:00
parent 7a197a6793
commit e8ec68dee1
18 changed files with 487 additions and 202 deletions
+75 -32
View File
@@ -37,8 +37,10 @@
this.label2 = new System.Windows.Forms.Label();
this.cbComSlot = new System.Windows.Forms.ComboBox();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.groupBox5 = new System.Windows.Forms.GroupBox();
this.btnUploadConfig = new System.Windows.Forms.Button();
this.groupBox4 = new System.Windows.Forms.GroupBox();
this.button1 = new System.Windows.Forms.Button();
this.btnClearDisplay = new System.Windows.Forms.Button();
this.lblUpdateTime = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.lblWaitingForMeterResponse = new System.Windows.Forms.Label();
@@ -63,6 +65,7 @@
this.lblActualProcess = new System.Windows.Forms.Label();
this.barOverallProgressUpdate = new System.Windows.Forms.ProgressBar();
this.gridViewApplic = new System.Windows.Forms.DataGridView();
this.cbxStoreConfigEnable = new System.Windows.Forms.CheckBox();
this.gbxSetup = new System.Windows.Forms.GroupBox();
this.cbxConsecutiveFilePartsRetryEnable = new System.Windows.Forms.CheckBox();
this.label6 = new System.Windows.Forms.Label();
@@ -76,7 +79,6 @@
this.lblFwUpdateInfo = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
this.tabFwSources = new System.Windows.Forms.TabControl();
this.tabLocalFile = new System.Windows.Forms.TabPage();
this.groupBox1 = new System.Windows.Forms.GroupBox();
@@ -106,8 +108,10 @@
this.label11 = new System.Windows.Forms.Label();
this.cbxFilterFWType = new System.Windows.Forms.ComboBox();
this.chbFilterIsDeveloper = new System.Windows.Forms.CheckBox();
this.saveConfigFile = new System.Windows.Forms.SaveFileDialog();
this.grpSetup.SuspendLayout();
this.groupBox2.SuspendLayout();
this.groupBox5.SuspendLayout();
this.groupBox4.SuspendLayout();
this.gbxManualTimingControl.SuspendLayout();
this.gbxManualTriggerControl.SuspendLayout();
@@ -220,6 +224,7 @@
//
// groupBox2
//
this.groupBox2.Controls.Add(this.groupBox5);
this.groupBox2.Controls.Add(this.groupBox4);
this.groupBox2.Controls.Add(this.lblUpdateTime);
this.groupBox2.Controls.Add(this.label9);
@@ -243,25 +248,45 @@
this.groupBox2.TabStop = false;
this.groupBox2.Text = "Applications ";
//
// groupBox5
//
this.groupBox5.Controls.Add(this.btnUploadConfig);
this.groupBox5.Location = new System.Drawing.Point(944, 308);
this.groupBox5.Name = "groupBox5";
this.groupBox5.Size = new System.Drawing.Size(128, 50);
this.groupBox5.TabIndex = 22;
this.groupBox5.TabStop = false;
this.groupBox5.Text = "Configuration File";
//
// btnUploadConfig
//
this.btnUploadConfig.Location = new System.Drawing.Point(6, 19);
this.btnUploadConfig.Name = "btnUploadConfig";
this.btnUploadConfig.Size = new System.Drawing.Size(116, 25);
this.btnUploadConfig.TabIndex = 11;
this.btnUploadConfig.Text = "Upload Config";
this.btnUploadConfig.UseVisualStyleBackColor = true;
this.btnUploadConfig.Click += new System.EventHandler(this.btnUploadConfig_Click);
//
// groupBox4
//
this.groupBox4.Controls.Add(this.button1);
this.groupBox4.Location = new System.Drawing.Point(950, 414);
this.groupBox4.Controls.Add(this.btnClearDisplay);
this.groupBox4.Location = new System.Drawing.Point(946, 413);
this.groupBox4.Name = "groupBox4";
this.groupBox4.Size = new System.Drawing.Size(126, 49);
this.groupBox4.TabIndex = 21;
this.groupBox4.TabStop = false;
this.groupBox4.Text = "Display";
//
// button1
// btnClearDisplay
//
this.button1.Location = new System.Drawing.Point(5, 19);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(116, 25);
this.button1.TabIndex = 0;
this.button1.Text = "Clear Display";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
this.btnClearDisplay.Location = new System.Drawing.Point(5, 19);
this.btnClearDisplay.Name = "btnClearDisplay";
this.btnClearDisplay.Size = new System.Drawing.Size(116, 25);
this.btnClearDisplay.TabIndex = 0;
this.btnClearDisplay.Text = "Clear Display";
this.btnClearDisplay.UseVisualStyleBackColor = true;
this.btnClearDisplay.Click += new System.EventHandler(this.btnClearDisplay_Click);
//
// lblUpdateTime
//
@@ -296,7 +321,7 @@
this.gbxManualTimingControl.Controls.Add(this.label8);
this.gbxManualTimingControl.Controls.Add(this.cbAddRetryTimeout);
this.gbxManualTimingControl.Controls.Add(this.label7);
this.gbxManualTimingControl.Location = new System.Drawing.Point(944, 238);
this.gbxManualTimingControl.Location = new System.Drawing.Point(944, 235);
this.gbxManualTimingControl.Name = "gbxManualTimingControl";
this.gbxManualTimingControl.Size = new System.Drawing.Size(128, 69);
this.gbxManualTimingControl.TabIndex = 17;
@@ -365,7 +390,7 @@
//
this.gbxManualTriggerControl.Controls.Add(this.btnTriggerUpdate);
this.gbxManualTriggerControl.Controls.Add(this.btnPrepareTrigger);
this.gbxManualTriggerControl.Location = new System.Drawing.Point(944, 150);
this.gbxManualTriggerControl.Location = new System.Drawing.Point(944, 147);
this.gbxManualTriggerControl.Name = "gbxManualTriggerControl";
this.gbxManualTriggerControl.Size = new System.Drawing.Size(128, 88);
this.gbxManualTriggerControl.TabIndex = 16;
@@ -395,7 +420,7 @@
// gbxManualUploadAndVerification
//
this.gbxManualUploadAndVerification.Controls.Add(this.btnVerifyFiles);
this.gbxManualUploadAndVerification.Location = new System.Drawing.Point(944, 100);
this.gbxManualUploadAndVerification.Location = new System.Drawing.Point(944, 95);
this.gbxManualUploadAndVerification.Name = "gbxManualUploadAndVerification";
this.gbxManualUploadAndVerification.Size = new System.Drawing.Size(128, 50);
this.gbxManualUploadAndVerification.TabIndex = 15;
@@ -416,7 +441,7 @@
//
this.gbxManualDownload.Controls.Add(this.btnRetryFileParts);
this.gbxManualDownload.Controls.Add(this.btnDownloadFiles);
this.gbxManualDownload.Location = new System.Drawing.Point(944, 19);
this.gbxManualDownload.Location = new System.Drawing.Point(944, 13);
this.gbxManualDownload.Name = "gbxManualDownload";
this.gbxManualDownload.Size = new System.Drawing.Size(128, 81);
this.gbxManualDownload.TabIndex = 13;
@@ -446,7 +471,7 @@
// groupBox3
//
this.groupBox3.Controls.Add(this.btnUpdateFw);
this.groupBox3.Location = new System.Drawing.Point(949, 358);
this.groupBox3.Location = new System.Drawing.Point(945, 358);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(126, 49);
this.groupBox3.TabIndex = 12;
@@ -513,17 +538,31 @@
this.gridViewApplic.TabIndex = 2;
this.gridViewApplic.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.gridViewApplic_CellClick);
//
// cbxStoreConfigEnable
//
this.cbxStoreConfigEnable.AutoSize = true;
this.cbxStoreConfigEnable.Checked = true;
this.cbxStoreConfigEnable.CheckState = System.Windows.Forms.CheckState.Checked;
this.cbxStoreConfigEnable.Location = new System.Drawing.Point(6, 22);
this.cbxStoreConfigEnable.Name = "cbxStoreConfigEnable";
this.cbxStoreConfigEnable.Size = new System.Drawing.Size(121, 17);
this.cbxStoreConfigEnable.TabIndex = 22;
this.cbxStoreConfigEnable.Text = "Store Configurations";
this.cbxStoreConfigEnable.UseVisualStyleBackColor = true;
this.cbxStoreConfigEnable.CheckedChanged += new System.EventHandler(this.cbxStoreConfigEnable_CheckedChanged);
//
// gbxSetup
//
this.gbxSetup.Controls.Add(this.cbxStoreConfigEnable);
this.gbxSetup.Controls.Add(this.cbxConsecutiveFilePartsRetryEnable);
this.gbxSetup.Controls.Add(this.label6);
this.gbxSetup.Controls.Add(this.label5);
this.gbxSetup.Controls.Add(this.cbFilePartSize);
this.gbxSetup.Controls.Add(this.cbxSingleFilePartsRetryEnable);
this.gbxSetup.Controls.Add(this.cbxManualControl);
this.gbxSetup.Location = new System.Drawing.Point(915, 90);
this.gbxSetup.Location = new System.Drawing.Point(924, 59);
this.gbxSetup.Name = "gbxSetup";
this.gbxSetup.Size = new System.Drawing.Size(165, 119);
this.gbxSetup.Size = new System.Drawing.Size(165, 150);
this.gbxSetup.TabIndex = 20;
this.gbxSetup.TabStop = false;
this.gbxSetup.Text = "Setup";
@@ -531,7 +570,7 @@
// cbxConsecutiveFilePartsRetryEnable
//
this.cbxConsecutiveFilePartsRetryEnable.AutoSize = true;
this.cbxConsecutiveFilePartsRetryEnable.Location = new System.Drawing.Point(6, 69);
this.cbxConsecutiveFilePartsRetryEnable.Location = new System.Drawing.Point(6, 97);
this.cbxConsecutiveFilePartsRetryEnable.Name = "cbxConsecutiveFilePartsRetryEnable";
this.cbxConsecutiveFilePartsRetryEnable.Size = new System.Drawing.Size(159, 17);
this.cbxConsecutiveFilePartsRetryEnable.TabIndex = 23;
@@ -542,7 +581,7 @@
// label6
//
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(127, 93);
this.label6.Location = new System.Drawing.Point(127, 121);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(26, 13);
this.label6.TabIndex = 22;
@@ -551,7 +590,7 @@
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(3, 95);
this.label5.Location = new System.Drawing.Point(3, 123);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(73, 13);
this.label5.TabIndex = 21;
@@ -568,7 +607,7 @@
"16",
"32",
"64"});
this.cbFilePartSize.Location = new System.Drawing.Point(82, 91);
this.cbFilePartSize.Location = new System.Drawing.Point(82, 119);
this.cbFilePartSize.Name = "cbFilePartSize";
this.cbFilePartSize.Size = new System.Drawing.Size(44, 21);
this.cbFilePartSize.TabIndex = 20;
@@ -579,7 +618,7 @@
this.cbxSingleFilePartsRetryEnable.AutoSize = true;
this.cbxSingleFilePartsRetryEnable.Checked = true;
this.cbxSingleFilePartsRetryEnable.CheckState = System.Windows.Forms.CheckState.Checked;
this.cbxSingleFilePartsRetryEnable.Location = new System.Drawing.Point(6, 44);
this.cbxSingleFilePartsRetryEnable.Location = new System.Drawing.Point(6, 72);
this.cbxSingleFilePartsRetryEnable.Name = "cbxSingleFilePartsRetryEnable";
this.cbxSingleFilePartsRetryEnable.Size = new System.Drawing.Size(129, 17);
this.cbxSingleFilePartsRetryEnable.TabIndex = 19;
@@ -590,7 +629,7 @@
// cbxManualControl
//
this.cbxManualControl.AutoSize = true;
this.cbxManualControl.Location = new System.Drawing.Point(6, 19);
this.cbxManualControl.Location = new System.Drawing.Point(6, 47);
this.cbxManualControl.Name = "cbxManualControl";
this.cbxManualControl.Size = new System.Drawing.Size(135, 17);
this.cbxManualControl.TabIndex = 18;
@@ -630,16 +669,12 @@
// pictureBox1
//
this.pictureBox1.Image = global::Xylem.Common.Ui.GenesisToolBox.Properties.Resources.SensusLogoXylem;
this.pictureBox1.Location = new System.Drawing.Point(978, 30);
this.pictureBox1.Location = new System.Drawing.Point(986, 4);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(102, 54);
this.pictureBox1.TabIndex = 29;
this.pictureBox1.TabStop = false;
//
// openFileDialog1
//
this.openFileDialog1.FileName = "openFileDialog1";
//
// tabFwSources
//
this.tabFwSources.Controls.Add(this.tabLocalFile);
@@ -940,6 +975,10 @@
this.chbFilterIsDeveloper.Text = "For Developer";
this.chbFilterIsDeveloper.UseVisualStyleBackColor = true;
//
// saveConfigFile
//
this.saveConfigFile.Filter = "configuration file (*.hex)|*.hex";
//
// FrmFwUpdate
//
this.AccessibleRole = System.Windows.Forms.AccessibleRole.Sound;
@@ -961,6 +1000,7 @@
this.grpSetup.PerformLayout();
this.groupBox2.ResumeLayout(false);
this.groupBox2.PerformLayout();
this.groupBox5.ResumeLayout(false);
this.groupBox4.ResumeLayout(false);
this.gbxManualTimingControl.ResumeLayout(false);
this.gbxManualTimingControl.PerformLayout();
@@ -1028,7 +1068,6 @@
private System.Windows.Forms.Label label8;
private System.Windows.Forms.ComboBox cbAddRetryTimeout;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.OpenFileDialog openFileDialog1;
private System.Windows.Forms.Label lblWaitingForMeterResponse;
private System.Windows.Forms.Label lblCoreRevision;
private System.Windows.Forms.Label lblUpdateTime;
@@ -1062,8 +1101,12 @@
private System.Windows.Forms.Label label12;
private System.Windows.Forms.DataGridView dgvFiles;
private System.Windows.Forms.GroupBox groupBox4;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button btnClearDisplay;
private System.Windows.Forms.Label label13;
private System.Windows.Forms.Button btnFixBat;
private System.Windows.Forms.CheckBox cbxStoreConfigEnable;
private System.Windows.Forms.GroupBox groupBox5;
private System.Windows.Forms.Button btnUploadConfig;
private System.Windows.Forms.SaveFileDialog saveConfigFile;
}
}