EquipmentProp.cs
1.71 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
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace WebRepository
{
/// <summary>
/// 设备属性
/// </summary>
[Table("equipment_prop")]
public partial class EquipmentProp : SysEntity
{
public EquipmentProp()
{
}
/// <summary>
/// 设备
/// </summary>
[Column("equipmentId")]
public int? EquipmentId { get; set; }
/// <summary>
/// 设备模板ID
/// </summary>
[Column("equipmentTypeTemplateId")]
public int? EquipmentTypeTemplateId { get; set; }
/// <summary>
/// 设备模板代号
/// </summary>
[Column("equipmentTypeTemplateCode")]
public string EquipmentTypeTemplateCode { get; set; }
/// <summary>
/// 服务器句柄
/// </summary>
[Column("serverHandle")]
public int? ServerHandle { get; set; }
/// <summary>
/// plc地址值
/// </summary>
[Column("address")]
public string Address { get; set; }
/// <summary>
/// plc的数据值
/// </summary>
[Column("value")]
public string Value { get; set; }
/// <summary>
/// 是否写入成功
/// </summary>
[Column("plcFlag")]
public int? PlcFlag { get; set; }
/// <summary>
/// 是否需要写入
/// </summary>
[Column("writeFlag")]
public bool? WriteFlag { get; set; }
/// <summary>
/// 待写值
/// </summary>
[Column("writeValue")]
public string WriteValue { get; set; }
/// <summary>
/// 备注
/// </summary>
[Column("remark")]
public string Remark { get; set; }
}
}