ClientInfo.cs
4.0 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
179
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Dolen.Agv
{
/// <summary>
/// 客户端的动作
/// </summary>
public enum ClientAction : byte
{
/// <summary>
/// 没有动作
/// </summary>
None,
#region 服务器发送
/// <summary>
/// 到达线体(服务端)
/// </summary>
Arrive,
/// <summary>
/// 小车准备好(服务端)
/// </summary>
Ready,
/// <summary>
/// 料架请求进入线体(服务端)
/// </summary>
ReadyEnter,
/// <summary>
/// 料架正在进入线体(服务端)
/// </summary>
Entering,
/// <summary>
/// 料架请求离开线体(服务端)
/// </summary>
ReadyLeave,
/// <summary>
/// 料架正在离开线体(服务端)
/// </summary>
Leaving,
/// <summary>
/// 完成进入/离开(服务端)
/// </summary>
Complete,
#endregion
#region 客户端
/// <summary>
/// 线体需要流入料架(客户端)
/// </summary>
NeedEnter,
/// <summary>
/// 线体需要流出料架(客户端)
/// </summary>
NeedLeave,
/// <summary>
/// 线体可以进入料架/线体可以流出料架(客户端)
/// </summary>
NeedEnterLeave,
/// <summary>
/// 允许料架进入线体(客户端)
/// </summary>
MayEnter,
/// <summary>
/// 允许料架流出线体(客户端)
/// </summary>
MayLeave,
/// <summary>
/// 料架进入线体完成(客户端)
/// </summary>
FinishEnter,
/// <summary>
/// 料架流出线体完成(客户端)
/// </summary>
FinishLeave,
/// <summary>
/// 不允许料架进入线体(客户端)
/// </summary>
MayNotEnter,
/// <summary>
/// 不允许料架流出线体(客户端)
/// </summary>
MayNotLeave,
#endregion
}
/// <summary>
/// 客户端的优先级
/// </summary>
public enum ClientLevel : byte
{
None,
/// <summary>
/// 低
/// </summary>
Low,
/// <summary>
/// 中等
/// </summary>
Middle,
/// <summary>
/// 高
/// </summary>
High
}
/// <summary>
/// 客户端的料架类型
/// </summary>
public enum ClientShelf : byte
{
/// <summary>
/// 没有架子
/// </summary>
None,
/// <summary>
/// 空架子
/// </summary>
Empty,
/// <summary>
/// 满架子
/// </summary>
Full,
/// <summary>
/// 空的料串
/// </summary>
EmptyString,
/// <summary>
/// 满料串
/// </summary>
FullString,
/// <summary>
/// 空料架
/// </summary>
EmptyShelf,
/// <summary>
/// 满料架
/// </summary>
FullShelf,
/// <summary>
/// 空包装料架
/// </summary>
EmptyPack,
/// <summary>
/// 满包装料架
/// </summary>
FullPack,
}
/// <summary>
/// 客户端类型
/// </summary>
public enum ClientType : byte
{
/// <summary>
/// 无
/// </summary>
None,
/// <summary>
/// 紧急料线体
/// </summary>
Urgent,
/// <summary>
/// 包装料线体
/// </summary>
Pack,
/// <summary>
/// 分盘料线体
/// </summary>
Cut,
/// <summary>
/// 混合料线体
/// </summary>
Mix
}
}