EquipmentDataDto.cs
1014 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
namespace HHECS.DAQClient.Dto
{
public class EquipmentDataDto
{
public Guid Plmeid { get; set; }
/// <summary>
/// 客户端Id
/// </summary>
public Guid ClientId { get; set; }
/// <summary>
/// 设备SN/设备编号
/// </summary>
public string EquipmentSN { get; set; } = null!;
/// <summary>
/// 数据源时间戳
/// </summary>
public long Timestamp { get; set; }
/// <summary>
/// 数据数组
/// </summary>
public List<TagItem> Reported { get; set; } = new List<TagItem>();
/// <summary>
/// 版本号
/// </summary>
public int Version { get; set; }
}
public class TagItem
{
/// <summary>
/// 节点
/// </summary>
public string Tag { get; set; } = null!;
/// <summary>
/// 值
/// </summary>
public string Value { get; set; } = null!;
}
}