IotEquipmentDataDto.cs
858 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
namespace DataAcquisition.ViewModels.IOT
{
public class IotEquipmentDataDto
{
public Guid Plmeid { get; set; }
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!;
}
}