FTask.cs
4.36 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
using PropertyChanged;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace XingYe_ACS.BaseStruct
{
[ImplementPropertyChanged]
public class FTask
{
/// <summary>
/// 任务号
/// </summary>
public string strTaskNo { get; set; }
/// <summary>
/// 任务ID 例如 SMT-001
/// </summary>
public string strTaskID { get; set; }
/// <summary>
/// 任务群组 例如 PCBA\FA
/// </summary>
public string strTaskGroup { get; set; }
/// <summary>
/// 任务名称 例如 PCBA-SMT原材料-SW01-AS1-SMT01
/// </summary>
public string strTaskName { get; set; }
/// <summary>
/// 任务类型 例如SMT原材料
/// </summary>
public string strTaskType { get; set; }
/// <summary>
/// 小车类型
/// </summary>
public EnumMsg.AreaType agvType { get; set; }
/// <summary>
/// 任务开始分解序号
/// </summary>
public int intTaskSplitStep { get; set; }
/// <summary>
/// 主任务的任务等级
/// </summary>
public int intTaskLevel { get; set; }
/// <summary>
/// 任务条码
/// </summary>
public string strTaskBarcode { get; set; }
/// <summary>
/// 起始点
/// </summary>
public string strInitial { get; set; }
/// <summary>
/// 目标点
/// </summary>
public string strTarget { get; set; }
/// <summary>
/// 主任务的起点信息
/// </summary>
public Point startPoint { get; set; }
/// <summary>
/// 主任务的终点信息
/// </summary>
public Point endPoint { get; set; }
/// <summary>
/// 任务的接收时间
/// </summary>
public DateTime strAcceptTime { get; set; }
/// <summary>
/// 任务是否提交
/// </summary>
public bool isTaskSubmit { get; set; }
/// <summary>
/// 任务小车信息
/// </summary>
public string strTaskAgv { get; set; }
/// <summary>
/// 子任务集合
/// </summary>
public ObservableCollection<SonTask> sonTaskList { get; set; }
/// <summary>
/// 任务的开始时间
/// </summary>
public string strBeginTime { get; set; }
/// <summary>
/// 任务的结束时间
/// </summary>
public string strEndTime { get; set; }
/// <summary>
/// 任务异常信息
/// </summary>
public string taskErrMsg { get; set; }
/// <summary>
/// 方向
/// </summary>
public EnumMsg.OriDial direction { get; set; }
/// <summary>
/// 主任务状态
/// </summary>
public string taskState { get; set; }
/// <summary>
/// 任务单号
/// </summary>
public string taskNum { get; set; }
/// <summary>
/// 任务停止标志
/// </summary>
public int taskStopSign { get; set; }
/// <summary>
/// 任务停止时间
/// </summary>
public DateTime taskStopTime { get; set; }
}
/// <summary>
/// 任务状态改变
/// </summary>
public class WebApiTask
{
#region webApi调用
/**
*
* {"TaskNo":"DC202104210010","TaskGroup":"","AgvNo":"","BeginBarcode":"1","EndBarcode":"21","Status":"0"}
*/
/// <summary>
/// 任务号
/// </summary>
public string TaskNo { get; set; }
/// <summary>
/// 任务群组
/// </summary>
public string TaskGroup { get; set; }
/// <summary>
/// 任务号
/// </summary>
public string AgvNo { get; set; }
/// <summary>
/// 起点
/// </summary>
public string BeginBarcode { get; set; }
/// <summary>
/// 终点
/// </summary>
public string EndBarcode { get; set; }
/// <summary>
/// 任务类型
/// </summary>
public string TaskType { get; set; }
#endregion
}
}