TaskStateInfo.cs
2.4 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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.NetworkInformation;
using System.Text;
using System.Threading.Tasks;
namespace OnlineStore.DeviceLibrary
{
public class TaskStateInfo
{
/// <summary>
/// 任务号,业务任务号
/// </summary>
public string taskCode { get; set; }
/// <summary>
/// 上报事件类型
/// task:上报任务状态
/// tote_load:上报取箱状态
/// tote_unload:上报放箱状态
/// robot_reach:机器人到达工作站
/// </summary>
public string eventType { get; set; }
/// <summary>
/// 状态
/// success:成功
///fail:失败
///cancel:取消
///suspend:挂起
/// </summary>
public string status { get; set; }
/// <summary>
/// 容器编码
/// </summary>
public string containerCode { get; set; }
/// <summary>
/// 工作位编码
/// </summary>
public string locationCode { get; set; }
/// <summary>
/// 机器人编码
/// </summary>
public string robotCode { get; set; }
/// <summary>
/// 工作站编码
/// </summary>
public string stationCode { get; set; }
}
public class ErrorStateInfo
{
/// <summary>
/// 事件类型
/// location_abnormal:工作位异常
/// robot_abnormal:机器人异常
/// </summary>
public string eventType { get; set; }
/// <summary>
/// 机器人编码
/// </summary>
public string robotCode { get; set; }
/// <summary>
/// 工作站编码
/// </summary>
public string stationCode { get; set; }
/// <summary>
/// 工作位编码
/// </summary>
public string locationCode { get; set; }
/// <summary>
/// 容器编码
/// </summary>
public string containerCode { get; set; }
/// <summary>
/// 信息,异常描述
/// </summary>
public string message { get; set; }
/// <summary>
/// 解决方案,系统建议的解决方案
/// </summary>
public string solution { get; set; }
/// <summary>
/// 更新时间,ms
/// </summary>
public long updateTime { get; set; }
}
}