BusCollectionCommand.cs
1.57 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
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace HHECS.Model.Entities
{
/// <summary>
/// 采集数据结果表
/// </summary>
[Table("bus_collection_command")]
[Serializable]
public class BusCollectionCommand : BaseEntityCU<int>
{
/// <summary>
/// 扩展设备编码
/// </summary>
[Column("externalEquipmentCode")]
public string ExternalEquipmentCode { get; set; }
/// <summary>
/// 扩展设备名称
/// </summary>
[Column("externalEquipmentName")]
public string ExternalEquipmentName { get; set; }
/// <summary>
/// 命令代码
/// </summary>
[Column("commandCode")]
public string CommandCode { get; set; }
/// <summary>
/// 命令名称
/// </summary>
[Column("commandName")]
public string CommandName { get; set; }
/// <summary>
/// IP
/// </summary>
[Column("ip")]
public string Ip { get; set; }
/// <summary>
/// 端口
/// </summary>
[Column("port")]
public string Port { get; set; }
/// <summary>
/// 通信类型 S7 、opcua、http、Socket等
/// </summary>
[Column("communicationType")]
public string CommunicationType { get; set; }
/// <summary>
/// 显示实时数值
/// </summary>
[Column("value")]
public string Value { get; set; }
}
}