RcsData.cs
3.53 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
using RCS.Model.Comm;
using RCS.Model.Entity;
namespace RCS.Model.ClientMoel
{
public class RcsData
{
public RcsData(uint subTaskNo, Base_Task? task)
{
SubTaskNo = subTaskNo;
Task = task;
}
/// <summary>
/// 任务号
/// </summary>
public uint SubTaskNo { get; set; }
/// <summary>
/// AGV命令
/// </summary>
public EnumMsg.ActionType ActionType { get; set; }
/// <summary>
/// 主任务
/// </summary>
public Base_Task? Task { get; set; }
/// <summary>
/// 任务的地标信息
/// </summary>
public List<RcsDataDetail> Details { get; set; } = new List<RcsDataDetail>();
/// <summary>
/// 取放货标识
/// </summary>
public EnumMsg.PickPut PickPut { get; set; }
/// <summary>
/// 顶升高度
/// </summary>
public ushort Height { get; set; }
/// <summary>
/// 角度
/// </summary>
public short Angle { get; set; }
/// <summary>
/// 角度
/// </summary>
public EnumMsg.RCSToAGV RCSToAGV { get; set; }
}
public class RcsDataDetail
{
/// <summary>
/// 码值
/// </summary>
public string Barcode { get; set; }
/// <summary>
/// 坐标X值
/// </summary>
public int XLength { get; set; }
/// <summary>
/// 坐标Y值
/// </summary>
public int YLength { get; set; }
/// <summary>
/// 地标属性
/// </summary>
public EnumMsg.PointType PointType { get; set; }
/// <summary>
/// 调整属性
/// </summary>
public EnumMsg.Adjust Adjust { get; set; }
/// <summary>
/// 动作属性
/// </summary>
public EnumMsg.ActionType ActionType { get; set; }
/// <summary>
/// 顶升高度
/// </summary>
public ushort Height { get; set; }
/// <summary>
/// 雷达值
/// </summary>
public byte Radar { get; set; }
/// <summary>
/// 车头角度
/// </summary>
public short AgvAngle { get; set; }
/// <summary>
/// 转盘角度
/// </summary>
public short DialAngle { get; set; }
/// <summary>
/// 转盘方向
/// </summary>
public EnumMsg.Direction DialDirection { get; set; } = EnumMsg.Direction.无方向;
/// <summary>
/// 货物输送方向
/// </summary>
public EnumMsg.Direction TransportDirection { get; set; } = EnumMsg.Direction.无方向;
/// <summary>
/// 速度
/// </summary>
public int Speed { get; set; }
/// <summary>
/// 重量
/// </summary>
public float Weight { get; set; }
/// <summary>
/// Rcs下发的错误码
/// </summary>
public byte RCSErrorCode { get; set; }
/// <summary>
/// 是否横移
/// </summary>
public bool IsLateralDisplacement { get; set; }
/// <summary>
/// 定位精确调节X
/// </summary>
public short AdjustX { set; get; }
/// <summary>
/// 定位精确调节Y
/// </summary>
public short AdjustY { set; get; }
/// <summary>
/// 路径点信息
/// </summary>
public Base_PathPoint PathPoint { get; set; }
}
}