This commit is contained in:
2015-11-02 15:17:42 +01:00
parent dd56192670
commit e9c03ae0a7
@@ -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();