From 5b0a861c151fb99334e55438f795b1c5921ca5d8 Mon Sep 17 00:00:00 2001 From: marcinzelent Date: Mon, 27 Nov 2017 13:56:31 +0100 Subject: Changed reading types to double. --- AirPollutionWebApi/SqlOperator.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'AirPollutionWebApi/SqlOperator.cs') diff --git a/AirPollutionWebApi/SqlOperator.cs b/AirPollutionWebApi/SqlOperator.cs index 40e7d6f..34213df 100644 --- a/AirPollutionWebApi/SqlOperator.cs +++ b/AirPollutionWebApi/SqlOperator.cs @@ -33,9 +33,9 @@ namespace AirPollutionWebApi.Singletons { Id = reader.GetInt32(0), TimeStamp = reader.GetInt32(1), - Co = reader.GetDecimal(2), - No = reader.GetDecimal(3), - So = reader.GetDecimal(4) + Co = reader.GetDouble(2), + No = reader.GetDouble(3), + So = reader.GetDouble(4) }); } } -- cgit v1.2.3