MomWorkOrder.cs
5.63 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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;
namespace Hh.Mes.POJO.ApiEntity
{
/// <summary>
/// Mom工单
/// </summary>
public class MomWorkOrderHead
{
/// <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 string product_code { get; set; }
/// <summary>
/// 产品名称
/// </summary>
public string product_name { get; set; }
/// <summary>
/// 工厂
/// </summary>
public string factory_code { get; set; }
/// <summary>
/// 产线编码
/// </summary>
public string line_code { get; set; }
/// <summary>
/// 订单类型
/// </summary>
public string order_type { get; set; }
/// <summary>
/// 工艺路线版本
/// </summary>
public decimal edition { get; set; }
/// <summary>
/// 项目编码
/// </summary>
public string project_code { get; set; }
/// <summary>
/// 项目名称
/// </summary>
public string project_name { get; set; }
/// <summary>
/// 管线号/单管号
/// </summary>
public string line_no { get; set; }
/// <summary>
/// 计划开始日期
/// </summary>
public DateTime oprplan_start_time { get; set; }
/// <summary>
/// 计划结束日期
/// </summary>
public DateTime oprplan_end_time { get; set; }
/// <summary>
/// 预留字段1
/// </summary>
public string extend1 { get; set; }
/// <summary>
/// 预留字段2
/// </summary>
public string extend2 { get; set; }
/// <summary>
/// 预留字段3
/// </summary>
public string extend3 { get; set; }
/// <summary>
/// 预留字段4
/// </summary>
public string extend4 { get; set; }
/// <summary>
/// 更新标识 "I:新增 U:修改 D:删除"
/// </summary>
public string type { get; set; }
/// <summary>
/// 子表明细
/// </summary>
public List<MomWorkOrderDetail> details = new List<MomWorkOrderDetail>();
}
/// <summary>
/// 子表明细
/// </summary>
public class MomWorkOrderDetail
{
/// <summary>
/// 工序编码
/// </summary>
public string proced_code { get; set; }
/// <summary>
/// 工作中心编码
/// </summary>
public string workcenter_code { get; set; }
/// <summary>
/// 工序耗时(分)
/// </summary>
public decimal oprsequence_time { get; set; }
/// <summary>
/// 备注
/// </summary>
public string remark { get; set; }
/// <summary>
/// 计划开始日期
/// </summary>
public DateTime oprplan_start_time { get; set; }
/// <summary>
/// 计划结束日期
/// </summary>
public DateTime oprplan_end_time { get; set; }
/// <summary>
/// 是否成品管0:否,1:是
/// </summary>
public int isend_product { get; set; }
/// <summary>
/// 预留字段1
/// </summary>
public string extend1 { get; set; }
/// <summary>
/// 预留字段1
/// </summary>
public string extend2 { get; set; }
/// <summary>
/// 组件列表
/// </summary>
public List<componentDetails> componentDetails { get; set; }
}
/// <summary>
/// 组件列表
/// </summary>
public class componentDetails
{
/// <summary>
/// 图纸URL
/// </summary>
public string design_url { get; set; }
/// <summary>
/// 图纸页码
/// </summary>
public string design_no { get; set; }
/// <summary>
/// 切割工序 管段物料编码
/// </summary>
public string cut_mater_code { get; set; }
/// <summary>
/// 切割工序 管段切割长度
/// </summary>
public double cutting_len { get; set; }
/// <summary>
/// 管段号
/// </summary>
public string part_code { get; set; }
/// <summary>
/// 焊接工序 焊口形式 对焊BW/插焊SW/支架角焊缝FW
/// </summary>
public string weld_type { get; set; }
/// <summary>
/// 焊接工序焊口号 焊口1,焊口2,焊口3...
/// </summary>
public string weld_no { get; set; }
/// <summary>
/// 焊接工序 焊口物料 焊口使用物料1,焊口使用物料2,焊口使用物料3... 和焊口号 一一对应
/// </summary>
public string weld_mater_code { get; set; }
/// <summary>
/// 预留字段1
/// </summary>
public string extend1 { get; set; }
/// <summary>
/// 预留字段2
/// </summary>
public string extend2 { get; set; }
public string extendComp1 { get; set; }
public string extendComp2{ get; set; }
public string extendComp3 { get; set; }
public string extendComp4 { get; set;}
}
}