private void ButtonSendTherm_Click(object sender, RoutedEventArgs e)
        {
            if (TextBoxThermocouple.Text.Length > 1)
            {
                MessageBox.Show("Thermocouple value too lengthy.", "Error", MessageBoxButton.OK, MessageBoxImage.Error);
                return;
            }

            byte[] data  = new byte[1];
            byte[] value = System.Text.Encoding.UTF8.GetBytes(TextBoxThermocouple.Text);
            data[0] = value[0];

            if (!CommandHost.SendThermocouple(_uart, data))
            {
                MessageBox.Show("Transmission error sending Thermocouple value.", "Error", MessageBoxButton.OK, MessageBoxImage.Error);
            }
        }