switched to Stopwatch for timers for more reliability

This commit is contained in:
nikzori
2025-03-06 10:16:30 +03:00
parent 80bf64b7d5
commit e00e96bea7
5 changed files with 235 additions and 91 deletions

10
Datasheet.Designer.cs generated
View File

@@ -60,6 +60,7 @@
this.firmwarePathLabel = new System.Windows.Forms.Label();
this.WriteFirmware = new System.Windows.Forms.Button();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.firmwareProgressBar = new System.Windows.Forms.ProgressBar();
this.groupBox1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.nudModbusID)).BeginInit();
this.groupBox2.SuspendLayout();
@@ -371,6 +372,7 @@
//
// groupBox3
//
this.groupBox3.Controls.Add(this.firmwareProgressBar);
this.groupBox3.Controls.Add(this.BrowseFirmware);
this.groupBox3.Controls.Add(this.WriteFirmware);
this.groupBox3.Controls.Add(this.label11);
@@ -382,6 +384,13 @@
this.groupBox3.TabStop = false;
this.groupBox3.Text = "Прошивка";
//
// firmwareProgressBar
//
this.firmwareProgressBar.Location = new System.Drawing.Point(176, 38);
this.firmwareProgressBar.Name = "firmwareProgressBar";
this.firmwareProgressBar.Size = new System.Drawing.Size(330, 23);
this.firmwareProgressBar.TabIndex = 19;
//
// Datasheet
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@@ -442,5 +451,6 @@
private System.Windows.Forms.Label firmwarePathLabel;
private System.Windows.Forms.Button WriteFirmware;
private System.Windows.Forms.GroupBox groupBox3;
private System.Windows.Forms.ProgressBar firmwareProgressBar;
}
}