20 lines
536 B
C#
20 lines
536 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace EgwProxy.Shelly.DTO
|
|
{
|
|
public class TemperatureDto
|
|
{
|
|
/// <summary>
|
|
/// Temperature in Celsius (null if the temperature is out of the measurement range)
|
|
/// </summary>
|
|
[JsonProperty("tC")]
|
|
public double? Celsius { get; set; }
|
|
|
|
/// <summary>
|
|
/// Temperature in Fahrenheit (null if the temperature is out of the measurement range)
|
|
/// </summary>
|
|
[JsonProperty("tF")]
|
|
public double? Fahrenheit { get; set; }
|
|
}
|
|
}
|