This commit is contained in:
Sem van der Hoeven
2020-11-02 10:37:40 +01:00
parent 28dc2c2f9c
commit aa2e16de89

View File

@@ -170,6 +170,7 @@ namespace Server
Array.Copy(this.BikeDataBuffer, 0, this.BikeDataBuffer, 8, 8); Array.Copy(this.BikeDataBuffer, 0, this.BikeDataBuffer, 8, 8);
Array.Copy(payloadbytes, 0, this.BikeDataBuffer, 0, 8); Array.Copy(payloadbytes, 0, this.BikeDataBuffer, 0, 8);
} }
if (this.username != null)
this.communication.Doctor?.sendMessage(DataParser.GetRawBikeDataDoctor(payloadbytes, this.username)); this.communication.Doctor?.sendMessage(DataParser.GetRawBikeDataDoctor(payloadbytes, this.username));
} }
@@ -181,6 +182,7 @@ namespace Server
{ {
Array.Copy(payloadbytes, 0, this.BPMDataBuffer, 0, 2); Array.Copy(payloadbytes, 0, this.BPMDataBuffer, 0, 2);
} }
if (this.username != null)
this.communication.Doctor?.sendMessage(DataParser.GetRawBPMDataDoctor(payloadbytes, this.username)); this.communication.Doctor?.sendMessage(DataParser.GetRawBPMDataDoctor(payloadbytes, this.username));
} }