Attempt 1 dashboard VR
This commit is contained in:
@@ -17,10 +17,10 @@ namespace RH_Engine
|
||||
{
|
||||
private static PC[] PCs = {
|
||||
//new PC("DESKTOP-M2CIH87", "Fabian"),
|
||||
new PC("T470S", "Shinichi"),
|
||||
//new PC("T470S", "Shinichi"),
|
||||
//new PC("DESKTOP-DHS478C", "semme"),
|
||||
//new PC("DESKTOP-TV73FKO", "Wouter"),
|
||||
//new PC("DESKTOP-SINMKT1", "Ralf"),
|
||||
new PC("DESKTOP-SINMKT1", "Ralf van Aert"),
|
||||
//new PC("NA", "Bart")
|
||||
};
|
||||
private static void Main(string[] args)
|
||||
@@ -104,8 +104,6 @@ namespace RH_Engine
|
||||
}
|
||||
|
||||
sendCommands(stream, tunnelID);
|
||||
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -126,18 +124,28 @@ namespace RH_Engine
|
||||
Console.WriteLine(ReadPrefMessage(stream));
|
||||
string command;
|
||||
|
||||
command = mainCommand.AddBikeModel();
|
||||
//command = mainCommand.AddBikeModel();
|
||||
|
||||
//WriteTextMessage(stream, command);
|
||||
|
||||
//Console.WriteLine(ReadPrefMessage(stream));
|
||||
|
||||
//command = mainCommand.AddModel("car", "data\\customModels\\TeslaRoadster.fbx");
|
||||
|
||||
//WriteTextMessage(stream, command);
|
||||
|
||||
//Console.WriteLine(ReadPrefMessage(stream));
|
||||
|
||||
|
||||
command = mainCommand.addPanel();
|
||||
WriteTextMessage(stream, command);
|
||||
|
||||
string response = ReadPrefMessage(stream);
|
||||
Console.WriteLine("add Panel response: \n\r" + response);
|
||||
string uuidPanel = JSONParser.getPanelID(response);
|
||||
WriteTextMessage(stream, mainCommand.ClearPanel(uuidPanel));
|
||||
Console.WriteLine(ReadPrefMessage(stream));
|
||||
|
||||
command = mainCommand.AddModel("car", "data\\customModels\\TeslaRoadster.fbx");
|
||||
|
||||
WriteTextMessage(stream, command);
|
||||
|
||||
WriteTextMessage(stream, mainCommand.bikeSpeed(uuidPanel));
|
||||
Console.WriteLine(ReadPrefMessage(stream));
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user