AgvIine.cs
12.7 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
using System.Collections.Generic;
namespace HHECS.Model.Entities
{
public class AgvIine
{
public static List<AgvLineItem> list = null;
public static void Init()
{
list = new List<AgvLineItem>();
////电梯口单工位接驳台
//list.Add(new AgvLineItem() { TaskAgvLine = 24, AgvPoint = "PutBatteries", startStation = "电梯口单工位接驳台", endStation = "分选线上料机", IsWareHose = false, IsOut = false });
//电梯口双工位接驳台
list.Add(new AgvLineItem() { TaskAgvLine = 25, AgvPoint = "PutParts", startStation = "电梯口双工位接驳台", endStation = "电芯自动库进出料口", IsWareHose = false, IsOut = false });
list.Add(new AgvLineItem() { TaskAgvLine = 31, AgvPoint = "PutParts", startStation = "电梯口双工位接驳台", endStation = "产线A散热板上料机1", IsWareHose = false, IsOut = false });
list.Add(new AgvLineItem() { TaskAgvLine = 30, AgvPoint = "PutParts", startStation = "电梯口双工位接驳台", endStation = "产线B散热板上料机1", IsWareHose = false, IsOut = false });
list.Add(new AgvLineItem() { TaskAgvLine = 33, AgvPoint = "PutParts", startStation = "电梯口双工位接驳台", endStation = "产线A散热板上料机2", IsWareHose = false, IsOut = false });
list.Add(new AgvLineItem() { TaskAgvLine = 32, AgvPoint = "PutParts", startStation = "电梯口双工位接驳台", endStation = "产线B散热板上料机2", IsWareHose = false, IsOut = false });
list.Add(new AgvLineItem() { TaskAgvLine = 34, AgvPoint = "PutParts", startStation = "电梯口双工位接驳台", endStation = "单排人工库进出料口", IsWareHose = false, IsOut = false });
list.Add(new AgvLineItem() { TaskAgvLine = 35, AgvPoint = "PutParts", startStation = "电梯口双工位接驳台", endStation = "双排人工库进出料口", IsWareHose = false, IsOut = false });
list.Add(new AgvLineItem() { TaskAgvLine = 37, AgvPoint = "PutParts", startStation = "产线A散热板上料机1", endStation = "电梯口双工位接驳台", IsWareHose = false, IsOut = false });
list.Add(new AgvLineItem() { TaskAgvLine = 36, AgvPoint = "PutParts", startStation = "产线B散热板上料机1", endStation = "电梯口双工位接驳台", IsWareHose = false, IsOut = false });
list.Add(new AgvLineItem() { TaskAgvLine = 39, AgvPoint = "PutParts", startStation = "产线A散热板上料机2", endStation = "电梯口双工位接驳台", IsWareHose = false, IsOut = false });
list.Add(new AgvLineItem() { TaskAgvLine = 38, AgvPoint = "PutParts", startStation = "产线B散热板上料机2", endStation = "电梯口双工位接驳台", IsWareHose = false, IsOut = false });
list.Add(new AgvLineItem() { TaskAgvLine = 41, AgvPoint = "PutParts", startStation = "产线A汇流排上料机", endStation = "电梯口双工位接驳台", IsWareHose = false, IsOut = false });
list.Add(new AgvLineItem() { TaskAgvLine = 40, AgvPoint = "PutParts", startStation = "产线B汇流排上料机", endStation = "电梯口双工位接驳台", IsWareHose = false, IsOut = false });
list.Add(new AgvLineItem() { TaskAgvLine = 42, AgvPoint = "PutParts", startStation = "电梯口双工位接驳台", endStation = "双排人工库进出料口", IsWareHose = false, IsOut = false });
list.Add(new AgvLineItem() { TaskAgvLine = 43, AgvPoint = "PutParts", startStation = "电梯口双工位接驳台", endStation = "上盖上料机", IsWareHose = false, IsOut = false });
list.Add(new AgvLineItem() { TaskAgvLine = 44, AgvPoint = "PutParts", startStation = "电梯口双工位接驳台", endStation = "侧板上料机", IsWareHose = false, IsOut = false });
list.Add(new AgvLineItem() { TaskAgvLine = 45, AgvPoint = "PutParts", startStation = "电梯口双工位接驳台", endStation = "端板A上料机", IsWareHose = false, IsOut = false });
list.Add(new AgvLineItem() { TaskAgvLine = 46, AgvPoint = "PutParts", startStation = "电梯口双工位接驳台", endStation = "端板B上料机", IsWareHose = false, IsOut = false });
list.Add(new AgvLineItem() { TaskAgvLine = 47, AgvPoint = "PutParts", startStation = "电梯口双工位接驳台", endStation = "底盖上料机", IsWareHose = false, IsOut = false });
list.Add(new AgvLineItem() { TaskAgvLine = 48, AgvPoint = "PutParts", startStation = "上盖上料机", endStation = "电梯口双工位接驳台", IsWareHose = false, IsOut = false });
list.Add(new AgvLineItem() { TaskAgvLine = 49, AgvPoint = "PutParts", startStation = "侧板上料机", endStation = "电梯口双工位接驳台", IsWareHose = false, IsOut = false });
list.Add(new AgvLineItem() { TaskAgvLine = 50, AgvPoint = "PutParts", startStation = "端板A上料机", endStation = "电梯口双工位接驳台", IsWareHose = false, IsOut = false });
list.Add(new AgvLineItem() { TaskAgvLine = 51, AgvPoint = "PutParts", startStation = "端板B上料机", endStation = "电梯口双工位接驳台", IsWareHose = false, IsOut = false });
list.Add(new AgvLineItem() { TaskAgvLine = 52, AgvPoint = "PutParts", startStation = "底盖上料机", endStation = "电梯口双工位接驳台", IsWareHose = false, IsOut = false });
list.Add(new AgvLineItem() { TaskAgvLine = 54, AgvPoint = "PutParts", startStation = "电梯口双工位接驳台", endStation = "双排人工库进出料口", IsWareHose = false, IsOut = false });
//电芯自动库进出料口
list.Add(new AgvLineItem() { TaskAgvLine = 4, AgvPoint = "BatteriesStation", startStation = "电芯自动库进出料口", endStation = "分选线档位1", IsWareHose = true, IsOut = true });
list.Add(new AgvLineItem() { TaskAgvLine = 5, AgvPoint = "BatteriesStation", startStation = "电芯自动库进出料口", endStation = "分选线档位2", IsWareHose = true, IsOut = true });
list.Add(new AgvLineItem() { TaskAgvLine = 6, AgvPoint = "BatteriesStation", startStation = "电芯自动库进出料口", endStation = "分选线档位3", IsWareHose = true, IsOut = true });
list.Add(new AgvLineItem() { TaskAgvLine = 7, AgvPoint = "BatteriesStation", startStation = "电芯自动库进出料口", endStation = "分选线档位4", IsWareHose = true, IsOut = true });
list.Add(new AgvLineItem() { TaskAgvLine = 8, AgvPoint = "BatteriesStation", startStation = "电芯自动库进出料口", endStation = "分选线档位5", IsWareHose = true, IsOut = true });
list.Add(new AgvLineItem() { TaskAgvLine = 9, AgvPoint = "BatteriesStation", startStation = "电芯自动库进出料口", endStation = "分选线档位6", IsWareHose = true, IsOut = true });
list.Add(new AgvLineItem() { TaskAgvLine = 10, AgvPoint = "BatteriesStation", startStation = "电芯自动库进出料口", endStation = "分选线档位7", IsWareHose = true, IsOut = true });
list.Add(new AgvLineItem() { TaskAgvLine = 17, AgvPoint = "BatteriesStation", startStation = "电芯自动库进出料口", endStation = "产线A电芯上料机", IsWareHose = true, IsOut = true });
list.Add(new AgvLineItem() { TaskAgvLine = 16, AgvPoint = "BatteriesStation", startStation = "电芯自动库进出料口", endStation = "产线B电芯上料机", IsWareHose = true, IsOut = true });
list.Add(new AgvLineItem() { TaskAgvLine = 55, AgvPoint = "BatteriesStation", startStation = "电芯自动库进出料口", endStation = "电梯口双工位接驳台", IsWareHose = true, IsOut = true });
//单排人工库进出料口
list.Add(new AgvLineItem() { TaskAgvLine = 19, AgvPoint = "PartsStation1", startStation = "单排人工库进出料口", endStation = "产线A散热板上料机1", IsWareHose = true, IsOut = true });
list.Add(new AgvLineItem() { TaskAgvLine = 18, AgvPoint = "PartsStation1", startStation = "单排人工库进出料口", endStation = "产线B散热板上料机1", IsWareHose = true, IsOut = true });
list.Add(new AgvLineItem() { TaskAgvLine = 21, AgvPoint = "PartsStation1", startStation = "单排人工库进出料口", endStation = "产线A散热板上料机2", IsWareHose = true, IsOut = true });
list.Add(new AgvLineItem() { TaskAgvLine = 20, AgvPoint = "PartsStation1", startStation = "单排人工库进出料口", endStation = "产线B散热板上料机2", IsWareHose = true, IsOut = true });
list.Add(new AgvLineItem() { TaskAgvLine = 56, AgvPoint = "PartsStation1", startStation = "单排人工库进出料口", endStation = "电梯口双工位接驳台", IsWareHose = true, IsOut = true });
//双排人工库进出料口
list.Add(new AgvLineItem() { TaskAgvLine = 27, AgvPoint = "PartsStation2", startStation = "双排人工库进出料口", endStation = "产线A散热板上料机1", IsWareHose = true, IsOut = true });
list.Add(new AgvLineItem() { TaskAgvLine = 26, AgvPoint = "PartsStation2", startStation = "双排人工库进出料口", endStation = "产线B散热板上料机1", IsWareHose = true, IsOut = true });
list.Add(new AgvLineItem() { TaskAgvLine = 29, AgvPoint = "PartsStation2", startStation = "双排人工库进出料口", endStation = "产线A散热板上料机2", IsWareHose = true, IsOut = true });
list.Add(new AgvLineItem() { TaskAgvLine = 28, AgvPoint = "PartsStation2", startStation = "双排人工库进出料口", endStation = "产线B散热板上料机2", IsWareHose = true, IsOut = true });
list.Add(new AgvLineItem() { TaskAgvLine = 23, AgvPoint = "PartsStation2", startStation = "双排人工库进出料口", endStation = "产线A汇流排上料机", IsWareHose = true, IsOut = true });
list.Add(new AgvLineItem() { TaskAgvLine = 22, AgvPoint = "PartsStation2", startStation = "双排人工库进出料口", endStation = "产线B汇流排上料机", IsWareHose = true, IsOut = true });
list.Add(new AgvLineItem() { TaskAgvLine = 11, AgvPoint = "PartsStation2", startStation = "双排人工库进出料口", endStation = "上盖上料机", IsWareHose = true, IsOut = true });
list.Add(new AgvLineItem() { TaskAgvLine = 12, AgvPoint = "PartsStation2", startStation = "双排人工库进出料口", endStation = "侧板上料机", IsWareHose = true, IsOut = true });
list.Add(new AgvLineItem() { TaskAgvLine = 13, AgvPoint = "PartsStation2", startStation = "双排人工库进出料口", endStation = "端板A上料机", IsWareHose = true, IsOut = true });
list.Add(new AgvLineItem() { TaskAgvLine = 14, AgvPoint = "PartsStation2", startStation = "双排人工库进出料口", endStation = "端板B上料机", IsWareHose = true, IsOut = true });
list.Add(new AgvLineItem() { TaskAgvLine = 15, AgvPoint = "PartsStation2", startStation = "双排人工库进出料口", endStation = "底盖上料机", IsWareHose = true, IsOut = true });
list.Add(new AgvLineItem() { TaskAgvLine = 57, AgvPoint = "PartsStation2", startStation = "双排人工库进出料口", endStation = "电梯口双工位接驳台", IsWareHose = true, IsOut = true });
//模组升降机
list.Add(new AgvLineItem() { TaskAgvLine = 2, AgvPoint = "ProduceStation", startStation = "模组升降机", endStation = "电梯口成品接驳台", IsWareHose = false, IsOut = false });
//成品库出入口模组升降机
list.Add(new AgvLineItem() { TaskAgvLine = 1, AgvPoint = "ProductStation", startStation = "模组升降机", endStation = "成品库进出料口", IsWareHose = true, IsOut = true });
list.Add(new AgvLineItem() { TaskAgvLine = 3, AgvPoint = "ProductStation", startStation = "成品库进出料口", endStation = "电梯口成品接驳台", IsWareHose = true, IsOut = true });
list.Add(new AgvLineItem() { TaskAgvLine = 53, AgvPoint = "ProductStation", startStation = "电梯口成品接驳台", endStation = "成品库进出料口", IsWareHose = true, IsOut = false });
}
}
public class AgvLineItem
{
/// <summary>
/// AGV线路号
/// </summary>
public int TaskAgvLine { get; set; }
/// <summary>
/// 呼叫点
/// </summary>
public string AgvPoint { get; set; }
/// 站台
/// </summary>
public string startStation { get; set; }
/// 站台
/// </summary>
public string endStation { get; set; }
/// <summary>
/// 是否是立库站台
/// </summary>
public bool IsWareHose { get; set; }
/// <summary>
/// 是否是出库
/// </summary>
public bool IsOut { get; set; }
}
}