예제 #1
0
 /// <summary>
 ///     Adds information about sensor quality.
 /// </summary>
 /// <param name="sensor">Sensor instance</param>
 /// <param name="result">Map of results</param>
 private static void AddToResult(ISensor sensor, IDictionary <string, string> result)
 {
     if (sensor != null)
     {
         result.Add(
             sensor.GetName(),
             sensor.CalculateQuality()
             );
     }
 }