IotEquipmentStatus.cs
1.31 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
using System.Text.Json.Serialization;
namespace DataAcquisition.ViewModels.IOT
{
public class IotEquipmentStatus: IotBase
{
/// <summary>
/// 设备状态
/// </summary>
/// <remarks>例:1,2,3,4,5,6 </remarks>
[JsonPropertyName("equipment_status")]
public int EquipmentStatus { get; set; }
/// <summary>
/// 设备状态描述
/// </summary>
/// <remarks>例:1=故障、2=手动、3=维修、4=空闲、5=运行、6=任务中断 </remarks>
[JsonPropertyName("equipmentstatus_desc")]
public string EquipmentstatusDesc { 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!;
/// <summary>
/// 扩展列4
/// </summary>
[JsonPropertyName("extend_col4")]
public string ExtendCol4 { get; set; } = null!;
}
}