added ralfs message display on vr panel into engineconnection

This commit is contained in:
Sem van der Hoeven
2020-10-16 11:23:52 +02:00
parent 6ec09ec995
commit 1c3e48f676

View File

@@ -42,6 +42,7 @@ namespace ClientApp.Utils
private static string headId = string.Empty; private static string headId = string.Empty;
private static string groundPlaneId = string.Empty; private static string groundPlaneId = string.Empty;
private static string terrainId = string.Empty; private static string terrainId = string.Empty;
private static string lastMessage = "No message received yet";
public float BikeSpeed { get; set; } public float BikeSpeed { get; set; }
public float BikePower { get; set; } public float BikePower { get; set; }
@@ -297,6 +298,11 @@ namespace ClientApp.Utils
{ {
// TODO check if is drawn // TODO check if is drawn
}); });
SendMessageAndOnResponse(stream, mainCommand.showMessage(panelId, "message", lastMessage), "message",
(message) =>
{
// TODO check if is drawn
});
// Check if every text is drawn! // Check if every text is drawn!