StationProps.cs
17.6 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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
using System.ComponentModel;
namespace HHECS.Executor.EquipmentHandler
{
public enum StationProps
{
#region PLC状态
/// <summary>
/// PLC状态-机器操作模式
/// </summary>
OperationModel,
/// <summary>
/// PLC状态-设备状态
/// </summary>
Status,
/// <summary>
/// PLC状态-机器总故障
/// </summary>
TotalError,
/// <summary>
/// PLC状态-允许进入(如果机器准备好生产,且无货。如果是输送线就是无故障、且无货)
/// </summary>
AllowEntry,
#endregion
#region PLC地址请求
/// <summary>
/// PLC地址请求-报文
/// </summary>
RequestMessage,
/// <summary>
/// PLC地址请求-装载状态
/// </summary>
RequestLoadStatus,
/// <summary>
/// PLC地址请求-读码器编号
/// </summary>
RequestNumber,
/// <summary>
/// PLC地址请求-条码
/// </summary>
RequestBarcode,
/// <summary>
/// PLC地址请求-工件型号
/// </summary>
RequestProductType,
/// <summary>
/// PLC地址请求-重量
/// </summary>
RequestWeight,
/// <summary>
/// PLC地址请求-长度
/// </summary>
RequestLength,
/// <summary>
/// PLC地址请求-宽度
/// </summary>
RequestWidth,
/// <summary>
/// PLC地址请求-高度
/// </summary>
RequestHeight,
/// <summary>
/// PLC地址请求-RetCode
/// </summary>
RequestRetCode,
/// <summary>
/// PLC地址请求-备用
/// </summary>
RequestBackup,
#endregion
#region PLC位置到达
/// <summary>
/// PLC位置到达-报文
/// </summary>
ArriveMessage,
/// <summary>
/// PLC位置到达-结果
/// </summary>
ArriveResult,
/// <summary>
/// PLC位置到达-实际到达地址
/// </summary>
ArriveRealAddress,
ArriveAllcationAddress,
/// <summary>
/// PLC位置到达-WCS分配地址
/// </summary>
ArriveAllocationAddress,
/// <summary>
/// PLC位置到达-条码
/// </summary>
ArriveBarcode,
/// <summary>
/// PLC位置到达-工件型号
/// </summary>
ArriveProductType,
/// <summary>
/// PLC位置到达-填充位
/// </summary>
ArrivePaddingBit,
/// <summary>
/// PLC位置到达-备用
/// </summary>
ArriveBackup,
#endregion
#region PLC 控制指令
/// <summary>
/// PLC控制指令
/// </summary>
ControlMessage,
/// <summary>
/// PLC控制指令-类型
/// </summary>
ControlType,
/// <summary>
/// PLC控制指令-站台编号
/// </summary>
ControlNumber,
/// <summary>
/// PLC控制指令-条码
/// </summary>
ControlBarcode,
/// <summary>
/// PLC控制指令-另一个条码
/// </summary>
ControlOtherBarcode,
/// <summary>
/// PLC控制指令-工件型号
/// </summary>
ControlProductType,
/// <summary>
/// PLC控制指令-备用
/// </summary>
ControlBackup,
#endregion
#region PLC应答
/// <summary>
/// PLC应答-报文
/// </summary>
ACKMessage,
/// <summary>
/// PLC应答-装载状态
/// </summary>
ACKLoadStatus,
/// <summary>
/// PLC应答-站台编码
/// </summary>
ACKNumber,
/// <summary>
/// PLC应答-条码
/// </summary>
ACKBarcode,
/// <summary>
/// PLC应答-工件型号
/// </summary>
ACKProductType,
/// <summary>
/// PLC应答-备用
/// </summary>
ACKBackup,
/// <summary>
/// PLC应答-长度
/// </summary>
ACKLength,
#endregion
#region WCS地址回复 (针对地址请求)
/// <summary>
/// WCS地址回复-报文
/// </summary>
WCSReplyMessage,
/// <summary>
/// WCS地址回复-装载状态
/// </summary>
WCSReplyLoadStatus,
/// <summary>
/// WCS地址回复-站台编码
/// </summary>
WCSReplyNumber,
/// <summary>
/// WCS地址回复-条码
/// </summary>
WCSReplyBarcode,
/// <summary>
/// WCS地址回复-工件型号
/// </summary>
WCSReplyProductType,
/// <summary>
/// WCS地址回复-重量
/// </summary>
WCSReplyWeight,
/// <summary>
/// WCS地址回复-长度
/// </summary>
WCSReplyLength,
/// <summary>
/// WCS地址回复-宽度
/// </summary>
WCSReplyWidth,
/// <summary>
/// WCS地址回复-高度
/// </summary>
WCSReplyHeight,
/// <summary>
/// WCS地址回复-目标地址
/// </summary>
WCSReplyAddress,
/// <summary>
/// WCS地址回复-备用
/// </summary>
WCSReplyBackup,
/// <summary>
/// WCS地址回复-材质
/// </summary>
WCSReplyMaterial,
/// <summary>
/// WCS地址回复-管径
/// </summary>
WCSReplyDiameter,
/// <summary>
/// WCS地址回复-壁厚
/// </summary>
WCSReplyThickness,
#endregion
#region WCS应答 (针对位置到达、控制指令)
/// <summary>
/// WCS应答-报文
/// </summary>
WCSACKMessage,
/// <summary>
/// WCS应答-装载状态
/// </summary>
WCSACKLoadStatus,
/// <summary>
/// WCS应答-站台编码
/// </summary>
WCSACKNumber,
/// <summary>
/// WCS应答-条码
/// </summary>
WCSACKBarcode,
/// <summary>
/// WCS应答-参数
/// </summary>
WCSACKParameter,
/// <summary>
/// WCS应答-工件型号
/// </summary>
WCSACKProductType,
/// <summary>
/// WCS应答-备用
/// </summary>
WCSACKBackup,
/// <summary>
/// WCS应答-材质
/// </summary>
WCSACKMaterial,
/// <summary>
/// WCS应答-长度
/// </summary>
WCSACKLength,
/// <summary>
/// WCS应答-管径
/// </summary>
WCSACKDiameter,
/// <summary>
/// WCS应答-壁厚
/// </summary>
WCSACKThickness,
/// <summary>
/// WCS应答-切割长度
/// </summary>
WCSACKCutLength,
///// <summary>
///// WCSACK-另一个材质(组对和焊接专用)
///// </summary>
//WCSACKOtherMaterial,
///// <summary>
///// WCSACK-另一个长度(组对和焊接专用)
///// </summary>
//WCSACKOtherLength,
///// <summary>
///// WCSACK-另一个管径(组对和焊接专用)
///// </summary>
//WCSACKOtherDiameter,
///// <summary>
///// WCSACK-另一个壁厚(组对和焊接专用)
///// </summary>
//WCSACKOtherThickness,
#endregion
#region WCS 控制指令
/// <summary>
/// WCS控制指令-报文
/// </summary>
WCSControlMessage,
/// <summary>
/// WCS控制指令-报文类型
/// </summary>
WCSControlType,
/// <summary>
/// WCS控制指令-站台编码
/// </summary>
WCSControlNumber,
/// <summary>
/// WCS控制指令-条码
/// </summary>
WCSControlBarcode,
/// <summary>
/// WCS控制指令-工件型号
/// </summary>
WCSControlProductType,
/// <summary>
/// WCS控制指令-材质
/// </summary>
WCSControlMaterial,
/// <summary>
/// WCS控制指令-长度
/// </summary>
WCSControlLength,
/// <summary>
/// WCS控制指令-管径
/// </summary>
WCSControlDiameter,
/// <summary>
/// WCS控制指令-壁厚
/// </summary>
WCSControlThickness,
/// <summary>
/// WCS控制指令-备用
/// </summary>
WCSControlBackup,
#endregion
#region 站台状态监控
/// <summary>
/// 条码
/// </summary>
[Description("站台监控-条码")]
StationMonitorBarcode,
/// <summary>
/// 自动状态 1=自动状态;0=手动;
/// </summary>
[Description("站台监控-自动状态")]
StationMonitorAutomation,
/// <summary>
/// 托盘占位
/// </summary>
[Description("站台监控-托盘占位")]
StationMonitorOccupied,
/// <summary>
/// 站台是否报错
/// </summary>
[Description("站台监控-是否报错")]
StationError,
/// <summary>
/// 目的地
/// </summary>
[Description("站台监控-目的地")]
StationDestination,
/// <summary>
/// 备用
/// </summary>
[Description("站台监控-备用")]
StationBackup,
/// <summary>
/// 位置 -- VGA小车位置标识
/// </summary>
[Description("站台监控-位置")]
StationMonitorPosition,
#endregion
#region 翻转
///// <summary>
///// PLC请求翻转
///// </summary>
//RequestFlip,
///// <summary>
///// WCS允许翻转
///// </summary>
//WCSAllowFlip,
#endregion
#region 切割
///// <summary>
///// PLC请求切割-报文
///// </summary>
//RequestCut,
///// <summary>
///// PLC请求切割-任务号
///// </summary>
//RequestCutTaskId,
///// <summary>
///// WCS回复切割-结果
///// </summary>
//WCSAllowCut,
///// <summary>
///// WCS回复切割-管段任务号
///// </summary>
//WCSCutTaskId,
///// <summary>
///// WCS回复切割-管段材料
///// </summary>
//WCSCutMaterial,
///// <summary>
///// WCS回复切割-管段长度
///// </summary>
//WCSCutLength,
///// <summary>
///// WCS回复切割-管段直径
///// </summary>
//WCSCutDiameter,
///// <summary>
///// WCS回复切割-管段壁厚
///// </summary>
//WCSCutThickness,
///// <summary>
///// PLC请求打印-报文
///// </summary>
//RequestPint,
///// <summary>
///// PLC请求打印-任务号
///// </summary>
//RequestPintTaskId,
///// <summary>
///// WCS回复打印-结果
///// </summary>
//WCSPint,
#endregion
#region 删除数据
/// <summary>
/// WCS请求删除数据
/// </summary>
WCSRequestDelete,
/// <summary>
/// PLC响应是否允许删除
/// </summary>
PLCReplyDelete,
#endregion
#region 打印
///// <summary>
///// PLC打标机状态
///// </summary>
//PintStatus,
///// <summary>
///// PLC打标机任务状态
///// </summary>
//PintTaskStatus,
#endregion
#region 组队工位新增地址
LocationStatus1, //PLC组队料点1状态
LocationStatus2, //PLC组队料点2状态
LocationStatus3, //PLC组队料点3状态
LocationStatus4, //PLC组队料点4状态
PLCNumber, //产品套数
WCSNumber, //产品套数
A_WCSProductType, //WCS应答信号-工件型号
A_Area, //送料区域
A_Row1, //A料框行1
A_Column1, //A料框列1
A_Layer1, //A料框层1
A_Amount1, //A料框数量1
A_Row2, //A料框行2
A_Column2, //A料框列2
A_Layer2, //A料框层2
A_Amount2, //A料框数量2
A_Row3, //A料框行3
A_Column3, //A料框列3
A_Layer3, //A料框层3
A_Amount3, //A料框数量3
A_Row4, //A料框行4
A_Column4, //A料框列4
A_Layer4, //A料框层4
A_Amount4, //A料框数量4
A_Row5, //A料框行5
A_Column5, //A料框列5
A_Layer5, //A料框层5
A_Amount5, //A料框数量5
A_Row6, //A料框行6
A_Column6, //A料框列6
A_Layer6, //A料框层6
A_Amount6, //A料框数量6
A_Row7, //A料框行7
A_Column7, //A料框列7
A_Layer7, //A料框层7
A_Amount7, //A料框数量7
A_Row8, //A料框行8
A_Column8, //A料框列8
A_Layer8, //A料框层8
A_Amount8, //A料框数量8
A_Row9, //A料框行9
A_Column9, //A料框列9
A_Layer9, //A料框层9
A_Amount9, //A料框数量9
A_Row10, //A料框行10
A_Column10, //A料框列10
A_Layer10, //A料框层10
A_Amount10, //A料框数量10
A_Row11, //A料框行11
A_Column11, //A料框列11
A_Layer11, //A料框层11
A_Amount11, //A料框数量11
A_Row12, //A料框行12
A_Column12, //A料框列12
A_Layer12, //A料框层12
A_Amount12, //A料框数量12
A_Row13, //A料框行13
A_Column13, //A料框列13
A_Layer13, //A料框层13
A_Amount13, //A料框数量13
A_Row14, //A料框行14
A_Column14, //A料框列14
A_Layer14, //A料框层14
A_Amount14, //A料框数量14
A_Row15, //A料框行15
A_Column15, //A料框列15
A_Layer15, //A料框层15
A_Amount15, //A料框数量15
A_Row16, //A料框行16
A_Column16, //A料框列16
A_Layer16, //A料框层16
A_Amount16, //A料框数量16
B_WCSProductType, //WCS应答信号-工件型号
B_Area, //送料区域
B_Row1, //B料框行1
B_Column1, //B料框列1
B_Layer1, //B料框层1
B_Amount1, //B料框数量1
B_Row2, //B料框行2
B_Column2, //B料框列2
B_Layer2, //B料框层2
B_Amount2, //B料框数量2
B_Row3, //B料框行3
B_Column3, //B料框列3
B_Layer3, //B料框层3
B_Amount3, //B料框数量3
B_Row4, //B料框行4
B_Column4, //B料框列4
B_Layer4, //B料框层4
B_Amount4, //B料框数量4
B_Row5, //B料框行5
B_Column5, //B料框列5
B_Layer5, //B料框层5
B_Amount5, //B料框数量5
B_Row6, //B料框行6
B_Column6, //B料框列6
B_Layer6, //B料框层6
B_Amount6, //B料框数量6
B_Row7, //B料框行7
B_Column7, //B料框列7
B_Layer7, //B料框层7
B_Amount7, //B料框数量7
B_Row8, //B料框行8
B_Column8, //B料框列8
B_Layer8, //B料框层8
B_Amount8, //B料框数量8
B_Row9, //B料框行9
B_Column9, //B料框列9
B_Layer9, //B料框层9
B_Amount9, //B料框数量9
B_Row10, //B料框行10
B_Column10, //B料框列10
B_Layer10, //B料框层10
B_Amount10, //B料框数量10
B_Row11, //B料框行11
B_Column11, //B料框列11
B_Layer11, //B料框层11
B_Amount11, //B料框数量11
B_Row12, //B料框行12
B_Column12, //B料框列12
B_Layer12, //B料框层12
B_Amount12, //B料框数量12
B_Row13, //B料框行13
B_Column13, //B料框列13
B_Layer13, //B料框层13
B_Amount13, //B料框数量13
B_Row14, //B料框行14
B_Column14, //B料框列14
B_Layer14, //B料框层14
B_Amount14, //B料框数量14
B_Row15, //B料框行15
B_Column15, //B料框列15
B_Layer15, //B料框层15
B_Amount15, //B料框数量15
B_Row16, //B料框行16
B_Column16, //B料框列16
B_Layer16, //B料框层16
B_Amount16, //B料框数量16
#endregion
#region RGV
RGVStatus,
RGVNow,
RGVStart,
RGVEnd,
#endregion
}
}