UpstreamService_WorkOrder.cs
2.45 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
using Hh.Mes.Common.log;
using Hh.Mes.POJO.ApiEntity;
using Hh.Mes.POJO.Entity;
using Hh.Mes.POJO.Response;
using Hh.Mes.POJO.WebEntity;
using NPOI.POIFS.FileSystem;
using System;
using System.Collections.Generic;
using System.Text;
namespace Hh.Mes.Service.ApiService
{
public partial class UpstreamService
{
#region 属性
/// <summary>
/// 华恒线体code
/// </summary>
private string Sys_LineCode { get; set; }
private base_work_center work_center { get; set; }
/// <summary>
/// 产品表
/// </summary>
private base_product_header Sys_ProductHeader { get; set; }
/// <summary>
/// 工艺路线头
/// </summary>
private base_process_route_head Sys_ProcessHead { get; set; }
/// <summary>
/// 工艺路线明细
/// </summary>
private List<base_process_route_detail> Sys_ProcessDetail { get; set; }
/// <summary>
/// 输出返回实体
/// </summary>
private ResponseUpstream<string> ResponseOrder { get; set; }
/// <summary>
/// Json 接受实体
/// </summary>
private MomWorkOrder MomEntity { get; set; }
#region 切割、组队、焊接工序
/// <summary>
/// 切割工序
/// </summary>
private base_process_route_detail Sys_process_cut { get; set; }
/// <summary>
/// 组队工序
/// </summary>
private base_process_route_detail Sys_process_fitUp { get; set; }
/// <summary>
/// 焊接工序
/// </summary>
private base_process_route_detail Sys_process_weld { get; set; }
#endregion
//工序任务 管段号 同一组工序明细的值 一样
private string Part_Code { get; set; }
/// <summary>
/// 更新数据使用 缓存工序任务头变量
/// </summary>
private bus_workOrder_head busWkHead { get; set; }
/// <summary>
/// 订单类型名称
/// </summary>
private string proOrderTypeName { get; set; }
#endregion
public dynamic SendWorkOrder(MomWorkOrder requestData)
{
return ExceptionsHelp.Instance.ExecuteT(() =>
{
this.MomEntity = requestData;
ResponseOrder = new ResponseUpstream<string>(requestData.plmeid);
return "";
});
}
}
}