ProcessRouteUpMomEntity.cs
4.24 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
using System.Collections.Generic;
using Hh.Mes.POJO.EnumEntitys;
namespace Hh.Mes.POJO.ApiEntity
{
/// <summary>
/// 产线中控将工序执行信息反馈MOM实体
/// </summary>
public class ProcessRouteUpMomEntity
{
/// <summary>
/// 唯一标识ID
/// </summary>
public string plmeid { get; set; }
/// <summary>
/// 生产订单号
/// </summary>
public string pro_order_code { get; set; }
/// <summary>
/// 生产计划号
/// </summary>
public string plan_code { get; set; }
/// <summary>
/// 数量
/// </summary>
public int num { get; set; }
public string line_code { get; set; }
/// <summary>
/// 工序编码,MOM那边要求“工序编码”改为“工序顺序号”
/// </summary>
public string proced_code => proced_num;
/// <summary>
/// 工序顺序号,固定四位:0010、0020
/// </summary>
public string proced_num { get; set; }
/// <summary>
/// 工序开始时间
/// </summary>
public string proced_start_time { get; set; }
/// <summary>
/// 工序结束时间
/// </summary>
public string proced_end_time { get; set; }
/// <summary>
/// 实际工时
/// </summary>
public decimal proced_work_time { get; set; }
/// <summary>
/// 状态 0:开工 、1:完工
/// </summary>
public string state { get; set; }
/// <summary>
/// 操作人
/// </summary>
public string @operator { get; set; }
/// <summary>
/// 数据传输类型<see cref="EnumAction"/>
/// </summary>
public string type { get; set; }
/// <summary>
/// 关键执行工艺
/// </summary>
public List<Processes> processes { get; set; } = new List<Processes>();
/// <summary>
/// 精确追溯件
/// </summary>
public List<Maters> maters { get; set; } = new List<Maters>();
}
/// <summary>
/// 关键执行工艺参数
/// </summary>
public class Processes
{
/// <summary>
/// 设备编码
/// </summary>
public string device_code { get; set; }
/// <summary>
/// 设备信息
/// </summary>
public string device_information { get; set; }
/// <summary>
/// 加工步骤
/// </summary>
public string processing_steps { get; set; }
/// <summary>
/// 加工参数名称
/// </summary>
public string processing_parameters { get; set; }
/// <summary>
/// 加工参数执行结果
/// </summary>
public string processing_results { get; set; }
}
/// <summary>
/// 精确追溯件
/// </summary>
public class Maters
{
/// <summary>
/// 物料号
/// </summary>
public string maters_code { get; set; }
/// <summary>
/// 追溯码
/// </summary>
public string review_code { get; set; }
/// <summary>
/// 供应商码
/// </summary>
public string supplier_code { get; set; }
/// <summary>
/// 条码信息
/// </summary>
public string bar_code { get; set; }
/// <summary>
/// 扫描工位
/// </summary>
public string scan_station { get; set; }
/// <summary>
/// 扫描人
/// </summary>
public string scanner { get; set; }
/// <summary>
/// 扫描类型 0:正常、1:补扫、2:替扫
/// </summary>
public string code_type { get; set; }
}
/// <summary>
/// ecs工序完工反馈
/// </summary>
public class ProcedureEndEntity
{
/// <summary>
/// 追踪码
/// </summary>
public string barCode { get; set; }
/// <summary>
/// 工序 切割=100,打磨=180
/// </summary>
public int enumCutHeadState { get; set; }
}
public class SendIWPModel {
public string taskCode { get; set; }
public string equipmentCode { get; set; }
}
}