ke_junjie
2025-06-04 84620534eb627e95811b971a4b552b6a177829bf
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
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using iWare.Wms.Core;
using Microsoft.EntityFrameworkCore;
 
namespace iWare.Wms.Core
{
    [Comment("出库子任务")]
    [Table("ware_task_sub")]
    public class WareTaskSub : DEntityBase
    {
        /// <summary>
        /// 单据号    
        /// </summary>
        [Comment("单据号")]
        public string OrderNo { get; set; }
        /// <summary>
        /// 上级任务ID  
        /// </summary>
        [Comment("上级任务ID")]
        public long TaskId { get; set; }
        /// <summary>
        /// 任务号  
        /// </summary>
        [Comment("任务号")]
        public string TaskNo { get; set; }
        /// <summary>
        /// 任务排序    
        /// </summary>
        [Comment("任务排序")]
        public int TaskSequence { get; set; }
        /// <summary>
        /// 任务状态 0-未执行,1-已暂停,2-执行中,3-已完成
        /// </summary>
        [Comment("任务状态")]
        public int TaskState { get; set; }
        /// <summary>
        /// 任务描述    
        /// </summary>
        [Comment("任务描述")]
        public string TaskDescribe { get; set; }
        /// <summary>
        /// 机器类别 
        /// </summary>
        [Comment("机器类别")]
        public string DeviceType { get; set; }
        /// <summary>
        /// 机器编号    
        /// </summary>
        [Comment("机器编号")]
        public int DeviceId { get; set; }
        /// <summary>
        /// 容器编码    
        /// </summary>
        [Comment("容器编码")]
        public string ContainerCode { get; set; }
        /// <summary>
        /// 开始巷道
        /// </summary>
        [Comment("开始巷道")]
        public int? FromLane { get; set; }
        /// <summary>
        /// 开始层
        /// </summary>
        [Comment("开始层")]
        public int? FromLayer { get; set; }
        /// <summary>
        /// 开始列
        /// </summary>
        [Comment("开始列")]
        public int? FromCol { get; set; }
        /// <summary>
        /// 开始行
        /// </summary>
        [Comment("开始行")]
        public int? FromRow { get; set; }
        /// <summary>
        /// 目的巷道
        /// </summary>
        [Comment("目的巷道")]
        public int? ToLane { get; set; }
        /// <summary>
        /// 目的层
        /// </summary>
        [Comment("目的层")]
        public int? ToLayer { get; set; }
        /// <summary>
        /// 目的列
        /// </summary>
        [Comment("目的列")]
        public int? ToCol { get; set; }
        /// <summary>
        /// 目的行
        /// </summary>
        [Comment("目的行")]
        public int? ToRow { get; set; }
        /// <summary>
        /// 任务完成时间    
        /// </summary>
        [Comment("任务完成时间")]
        public DateTimeOffset? FinishedTime { get; set; }
        /// <summary>
        /// 托盘类型,1 小托盘,2 大托盘
        /// </summary>
        [Comment("托盘类型")]
        public int? ContainerType { get; set; }
        /// <summary>
        /// 任务类型
        /// </summary>
        public int? TaskType { get; set; }
 
        /// <summary>
        /// 起始地址
        /// </summary>
        public string SourcePlace { get; set; }
 
        /// <summary>
        /// 目标地址
        /// </summary>
        public string ToPlace { get; set; }
 
        /// <summary>
        /// AGV任务单号
        /// </summary>
        public string AgvTaskCode { get; set; }
 
        /// <summary>
        /// AGV编号
        /// </summary>
        public string AgvCode { get; set; }
    }
}