Develop #10
@@ -165,6 +165,7 @@ namespace ClientApp.Utils
|
|||||||
break;
|
break;
|
||||||
case DataParser.MESSAGE:
|
case DataParser.MESSAGE:
|
||||||
engineConnection.DoctorMessage = DataParser.getChatMessageFromJson(payloadbytes);
|
engineConnection.DoctorMessage = DataParser.getChatMessageFromJson(payloadbytes);
|
||||||
|
Debug.WriteLine("received message from doctor");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
Console.WriteLine($"Received json with identifier {identifier}:\n{Encoding.ASCII.GetString(payloadbytes)}");
|
Console.WriteLine($"Received json with identifier {identifier}:\n{Encoding.ASCII.GetString(payloadbytes)}");
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ namespace ClientApp.Utils
|
|||||||
private static string groundPlaneId = string.Empty;
|
private static string groundPlaneId = string.Empty;
|
||||||
private static string terrainId = string.Empty;
|
private static string terrainId = string.Empty;
|
||||||
|
|
||||||
public string DoctorMessage { get; set; };
|
public string DoctorMessage { get; set; }
|
||||||
public float BikeSpeed { get; set; }
|
public float BikeSpeed { get; set; }
|
||||||
public float BikePower { get; set; }
|
public float BikePower { get; set; }
|
||||||
public float BikeBPM { get; set; }
|
public float BikeBPM { get; set; }
|
||||||
|
|||||||
Reference in New Issue
Block a user