////////////////////////////////////////////////////////////////////////////////////////////////////
        /// <summary>   Sets the descriptions. </summary>
        ///
        /// <remarks>   Jordi Hutjens, 26-10-2018. </remarks>
        ////////////////////////////////////////////////////////////////////////////////////////////////////
        public void SetDescriptions()
        {
            var names = new List <string>
            {
                "ESP_TimeStap",
                "IMU1_AccX",
                "IMU1_AccY",
                "IMU1_AccZ",
                "IMU1_GyroX",
                "IMU1_GyroY",
                "IMU1_GyroZ",
                "IMU1_MagX",
                "IMU1_MagY",
                "IMU1_MagZ",
                "IMU1_Q0",
                "IMU1_Q1",
                "IMU1_Q2",
                "IMU1_Q3",
                "IMU2_AccX",
                "IMU2_AccY",
                "IMU2_AccZ",
                "IMU2_GyroX",
                "IMU2_GyroY",
                "IMU2_GyroZ",
                "IMU2_MagX",
                "IMU2_MagY",
                "IMU2_MagZ",
                "IMU2_Q0",
                "IMU2_Q1",
                "IMU2_Q2",
                "IMU2_Q3",
                "Temp_Ext",
                "Humidity_Ext",
                "Temp_Int",
                "Humidity_Int",
                "Pulse_TempLobe",
                "GSR"
            };

            HubConnector.SetValuesName(names);
        }
 /// <summary>   Sets value names. </summary>
 ///
 /// <remarks>   Jordi Hutjens, 8-11-2018. </remarks>
 public void SetValueNames()
 {
     try
     {
         List <string> names = new List <string>();
         if (CheckParameters.Instance.DataStream == "acc")
         {
             names.Add("Empatica_AccX");
             names.Add("Empatica_AccY");
             names.Add("Empatica_AccZ");
         }
         if (CheckParameters.Instance.DataStream == "tmp")
         {
             names.Add("Empatica_Temp");
         }
         if (CheckParameters.Instance.DataStream == "bvp")
         {
             names.Add("Empatica_Bvp");
         }
         if (CheckParameters.Instance.DataStream == "ibi")
         {
             names.Add("Empatica_Ibi");
             names.Add("Empatica_Hrv");
         }
         if (CheckParameters.Instance.DataStream == "tag")
         {
             names.Add("Empatica_Tag");
         }
         if (CheckParameters.Instance.DataStream == "gsr")
         {
             names.Add("Empatica_Gsr");
         }
         HubConnector.SetValuesName(names);
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex.ToString());
     }
 }