Bugfixes
This commit is contained in:
@@ -8,7 +8,6 @@ namespace ErgometerSimulator
|
|||||||
{
|
{
|
||||||
class CommandParser
|
class CommandParser
|
||||||
{
|
{
|
||||||
private Random rand = new Random();
|
|
||||||
private DataGenerator dg;
|
private DataGenerator dg;
|
||||||
|
|
||||||
public CommandParser(DataGenerator dg)
|
public CommandParser(DataGenerator dg)
|
||||||
@@ -23,6 +22,7 @@ namespace ErgometerSimulator
|
|||||||
switch(input)
|
switch(input)
|
||||||
{
|
{
|
||||||
case "CM":
|
case "CM":
|
||||||
|
break;
|
||||||
case "RS":
|
case "RS":
|
||||||
response = "ACK";
|
response = "ACK";
|
||||||
dg.Reset();
|
dg.Reset();
|
||||||
|
|||||||
Reference in New Issue
Block a user