IotEquipmmentRunParameter.cs
1.32 KB
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
46
47
48
49
50
51
52
53
using System.Text.Json.Serialization;
namespace DataAcquisition.ViewModels.IOT
{
public class IotEquipmmentRunParameter: IotBase
{
/// <summary>
/// 设备状态
/// </summary>
/// <remarks>联机、手动等</remarks>
public string Status { get; set; } = null!;
/// <summary>
/// 电量
/// </summary>
public float Voltage { get; set; }
/// <summary>
/// 电压
/// </summary>
public float Power { get; set; }
/// <summary>
/// 电流
/// </summary>
public float Current { get; set; }
/// <summary>
/// 其他
/// </summary>
/// <remarks>Json数据</remarks>
[JsonPropertyName("other_val")]
public string OtherVal { get; set; } = null!;
/// <summary>
/// 扩展列1
/// </summary>
[JsonPropertyName("extend_col1")]
public string ExtendCol1 { get; set; } = null!;
/// <summary>
/// 扩展列2
/// </summary>
[JsonPropertyName("extend_col2")]
public string ExtendCol2 { get; set; } = null!;
/// <summary>
/// 扩展列3
/// </summary>
[JsonPropertyName("extend_col3")]
public string ExtendCol3 { get; set; } = null!;
}
}