removed 20 second sleep
This commit is contained in:
@@ -14,8 +14,6 @@ namespace Client
|
|||||||
{
|
{
|
||||||
Console.WriteLine("// Connecting... //");
|
Console.WriteLine("// Connecting... //");
|
||||||
//connect fiets?
|
//connect fiets?
|
||||||
|
|
||||||
Thread.Sleep(20000);
|
|
||||||
Client client = new Client();
|
Client client = new Client();
|
||||||
|
|
||||||
|
|
||||||
@@ -23,22 +21,22 @@ namespace Client
|
|||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
//BLEHandler bLEHandler = new BLEHandler(client);
|
BLEHandler bLEHandler = new BLEHandler(client);
|
||||||
|
|
||||||
//bLEHandler.Connect();
|
bLEHandler.Connect();
|
||||||
|
|
||||||
//client.setHandler(bLEHandler);
|
client.setHandler(bLEHandler);
|
||||||
|
|
||||||
|
|
||||||
BikeSimulator bikeSimulator = new BikeSimulator(client);
|
//BikeSimulator bikeSimulator = new BikeSimulator(client);
|
||||||
|
|
||||||
bikeSimulator.StartSimulation();
|
//bikeSimulator.StartSimulation();
|
||||||
|
|
||||||
client.setHandler(bikeSimulator);
|
//client.setHandler(bikeSimulator);
|
||||||
|
|
||||||
while (true)
|
//while (true)
|
||||||
{
|
//{
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user