1
schangxiang@126.com
2024-09-02 2c9aaa1be34405642c43c07c3049f2344c48d9f6
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
74
75
76
77
78
79
80
81
82
83
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace iWare.Wms.Core
{
    [Table("DataCaptureColumnConfig")]
    [Comment("数据收集点对应字段")]
    public class DataCaptureColumnConfig : DEntityBase
    {
        /// <summary>
        /// 工序号
        /// </summary>
        [Comment("工序号")]
        [Required, MaxLength(32)]
        public string WorkingProcedure { get; set; }
 
        /// <summary>
        /// 数据收集点代码
        /// </summary>
        [Comment("数据收集点代码")]
        [Required, MaxLength(32)]
        public string DataCapturePointCode { get; set; }
 
        /// <summary>
        /// 收集收集点描述
        /// </summary>
        [Comment("收集收集点描述")]
        [MaxLength(32)]
        public string DataCapturePointCname { get; set; }
 
        /// <summary>
        /// 收集方式
        /// </summary>
        [Comment("收集方式")]
        public int DataCaptureType { get; set; }
 
        /// <summary>
        /// DB块地址
        /// </summary>
        [Comment("DB块地址")]
        [MaxLength(32)]
        public string DbNumber { get; set; }
 
        /// <summary>
        /// 地址偏移量
        /// </summary>
        [Comment("地址偏移量")]
        [MaxLength(32)]
        public string Offset { get; set; }
 
        /// <summary>
        /// 收集字段长度;就字符串型用
        /// </summary>
        [Comment("收集字段长度")]
        public int DataCaptureColumnLength { get; set; }
 
        /// <summary>
        /// 收集字段类型
        /// </summary>
        [Comment("收集字段类型")]
        [MaxLength(32)]
        public string DataCaptureColumnType { get; set; }
 
        /// <summary>
        /// 收集字段对应列名
        /// </summary>
        [Comment("收集字段对应列名")]
        [MaxLength(255)]
        public string DataCaptureColumnTabelName { get; set; }
 
        /// <summary>
        /// 是否反馈PLC
        /// </summary>
        [Comment("是否反馈PLC")]
        public int IsFeedback { get; set; }
    }
}