Fix uitleg netcommand

This commit is contained in:
2015-11-02 13:05:54 +01:00
parent fc1d9a8fa0
commit baf1171f4e
2 changed files with 5 additions and 0 deletions
@@ -83,6 +83,8 @@ namespace ErgometerLibrary
Type = CommandType.UITLEG; Type = CommandType.UITLEG;
Session = session; Session = session;
Timestamp = Helper.Now; Timestamp = Helper.Now;
UitlegText = uitlegtext;
} }
//SESSIONDATA //SESSIONDATA
@@ -82,6 +82,9 @@ namespace ErgometerServer
case NetCommand.CommandType.UITLEG: case NetCommand.CommandType.UITLEG:
server.SendToDoctor(input); server.SendToDoctor(input);
break; break;
case NetCommand.CommandType.TESTRESULT:
FileHandler.SaveTestResult(input, session);
break;
case NetCommand.CommandType.DATA: case NetCommand.CommandType.DATA:
if (loggedin) if (loggedin)
{ {