/// <summary> /// Synchronously retrieves a data report from the sensor. /// </summary> /// <returns>Data report.</returns> public SensorDataReport GetDataReport() { ISensorDataReport iReport = null; _iSensor.GetData(out iReport); return(GetDataReport(iReport, _iSensor)); }
public string GetTemperature(ISensor sensor) { return(sensor.GetData() + "°C"); }