Ejemplo n.º 1
0
        protected float?GetConvertedData(IStationData stationData, string dataType, DateTime date)
        {
            var data = stationData.GetData(dataType, date);

            return((data != int.MinValue)
                ? (float?)this._dataConverters.GetValueOrDefault(dataType, this._noConversionRule).ConvertDataPoint(data)
                : null);
        }