添加项目文件。
This commit is contained in:
40
MoviconHub.App/Models/EnvironmentData.cs
Normal file
40
MoviconHub.App/Models/EnvironmentData.cs
Normal file
@@ -0,0 +1,40 @@
|
||||
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; }
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user