Skip to content

Commit

Permalink
#8 added parameterless constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
almostengr committed Apr 30, 2022
1 parent 6df730b commit e9a4c85
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Almostengr.ThermometerPi.Api/Models/TemperatureReading.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ namespace Almostengr.ThermometerPi.Api.Models
{
public class TemperatureReading
{
public TemperatureReading()
{ }

public TemperatureReading(int temperatureC, TemperatureSource source)
{
this.TemperatureC = temperatureC;
Expand Down

0 comments on commit e9a4c85

Please sign in to comment.