diff options
author | marcinzelent <zelent.marcin@gmail.com> | 2017-11-27 13:47:12 +0100 |
---|---|---|
committer | marcinzelent <zelent.marcin@gmail.com> | 2017-11-27 13:47:12 +0100 |
commit | d93cd5af6b53c1d66f0633506bad5d7e83d64710 (patch) | |
tree | 02197b39c682d3854862c2ae5a4262dd5cfb739f /AirPollutionWebApi/SqlOperator.cs | |
parent | 3c203d43f67212570318a4fea4bc68fac13c581f (diff) |
Changed reading types to decimal.
Diffstat (limited to 'AirPollutionWebApi/SqlOperator.cs')
-rw-r--r-- | AirPollutionWebApi/SqlOperator.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/AirPollutionWebApi/SqlOperator.cs b/AirPollutionWebApi/SqlOperator.cs index bde60f8..40e7d6f 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.GetInt32(2), - No = reader.GetInt32(3), - So = reader.GetInt32(4) + Co = reader.GetDecimal(2), + No = reader.GetDecimal(3), + So = reader.GetDecimal(4) }); } } |