TaskCarEntity.cs
2.46 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace HHECS.Model.Entities
{
/// <summary>
/// 小车任务表
/// </summary>
[Table("bus_task_truss")]
[Serializable]
public class TaskCarEntity : BaseEntityCU<int>
{
/// <summary>
/// 线体编码
/// </summary>
[Column("lineCode")]
public string LineCode { get; set; }
/// <summary>
/// PLC小车编码(设备编码的数字部分)
/// </summary>
[Column("carNo")]
public string CarNo { get; set; }
/// <summary>
/// 任务类型
/// </summary>
[Column("type")]
public int Type { get; set; }
/// <summary>
/// 源位置
/// </summary>
[Column("fromLocation")]
public int FromLocation { get; set; }
/// <summary>
/// 目标位置
/// </summary>
[Column("toLocation")]
public int ToLocation { get; set; }
/// <summary>
/// 是否重新下发
/// </summary>
[Column("reSend")]
public int ReSend { get; set; }
/// <summary>
/// 状态
/// </summary>
[Column("status")]
public int Status { get; set; }
/// <summary>
/// 管材物料编码
/// </summary>
[Column("materialCode")]
public string MaterialCode { get; set; }
/// <summary>
/// 管材SN码
/// </summary>
[Column("pipeSN")]
public string PipeSN { get; set; }
/// <summary>
/// 管材长度
/// </summary>
[Column("pipeLength")]
public decimal PipeLength { get; set; }
/// <summary>
/// 在制品ID
/// </summary>
[Column("stepTraceId")]
public int StepTraceId { get; set; }
/// <summary>
/// 开始时间
/// </summary>
[Column("startTime")]
public DateTime StartTime { get; set; }
/// <summary>
/// 结束时间
/// </summary>
[Column("endTime")]
public DateTime EndTime { get; set; }
/// <summary>
/// 出发地名称
/// </summary>
[NotMapped]
public string FromLocationName { get; set; }
/// <summary>
/// 目的地名称
/// </summary>
[NotMapped]
public string ToLocationName { get; set; }
}
}