Fix power not being set
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user