IotEquipment.cs
1.97 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
using System.Text.Json.Serialization;
namespace DataAcquisition.ViewModels.IOT
{
public class IotEquipment: IotBase
{
/// <summary>
/// 设备类型编码
/// </summary>
[JsonPropertyName("equipmentType_code")]
public string EquipmentTypeCode { get; set; } = null!;
/// <summary>
/// 设备类型名称
/// </summary>
[JsonPropertyName("equipmentType_name")]
public string EquipmentTypeName { get; set; } = null!;
/// <summary>
/// 设备IP地址
/// </summary>
public string IP { get; set; } = null!;
/// <summary>
/// 区域
/// </summary>
[JsonPropertyName("destination_area")]
public string DestinationArea { get; set; } = null!;
/// <summary>
/// 描述
/// </summary>
[JsonPropertyName("remark")]
public string Remark { get; set; } = null!;
/// <summary>
/// 是否启用
/// </summary>
/// <remarks>0:禁用,1:启用</remarks>
[JsonPropertyName("IsDelete")]
public int IsEnable { get; set; }
/// <summary>
/// 类型
/// </summary>
/// <remarks>I:新增,U:修改,D:删除</remarks>
public string Type { 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!;
}
}