/// <summary>
        /// Sends Measurement data to Patient program
        /// </summary>
        /// <param name="measurementData">
        /// The measurement data for a single point
        /// </param>
        public void SendMeasurementData(DTO_Measurement measurementData)
        {
            var json     = JsonConvert.SerializeObject(measurementData);
            var sendData = Encoding.ASCII.GetBytes(json);

            socket.SendTo(sendData, endPointIP);
        }
 /// <summary>
 /// Sends each measurement to patient application
 /// </summary>
 /// <param name="dataPoint"></param>
 public void SendMeasurement(DTO_Measurement dataPoint)
 {
     udpSender.SendMeasurementData(dataPoint);
 }