Commit 1a524f01 by Stefan Schreistetter

Added debugFlag usage.

parent 978ec7d3
...@@ -3,50 +3,30 @@ ...@@ -3,50 +3,30 @@
<Class Name="GazeWebSocketServer.ConfigurationData"> <Class Name="GazeWebSocketServer.ConfigurationData">
<Position X="0.5" Y="2.25" Width="2" /> <Position X="0.5" Y="2.25" Width="2" />
<TypeIdentifier> <TypeIdentifier>
<HashCode>gEAAQAAAAAAAYAAAAAAAAAAQAAAgBAAAAAAAAAAAAAA=</HashCode> <HashCode>gEAAQAAAAAEAYAAAAAAAAAAQAAAgBAAAAAAAAAAAAAA=</HashCode>
<FileName>ConfigurationData.cs</FileName> <FileName>ConfigurationData.cs</FileName>
</TypeIdentifier> </TypeIdentifier>
</Class> </Class>
<Class Name="GazeWebSocketServer.EyeTrackerClient">
<Position X="6" Y="0.5" Width="1.75" />
<TypeIdentifier>
<HashCode>AAAAAAAAACAAAAAABAAAAAAEAQAAAAAAIAAAAAAAAAA=</HashCode>
<FileName>EyeTrackerClient.cs</FileName>
</TypeIdentifier>
<ShowAsAssociation>
<Field Name="gazeDataProcessor" />
</ShowAsAssociation>
</Class>
<Class Name="GazeWebSocketServer.GazeCoordinateBehavior"> <Class Name="GazeWebSocketServer.GazeCoordinateBehavior">
<Position X="2.5" Y="0.5" Width="2.25" /> <Position X="8.5" Y="0.75" Width="2.25" />
<TypeIdentifier> <TypeIdentifier>
<HashCode>AAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAgAAAAAAAAAA=</HashCode> <HashCode>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=</HashCode>
<FileName>GazeCoordinateBehavior.cs</FileName> <FileName>GazeCoordinateBehavior.cs</FileName>
</TypeIdentifier> </TypeIdentifier>
<ShowAsAssociation>
<Field Name="eyeTrackerClient" />
</ShowAsAssociation>
</Class>
<Class Name="GazeWebSocketServer.GazeDataProcessor">
<Position X="9.5" Y="0.5" Width="1.75" />
<TypeIdentifier>
<HashCode>AAAAAAAAAABAQAAAAAAAAAAAAAAAAAAAAAAAQAAAAAA=</HashCode>
<FileName>GazeDataProcessor.cs</FileName>
</TypeIdentifier>
</Class> </Class>
<Class Name="GazeWebSocketServer.Program" Collapsed="true"> <Class Name="GazeWebSocketServer.Program" Collapsed="true">
<Position X="0.5" Y="0.5" Width="1.5" /> <Position X="0.5" Y="0.5" Width="1.5" />
<TypeIdentifier> <TypeIdentifier>
<HashCode>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAA=</HashCode> <HashCode>AACAAAAAAAAAAAAAAAAQAAAAAAAAAAgAABAABAAAAAA=</HashCode>
<FileName>Program.cs</FileName> <FileName>Program.cs</FileName>
</TypeIdentifier> </TypeIdentifier>
</Class> </Class>
<Struct Name="GazeWebSocketServer.GazeData" Collapsed="true"> <Class Name="GazeWebSocketServer.GazeServer">
<Position X="0.5" Y="1.25" Width="1.5" /> <Position X="6" Y="0.75" Width="1.5" />
<TypeIdentifier> <TypeIdentifier>
<HashCode>QAAAAAAAAAAAAAAEAAgAAAAAAAAAAAAAAAAAAAAAgAA=</HashCode> <HashCode>AAAAAABAACAAAABAAEAAAAAAAAAAAAAAAAAAAAAAAAA=</HashCode>
<FileName>GazeData.cs</FileName> <FileName>GazeServer.cs</FileName>
</TypeIdentifier> </TypeIdentifier>
</Struct> </Class>
<Font Name="Segoe UI" Size="9" /> <Font Name="Segoe UI" Size="9" />
</ClassDiagram> </ClassDiagram>
\ No newline at end of file
...@@ -13,7 +13,7 @@ namespace GazeWebSocketServer ...@@ -13,7 +13,7 @@ namespace GazeWebSocketServer
ConfigurationData config = ConfigurationData.ParseToObject(); ConfigurationData config = ConfigurationData.ParseToObject();
IBridgeTracker tracker; IBridgeTracker tracker;
if (args.Length > 0 && args[0] == "-d") if (config.DebugFlag)
{ {
tracker = new FakeTracker(600); tracker = new FakeTracker(600);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment