This commit is contained in:
2015-11-02 14:43:35 +01:00
parent 3b28c2c5d1
commit a11aa08fae
@@ -82,6 +82,7 @@ namespace ErgometerApplication
currentstate = state.COOLINGDOWN;
MainClient.SwitchTestModeAudio();
client.updateStepsText("Uw hartslag heeft het kritieke punt bereikt, we beginnen nu aan de cooldown.");
MainClient.ComPort.Write("PW 25");
}
int pw = GetWorkloadPower(GetCurrentWorkload());
@@ -108,7 +109,6 @@ namespace ErgometerApplication
}
break;
case state.COOLINGDOWN:
MainClient.ComPort.Write("PW 25");
if(MainClient.GetLastMeting().Seconds - workloadStarted > 360)
{
currentstate = state.STOP;