MapPoint.cs
8.68 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
using RCS.Model.Comm;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace WebRepository
{
/// <summary>
/// 地图元素附加信息
/// </summary>
[Table("t_base_map_point")]
public partial class MapPoint : SysEntity
{
public MapPoint()
{
}
/// <summary>
/// Id
/// areasID当加载地图时需要将字段名换成Id
/// </summary>
[Column("AID")]
public string AID { get; set; }
/// <summary>
/// 名称
/// </summary>
[Column("Name")]
public string Name { get; set; }
[Column("Left")]
public string Left { get; set; }
/// <summary>
/// 名称
/// </summary>
[Column("Top")]
public string Top { get; set; }
/// <summary>
/// X坐标
/// </summary>
[Column("IntXC")]
public string IntXC { get; set; }
/// <summary>
/// Y坐标
/// </summary>
[Column("IntYC")]
public string IntYC { get; set; }
/// <summary>
/// Y正方向
/// </summary>
[Column("chk_up")]
public bool? Chk_up { get; set; }
/// <summary>
/// Y负方向
/// </summary>
[Column("chk_down")]
public bool? Chk_down { get; set; }
/// <summary>
/// X负方向
/// </summary>
[Column("chk_left")]
public bool? Chk_left { get; set; }
/// <summary>
/// X正方向
/// </summary>
[Column("chk_right")]
public bool? Chk_right { get; set; }
/// <summary>
/// Y正方向距离
/// </summary>
[Column("txt_up")]
public string Txt_up { get; set; }
/// <summary>
/// Y负方向距离
/// </summary>
[Column("txt_down")]
public string Txt_down { get; set; }
/// <summary>
/// X负方向距离
/// </summary>
[Column("txt_left")]
public string Txt_left { get; set; }
/// <summary>
/// X正方向距离
/// </summary>
[Column("txt_right")]
public string Txt_right { get; set; }
/// <summary>
/// RFID类型
/// </summary>
[Column("point_type")]
public string Point_type { get; set; }
/// <summary>
/// 点位是否启用
/// </summary>
[Column("is_enable")]
public bool? Is_enable { get; set; }
/// <summary>
/// 是否旋转
/// </summary>
[Column("point_turn")]
public int? Point_turn { get; set; }
/// <summary>
/// 点所在区域
/// </summary>
[Column("point_area")]
public string Point_area { get; set; }
/// <summary>
/// RFID值
/// </summary>
[Column("RFID")]
public string RFID { get; set; }
/// <summary>
/// 停留时间
/// </summary>
[Column("PauseTime")]
public string PauseTime { get; set; }
/// <summary>
/// 是否驻停
/// </summary>
[Column("Isstop")]
public int? IsStop { get; set; }
/// <summary>
/// 停止等级
/// </summary>
[Column("IntStopLevel")]
public int? IntStopLevel { get; set; }
/// <summary>
/// 车头角度
/// </summary>
[Column("IntAgvOri")]
public float? IntAgvAngle { get; set; }
/// <summary>
/// X正G值,用于点位的权重计算
/// </summary>
public int? XPosGValue { get; set; }
/// <summary>
/// X负G值,用于点位的权重计算
/// </summary>
public int? XNegGValue { get; set; }
/// <summary>
/// Y正G值,用于点位的权重计算
/// </summary>
public int? YPosGValue { get; set; }
/// <summary>
/// Y负G值,用于点位的权重计算
/// </summary>
public int? YNegGValue { get; set; }
#region AGV用到的字段
/// <summary>
/// 名称
/// </summary>
[Column("AreaType")]
public string AreaType { get; set; }
/// <summary>
/// X坐标
/// </summary>
[Column("Barcode")]
public string Barcode { get; set; }
/// <summary>
/// 充点桩附属充点电距离
/// </summary>
[Column("BarcodeValue")]
public string BarcodeValue { get; set; }
/// <summary>
/// 附属点
/// </summary>
[Column("PreBarcode")]
public string PreBarcode { get; set; }
/// <summary>
/// 限制区域
/// JSon和调度系统都需要用到
/// </summary>
[Column("RegionName")]
public string RegionName { get; set; }
/// <summary>
/// 点类型
/// </summary>
[Column("PointType")]
public EnumMsg.PointType? PointType { get; set; }
/// <summary>
/// Y坐标
/// </summary>
[Column("IntX")]
public int? IntX { get; set; }
/// <summary>
/// Y正方向
/// </summary>
[Column("IntY")]
public int? IntY { get; set; }
/// <summary>
/// 是否可用
/// </summary>
[Column("IsEnable")]
public bool? IsEnable { get; set; }
/// <summary>
/// 是否被小车占
/// </summary>
[Column("IsOccupy")]
public bool? IsOccupy { get; set; }
/// <summary>
/// 占点小车编号
/// </summary>
[Column("OccupyAgvNo")]
public string OccupyAgvNo { get; set; }
/// <summary>
/// Y负方向
/// </summary>
[Column("IsXpos")]
public bool? IsXpos { get; set; }
/// <summary>
/// X负方向
/// </summary>
[Column("IsXNeg")]
public bool? IsXNeg { get; set; }
/// <summary>
/// X正方向
/// </summary>
[Column("IsYPos")]
public bool? IsYPos { get; set; }
/// <summary>
/// Y正方向距离
/// </summary>
[Column("IsYNeg")]
public bool? IsYNeg { get; set; }
/// <summary>
/// 限制区域
/// </summary>
[Column("XLength")]
public int? XLength { get; set; }
/// <summary>
/// 点位是否启用
/// </summary>
[Column("YLength")]
public int? YLength { get; set; }
/// <summary>
/// 车头角度
/// </summary>
[Column("AgvAngle")]
public int? AgvAngle { get; set; }
/// <summary>
/// 停留时间
/// </summary>
[Column("StopTime")]
public int? StopTime { get; set; }
/// <summary>
/// 充点桩附属充点电方向
/// </summary>
[Column("StopLevel")]
public int? StopLevel { get; set; }
/// <summary>
/// 车头方向
/// </summary>
[Column("AgvDirectionXPos")]
public int? AgvDirectionXPos { get; set; }
[Column("AgvDirectionXNeg")]
public int? AgvDirectionXNeg { get; set; }
[Column("AgvDirectionYPos")]
public int? AgvDirectionYPos { get; set; }
[Column("AgvDirectionYNeg")]
public int? AgvDirectionYNeg { get; set; }
/// <summary>
/// 转盘方向
/// </summary>
[Column("DialDirectionXPos")]
public int? DialDirectionXPos { get; set; }
[Column("DialDirectionXNeg")]
public int? DialDirectionXNeg { get; set; }
[Column("DialDirectionYPos")]
public int? DialDirectionYPos { get; set; }
[Column("DialDirectionYNeg")]
public int? DialDirectionYNeg { get; set; }
/// <summary>
/// 路径点属性
/// </summary>
[Column("AdjustIn")]
public int AdjustIn { get; set; }
[Column("AdjustOut")]
public int AdjustOut { get; set; }
/// <summary>
/// 小车速度
/// </summary>
[Column("SpeedXPos")]
public int SpeedXPos { get; set; }
[Column("SpeedXNeg")]
public int SpeedXNeg { get; set; }
[Column("SpeedYPos")]
public int SpeedYPos { get; set; }
[Column("SpeedYNeg")]
public int SpeedYNeg { get; set; }
/// <summary>
/// 雷达范围
/// </summary>
[Column("RadarXPos")]
public int RadarXPos { get; set; }
[Column("RadarXNeg")]
public int RadarXNeg { get; set; }
[Column("RadarYPos")]
public int RadarYPos { get; set; }
[Column("RadarYNeg")]
public int RadarYNeg { get; set; }
/// <summary>
/// 走弧优先级
/// </summary>
[Column("ArcingLevel")]
public int ArcingLevel { get; set; }
#endregion
}
}