服务端的TigerApi 框架,基于.NET6 2024 版本
Rodney Chen
2024-07-19 01a5cb6f77739630a88fc2f95be694b53ade0d41
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace Tiger.Model.Entitys.MES.Position
{
    public class NewPositionInput
    {
        public string USER_CODE { get; set; }
        public string POST_CODE { get; set; }
    }
 
    public class WoInput : ApiInput
    {
        public string OrderNo { get; set; }
    }
 
    public class SubmitInput : ApiInput
    {
        /// <summary>
        /// 客户端显示的语言
        /// </summary>
        public string Locale {  get; set; }
        /// <summary>
        /// 当前操作的工步ID,如果未指定则留空
        /// </summary>
        public string CurStepID { get; set; }
        /// <summary>
        /// 当前扫描的内容,不限于条码
        /// </summary>
        public string SN { get; set; }
        /// <summary>
        /// 当前操作提交的不良代码,没有则留空
        /// </summary>
        public string DFT_CODE { get; set; }
        /// <summary>
        /// 当前操作需要提交的数据
        /// </summary>
        public string Data { get; set; }
    }
 
    public class SubmitOutput
    {
        /// <summary>
        /// 整个工序操作是否完成
        /// </summary>
        public bool IsFinished { get; set; }
        /// <summary>
        /// 当前操作的工单
        /// </summary>
        public string CurWO { get; set; }
        /// <summary>
        /// 当前操作的工单批次
        /// </summary>
        public string CurBatch { get; set; }
        /// <summary>
        /// 当前操作的节点名称
        /// </summary>
        public string CurNode { get; set; }
        /// <summary>
        /// 如果当前节点为工序行为节点,则行为定义编码,否则留空
        /// </summary>
        public string StepActCode { get; set; }
        /// <summary>
        /// 下一个操作的工步ID
        /// </summary>
        public string NextStepID { get; set; }
        /// <summary>
        /// 当前操作返回的数据
        /// </summary>
        public object Data { get; set; }
    }
 
    public class DefectOutput
    {
        public string DFTG_CODE { get; set; }
        public string DFTG_NAME { get; set; }
        public string DFT_CODE { get; set; }
        public string DFT_NAME { get; set; }
        public int DFT_LEVEL { get; set; }
    }
}