Reset ergometer after start session

This commit is contained in:
2015-11-01 17:23:45 +01:00
parent f2324d88ae
commit 31ca462666
2 changed files with 5 additions and 2 deletions
@@ -108,6 +108,9 @@ namespace ErgometerApplication
panelClientContainer.BringToFront();
chat = panelClientChat;
ergotest = new ErgometerTest(gewicht, lengte, leeftijd, geslacht);
MainClient.ComPort.Write("RS");
MainClient.ComPort.Read();
Thread.Sleep(200);
updateTimer.Start();
}
@@ -180,7 +180,7 @@ namespace ErgometerApplication
this.lblLengte.Name = "lblLengte";
this.lblLengte.Size = new System.Drawing.Size(128, 21);
this.lblLengte.TabIndex = 1;
this.lblLengte.Text = "Lengte";
this.lblLengte.Text = "Lengte (cm)";
//
// lblPassword
//
@@ -191,7 +191,7 @@ namespace ErgometerApplication
this.lblGewicht.Name = "lblPassword";
this.lblGewicht.Size = new System.Drawing.Size(103, 21);
this.lblGewicht.TabIndex = 0;
this.lblGewicht.Text = "Gewicht";
this.lblGewicht.Text = "Gewicht (kg)";
((System.ComponentModel.ISupportInitialize)(this.pictureBoxBike)).EndInit();
}