using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;
namespace ZR.Model.Dto
{
///
/// 查询对象
///
public class DeviceUploadDataQueryDto : PagerInfo
{
}
// 网关发来数据
public class DeviceUploadDataGatWayDto
{
[JsonPropertyName("time")]
public long Time { get; set; }
[JsonPropertyName("params")]
public DeviceUploadDataParamsDto DeviceParams { get; set; }
}
///
/// 传来参数对象
///
public class DeviceUploadDataParamsDto
{
///
/// 底漆循环温度DB1014.444
///
[JsonPropertyName("Value01")]
public decimal Value01 { get; set; }
///
/// 底漆循环湿度DB1014.498
///
[JsonPropertyName("Value02")]
public decimal Value02 { get; set; }
///
/// 色漆循环温度DB1014.552
///
[JsonPropertyName("Value03")]
public decimal Value03 { get; set; }
///
/// 色漆循环湿度DB1014.610
///
[JsonPropertyName("Value04")]
public decimal Value04 { get; set; }
///
/// 清漆循环温度DB1014.664
///
[JsonPropertyName("Value05")]
public decimal Value05 { get; set; }
///
/// 清漆循环湿度DB1014.722
///
[JsonPropertyName("Value06")]
public decimal Value06 { get; set; }
///
/// 纯水电导率DB1012.220
///
[JsonPropertyName("Value07")]
public decimal Value07 { get; set; }
///
/// 水份烘干温度DB1014.776
///
[JsonPropertyName("Value08")]
public decimal Value08 { get; set; }
///
/// 清漆烘干温度DB1014.892
///
[JsonPropertyName("Value09")]
public decimal Value09 { get; set; }
///
/// Value10
///
[JsonPropertyName("Value10")]
public decimal Value10 { get; set; }
}
///
/// 输入输出对象
///
public class DeviceUploadDataDto
{
[Required(ErrorMessage = "主键不能为空")]
public long Id { get; set; }
public string FactoryCode { get; set; }
public string WorkshopCode { get; set; }
public string LineCode { get; set; }
public string DeviceCode { get; set; }
public string DictCode { get; set; }
public string Remark { get; set; }
public string Value01 { get; set; }
public string Value02 { get; set; }
public string Value03 { get; set; }
public string Value04 { get; set; }
public string Value05 { get; set; }
public string Value06 { get; set; }
public string Value07 { get; set; }
public string Value08 { get; set; }
public string Value09 { get; set; }
public string Value10 { get; set; }
}
}