mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-01-14 17:23:11 -05:00
29 lines
772 B
C#
29 lines
772 B
C#
using System.Text.Json.Serialization;
|
|
using JetBrains.Annotations;
|
|
|
|
namespace ChrisKaczor.HomeMonitor.Environment.Service.Models.Indoor;
|
|
|
|
[UsedImplicitly]
|
|
public class DeviceReadings
|
|
{
|
|
[JsonPropertyName("aqi")]
|
|
public decimal AirQualityIndex { get; set; }
|
|
|
|
[JsonPropertyName("color_temperature")]
|
|
public decimal ColorTemperature { get; set; }
|
|
|
|
[JsonPropertyName("gas_resistance")]
|
|
public decimal GasResistance { get; set; }
|
|
|
|
[JsonPropertyName("humidity")]
|
|
public decimal Humidity { get; set; }
|
|
|
|
[JsonPropertyName("luminance")]
|
|
public decimal Luminance { get; set; }
|
|
|
|
[JsonPropertyName("pressure")]
|
|
public decimal Pressure { get; set; }
|
|
|
|
[JsonPropertyName("temperature")]
|
|
public decimal Temperature { get; set; }
|
|
} |