Fix power not being set

This commit is contained in:
2015-11-01 22:16:05 +01:00
parent c43d9091f7
commit 71bff3dc73
2 changed files with 4 additions and 1 deletions
@@ -107,10 +107,12 @@ namespace ErgometerApplication
panelTopBar.Visible = true;
panelClientContainer.BringToFront();
chat = panelClientChat;
ergotest = new ErgometerTest(gewicht, lengte, leeftijd, geslacht, this);
MainClient.ComPort.Write("RS");
MainClient.ComPort.Read();
Thread.Sleep(200);
MainClient.ComPort.Write("CM");
MainClient.ComPort.Read();
ergotest = new ErgometerTest(gewicht, lengte, leeftijd, geslacht, this);
updateTimer.Start();
}
@@ -230,6 +230,7 @@ namespace ErgometerApplication
private static void ParseValueSet(NetCommand command)
{
return;
switch(command.Value)
{
case NetCommand.ValueType.DISTANCE: