41 lines
923 B
C#
41 lines
923 B
C#
using Newtonsoft.Json;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MoviconHub.App.Models
|
|
{
|
|
/// <summary>
|
|
/// 环境数据模型
|
|
/// </summary>
|
|
public class EnvironmentData
|
|
{
|
|
/// <summary>
|
|
/// 环境温度
|
|
/// </summary>
|
|
[JsonProperty("env_temperature")]
|
|
public double Temperature { get; set; }
|
|
|
|
/// <summary>
|
|
/// 环境湿度
|
|
/// </summary>
|
|
[JsonProperty("env_humidity")]
|
|
public double Humidity { get; set; }
|
|
|
|
/// <summary>
|
|
/// VOC浓度
|
|
/// </summary>
|
|
[JsonProperty("voc_concentration")]
|
|
public double VocConcentration { get; set; }
|
|
|
|
/// <summary>
|
|
/// 粉尘指数
|
|
/// </summary>
|
|
[JsonProperty("dust_index")]
|
|
public double DustIndex { get; set; }
|
|
}
|
|
|
|
}
|