@kengic/vue 0.30.1-beta.32 → 0.30.1-beta.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/kengic-vue.js +825 -793
- package/dist/src/component/KgSimulator/KgSimulator.model.d.ts +702 -141
- package/package.json +1 -1
|
@@ -1,68 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 获取对象的属性名数组.
|
|
3
|
-
* @param obj 对象.
|
|
4
|
-
*/
|
|
5
|
-
export declare function keys<C extends object>(obj: C): Array<keyof C>;
|
|
6
|
-
/** 场景实体. */
|
|
7
|
-
export declare class Scene {
|
|
8
|
-
/** 场景中的代理. */
|
|
9
|
-
agents?: Array<Agent> | null;
|
|
10
|
-
/** 配置JSON. */
|
|
11
|
-
configurationJson?: string | null;
|
|
12
|
-
/** 创建时间. */
|
|
13
|
-
createdAt?: string | null;
|
|
14
|
-
/** 场景中的创建者. */
|
|
15
|
-
creators?: Array<Creator> | null;
|
|
16
|
-
/** 场景深度. */
|
|
17
|
-
depth?: number | null;
|
|
18
|
-
/** 场景描述. */
|
|
19
|
-
description?: string | null;
|
|
20
|
-
/** 场景中的销毁者. */
|
|
21
|
-
destroyers?: Array<Destroyer> | null;
|
|
22
|
-
/** 场景中的输送线段. */
|
|
23
|
-
edges?: Array<Edge> | null;
|
|
24
|
-
/** 重力加速度. */
|
|
25
|
-
gravity?: number | null;
|
|
26
|
-
/** 场景高度,对应Z轴. */
|
|
27
|
-
height?: number | null;
|
|
28
|
-
/** 湿度百分比. */
|
|
29
|
-
humidity?: number | null;
|
|
30
|
-
/** 场景唯一标识符(主键). */
|
|
31
|
-
id?: string | null;
|
|
32
|
-
/** 最后运行时间. */
|
|
33
|
-
lastRunTime?: string | null;
|
|
34
|
-
/** 场景名称. */
|
|
35
|
-
name?: string | null;
|
|
36
|
-
/**
|
|
37
|
-
* 普通输送机.
|
|
38
|
-
*/
|
|
39
|
-
stations?: Array<Station> | null;
|
|
40
|
-
/**
|
|
41
|
-
* 叠盘机.
|
|
42
|
-
*/
|
|
43
|
-
DPJ?: Array<Station> | null;
|
|
44
|
-
/**
|
|
45
|
-
* 顶升移载机.
|
|
46
|
-
*/
|
|
47
|
-
DSYZJ?: Array<Station> | null;
|
|
48
|
-
/**
|
|
49
|
-
* 光电传感器.
|
|
50
|
-
*/
|
|
51
|
-
GDCGQ?: Array<Station> | null;
|
|
52
|
-
/** Status. */
|
|
53
|
-
status?: 0 | 1 | 2 | 3 | 4 | 5 | null;
|
|
54
|
-
/** 场景中的任务. */
|
|
55
|
-
tasks?: Array<AgentTask> | null;
|
|
56
|
-
/** 环境温度(摄氏度). */
|
|
57
|
-
temperature?: number | null;
|
|
58
|
-
/** 仿真时间倍率. */
|
|
59
|
-
timeScale?: number | null;
|
|
60
|
-
/** 更新时间. */
|
|
61
|
-
updatedAt?: string | null;
|
|
62
|
-
/** 场景宽度,对应X轴. */
|
|
63
|
-
width?: number | null;
|
|
64
|
-
constructor(obj?: Scene);
|
|
65
|
-
}
|
|
66
1
|
/** RGV代理实体。
|
|
67
2
|
* 从PLC下发命令执行动作的都算Agent。动作包括不限于移动,转弯、加速、减速等. */
|
|
68
3
|
export declare class Agent {
|
|
@@ -86,6 +21,8 @@ export declare class Agent {
|
|
|
86
21
|
* </p>.
|
|
87
22
|
*/
|
|
88
23
|
brakingAcceleration?: number | null;
|
|
24
|
+
/** 编号. */
|
|
25
|
+
code?: string | null;
|
|
89
26
|
/**
|
|
90
27
|
* 通信时延.单位s.
|
|
91
28
|
* 该变量CommunicationDelay和当前速度Velocity还充当是否能刹停的标志,如果都为0则按之前的进行处理,否则需要判断刹停距离是否足够才能进行任务分配.
|
|
@@ -117,7 +54,7 @@ export declare class Agent {
|
|
|
117
54
|
/** Status. */
|
|
118
55
|
status?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | null;
|
|
119
56
|
/** Target Change Reason. */
|
|
120
|
-
targetChangeReason?: 0 | 1 | 2 | null;
|
|
57
|
+
targetChangeReason?: 0 | 1 | 2 | 3 | null;
|
|
121
58
|
/** Type. */
|
|
122
59
|
type?: 0 | 1 | 2 | null;
|
|
123
60
|
/** 更新时间. */
|
|
@@ -137,91 +74,59 @@ export declare class Agent {
|
|
|
137
74
|
z?: number | null;
|
|
138
75
|
constructor(obj?: Agent);
|
|
139
76
|
}
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
* 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
|
|
145
|
-
*/
|
|
77
|
+
export declare class AgentDto {
|
|
78
|
+
/** Acceleration. */
|
|
79
|
+
acceleration?: number | null;
|
|
80
|
+
/** Angle. */
|
|
146
81
|
angle?: number | null;
|
|
147
|
-
/**
|
|
148
|
-
|
|
149
|
-
/**
|
|
150
|
-
|
|
151
|
-
/**
|
|
82
|
+
/** Braking Acceleration. */
|
|
83
|
+
brakingAcceleration?: number | null;
|
|
84
|
+
/** Communication Delay. */
|
|
85
|
+
communicationDelay?: number | null;
|
|
86
|
+
/** Destination Task Id. */
|
|
87
|
+
destinationTaskId?: string | null;
|
|
88
|
+
/** Height. */
|
|
152
89
|
height?: number | null;
|
|
153
|
-
/**
|
|
90
|
+
/** Id. */
|
|
154
91
|
id?: string | null;
|
|
155
|
-
/**
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
isEnable?: boolean | null;
|
|
159
|
-
/** 创建者长度,对应Y轴. */
|
|
92
|
+
/** Is Available. */
|
|
93
|
+
isAvailable?: boolean | null;
|
|
94
|
+
/** Length. */
|
|
160
95
|
length?: number | null;
|
|
161
|
-
/**
|
|
162
|
-
|
|
163
|
-
/**
|
|
164
|
-
|
|
165
|
-
/**
|
|
166
|
-
|
|
167
|
-
/**
|
|
168
|
-
|
|
169
|
-
/**
|
|
170
|
-
|
|
171
|
-
/**
|
|
96
|
+
/** Max Velocity. */
|
|
97
|
+
maxVelocity?: number | null;
|
|
98
|
+
/** Status. */
|
|
99
|
+
status?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | null;
|
|
100
|
+
/** Target Change Reason. */
|
|
101
|
+
targetChangeReason?: 0 | 1 | 2 | 3 | null;
|
|
102
|
+
/** Type. */
|
|
103
|
+
type?: 0 | 1 | 2 | null;
|
|
104
|
+
/** Velocity. */
|
|
105
|
+
velocity?: number | null;
|
|
106
|
+
/** Width. */
|
|
172
107
|
width?: number | null;
|
|
173
|
-
/**
|
|
108
|
+
/** X. */
|
|
174
109
|
x?: number | null;
|
|
175
|
-
/**
|
|
110
|
+
/** Y. */
|
|
176
111
|
y?: number | null;
|
|
177
|
-
/**
|
|
112
|
+
/** Z. */
|
|
178
113
|
z?: number | null;
|
|
179
|
-
constructor(obj?:
|
|
114
|
+
constructor(obj?: AgentDto);
|
|
180
115
|
}
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
/**
|
|
186
|
-
* 角度(朝向).单位度.
|
|
187
|
-
* 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
|
|
188
|
-
*/
|
|
116
|
+
export declare class AgentStatusUpdateRequest {
|
|
117
|
+
/** Agent Id. */
|
|
118
|
+
agentId?: string | null;
|
|
119
|
+
/** 角度(度),0度表示向右(正X方向),90度表示向上(正Y方向). */
|
|
189
120
|
angle?: number | null;
|
|
190
|
-
/** 创建时间. */
|
|
191
|
-
createdAt?: string | null;
|
|
192
|
-
/** Edge. */
|
|
193
|
-
edge?: Edge | null;
|
|
194
|
-
/** 站点所属边. */
|
|
195
|
-
edgeId?: string | null;
|
|
196
|
-
/** 设备高度,对应Z轴. */
|
|
197
|
-
height?: number | null;
|
|
198
|
-
/** 站点唯一标识符(主键). */
|
|
199
|
-
id?: string | null;
|
|
200
|
-
/** 设备长度,对应Y轴. */
|
|
201
|
-
length?: number | null;
|
|
202
|
-
/** Priority. */
|
|
203
|
-
priority?: 0 | 1 | 2 | null;
|
|
204
|
-
/** Scene. */
|
|
205
|
-
scene?: Scene | null;
|
|
206
|
-
/** 所属场景ID. */
|
|
207
|
-
sceneId?: string | null;
|
|
208
|
-
/** 当前位置基于所属边的起始点的偏移量. */
|
|
209
|
-
startOffset?: number | null;
|
|
210
121
|
/** Status. */
|
|
211
|
-
status?: 0 | 1 | 2 | 3 | 4 | null;
|
|
212
|
-
/**
|
|
213
|
-
type?: 0 | 1 | 2 | 3 | 4 | null;
|
|
214
|
-
/** 更新时间. */
|
|
215
|
-
updatedAt?: string | null;
|
|
216
|
-
/** 设备宽度,对应X轴. */
|
|
217
|
-
width?: number | null;
|
|
218
|
-
/** 坐标X. */
|
|
122
|
+
status?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | null;
|
|
123
|
+
/** X. */
|
|
219
124
|
x?: number | null;
|
|
220
|
-
/**
|
|
125
|
+
/** Y. */
|
|
221
126
|
y?: number | null;
|
|
222
|
-
/**
|
|
127
|
+
/** Z. */
|
|
223
128
|
z?: number | null;
|
|
224
|
-
constructor(obj?:
|
|
129
|
+
constructor(obj?: AgentStatusUpdateRequest);
|
|
225
130
|
}
|
|
226
131
|
/** 代理任务实体. */
|
|
227
132
|
export declare class AgentTask {
|
|
@@ -274,14 +179,151 @@ export declare class AgentTask {
|
|
|
274
179
|
z?: number | null;
|
|
275
180
|
constructor(obj?: AgentTask);
|
|
276
181
|
}
|
|
277
|
-
export declare class
|
|
278
|
-
/**
|
|
182
|
+
export declare class AgentTaskDto {
|
|
183
|
+
/** Agent Task Type. */
|
|
184
|
+
agentTaskType?: 0 | 1 | 2 | 3 | 4 | 5 | null;
|
|
185
|
+
/** Angle. */
|
|
186
|
+
angle?: number | null;
|
|
187
|
+
/** Height. */
|
|
188
|
+
height?: number | null;
|
|
189
|
+
/** Id. */
|
|
190
|
+
id?: string | null;
|
|
191
|
+
/** Length. */
|
|
192
|
+
length?: number | null;
|
|
193
|
+
/** Order. */
|
|
194
|
+
order?: number | null;
|
|
195
|
+
/** Priority. */
|
|
196
|
+
priority?: 1 | 2 | 3 | null;
|
|
197
|
+
/** Source Station Id. */
|
|
198
|
+
sourceStationId?: string | null;
|
|
199
|
+
/** Status. */
|
|
200
|
+
status?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | null;
|
|
201
|
+
/** Target Station Id. */
|
|
202
|
+
targetStationId?: string | null;
|
|
203
|
+
/** Width. */
|
|
204
|
+
width?: number | null;
|
|
205
|
+
/** X. */
|
|
206
|
+
x?: number | null;
|
|
207
|
+
/** Y. */
|
|
208
|
+
y?: number | null;
|
|
209
|
+
/** Z. */
|
|
210
|
+
z?: number | null;
|
|
211
|
+
constructor(obj?: AgentTaskDto);
|
|
212
|
+
}
|
|
213
|
+
export declare class CreateAgentRequest {
|
|
214
|
+
/** Angle. */
|
|
215
|
+
angle?: number | null;
|
|
216
|
+
/** Creator Id. */
|
|
217
|
+
creatorId?: string | null;
|
|
218
|
+
/** Scene Id. */
|
|
219
|
+
sceneId?: string | null;
|
|
220
|
+
/** Station Id. */
|
|
221
|
+
stationId?: string | null;
|
|
222
|
+
/** X. */
|
|
223
|
+
x?: number | null;
|
|
224
|
+
/** Y. */
|
|
225
|
+
y?: number | null;
|
|
226
|
+
/** Z. */
|
|
227
|
+
z?: number | null;
|
|
228
|
+
constructor(obj?: CreateAgentRequest);
|
|
229
|
+
}
|
|
230
|
+
/** 创建场景请求. */
|
|
231
|
+
export declare class CreateSceneRequest {
|
|
232
|
+
/** Depth. */
|
|
233
|
+
depth?: number | null;
|
|
234
|
+
/** Description. */
|
|
235
|
+
description?: string | null;
|
|
236
|
+
/** Height. */
|
|
237
|
+
height?: number | null;
|
|
238
|
+
/** Name. */
|
|
279
239
|
name?: string | null;
|
|
240
|
+
/** Time Scale. */
|
|
241
|
+
timeScale?: number | null;
|
|
242
|
+
/** Width. */
|
|
243
|
+
width?: number | null;
|
|
244
|
+
constructor(obj?: CreateSceneRequest);
|
|
245
|
+
}
|
|
246
|
+
/** 创建者. */
|
|
247
|
+
export declare class Creator {
|
|
248
|
+
/**
|
|
249
|
+
* 角度(朝向).单位度.
|
|
250
|
+
* 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
|
|
251
|
+
*/
|
|
252
|
+
angle?: number | null;
|
|
253
|
+
/** 编号. */
|
|
254
|
+
code?: string | null;
|
|
255
|
+
/** 创建时间. */
|
|
256
|
+
createdAt?: string | null;
|
|
257
|
+
/** 创建者高度,对应Z轴. */
|
|
258
|
+
height?: number | null;
|
|
259
|
+
/** 创建者唯一标识符(主键). */
|
|
260
|
+
id?: string | null;
|
|
261
|
+
/** 创建间隔,单位毫秒. */
|
|
262
|
+
interval?: number | null;
|
|
263
|
+
/** 创建者是否启用. */
|
|
264
|
+
isEnable?: boolean | null;
|
|
265
|
+
/** 创建者长度,对应Y轴. */
|
|
266
|
+
length?: number | null;
|
|
267
|
+
/** Scene. */
|
|
268
|
+
scene?: Scene | null;
|
|
269
|
+
/** 所属场景ID. */
|
|
270
|
+
sceneId?: string | null;
|
|
271
|
+
/** Station. */
|
|
272
|
+
station?: Station | null;
|
|
273
|
+
/** 所属站点Id. */
|
|
274
|
+
stationId?: string | null;
|
|
275
|
+
/** 更新时间. */
|
|
276
|
+
updatedAt?: string | null;
|
|
277
|
+
/** 创建者宽度,对应X轴. */
|
|
278
|
+
width?: number | null;
|
|
279
|
+
/** 坐标X. */
|
|
280
|
+
x?: number | null;
|
|
281
|
+
/** 坐标Y. */
|
|
282
|
+
y?: number | null;
|
|
283
|
+
/** 坐标Z. */
|
|
284
|
+
z?: number | null;
|
|
285
|
+
constructor(obj?: Creator);
|
|
286
|
+
}
|
|
287
|
+
export declare class CreatorDto {
|
|
288
|
+
/** Angle. */
|
|
289
|
+
angle?: number | null;
|
|
290
|
+
/** Height. */
|
|
291
|
+
height?: number | null;
|
|
292
|
+
/** Id. */
|
|
293
|
+
id?: string | null;
|
|
294
|
+
/** Interval. */
|
|
295
|
+
interval?: number | null;
|
|
296
|
+
/** Is Enable. */
|
|
297
|
+
isEnable?: boolean | null;
|
|
298
|
+
/** Length. */
|
|
299
|
+
length?: number | null;
|
|
300
|
+
/** Station Id. */
|
|
301
|
+
stationId?: string | null;
|
|
302
|
+
/** Width. */
|
|
303
|
+
width?: number | null;
|
|
304
|
+
/** X. */
|
|
305
|
+
x?: number | null;
|
|
306
|
+
/** Y. */
|
|
307
|
+
y?: number | null;
|
|
308
|
+
/** Z. */
|
|
309
|
+
z?: number | null;
|
|
310
|
+
constructor(obj?: CreatorDto);
|
|
311
|
+
}
|
|
312
|
+
export declare class DestroyAgentRequest {
|
|
313
|
+
/** Agent Id. */
|
|
314
|
+
agentId?: string | null;
|
|
315
|
+
/** Destroyer Id. */
|
|
316
|
+
destroyerId?: string | null;
|
|
317
|
+
constructor(obj?: DestroyAgentRequest);
|
|
318
|
+
}
|
|
319
|
+
export declare class Destroyer {
|
|
280
320
|
/**
|
|
281
321
|
* 角度(朝向).单位度.
|
|
282
322
|
* 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
|
|
283
323
|
*/
|
|
284
324
|
angle?: number | null;
|
|
325
|
+
/** 编号. */
|
|
326
|
+
code?: string | null;
|
|
285
327
|
/** 创建时间. */
|
|
286
328
|
createdAt?: string | null;
|
|
287
329
|
/** 销毁者高度,对应Z轴. */
|
|
@@ -314,16 +356,41 @@ export declare class Destroyer {
|
|
|
314
356
|
z?: number | null;
|
|
315
357
|
constructor(obj?: Destroyer);
|
|
316
358
|
}
|
|
359
|
+
export declare class DestroyerDto {
|
|
360
|
+
/** Angle. */
|
|
361
|
+
angle?: number | null;
|
|
362
|
+
/** Height. */
|
|
363
|
+
height?: number | null;
|
|
364
|
+
/** Id. */
|
|
365
|
+
id?: string | null;
|
|
366
|
+
/** Interval. */
|
|
367
|
+
interval?: number | null;
|
|
368
|
+
/** Is Enable. */
|
|
369
|
+
isEnable?: boolean | null;
|
|
370
|
+
/** Length. */
|
|
371
|
+
length?: number | null;
|
|
372
|
+
/** Station Id. */
|
|
373
|
+
stationId?: string | null;
|
|
374
|
+
/** Width. */
|
|
375
|
+
width?: number | null;
|
|
376
|
+
/** X. */
|
|
377
|
+
x?: number | null;
|
|
378
|
+
/** Y. */
|
|
379
|
+
y?: number | null;
|
|
380
|
+
/** Z. */
|
|
381
|
+
z?: number | null;
|
|
382
|
+
constructor(obj?: DestroyerDto);
|
|
383
|
+
}
|
|
317
384
|
/** 输送线段实体. */
|
|
318
385
|
export declare class Edge {
|
|
319
|
-
/** 名称. */
|
|
320
|
-
name?: string | null;
|
|
321
386
|
/**
|
|
322
387
|
* 角度(朝向).单位度.
|
|
323
388
|
* 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
|
|
324
389
|
* 注意:因为Y轴向下为正,所以角度旋转正值旋转为顺时针,负值旋转为逆时针.
|
|
325
390
|
*/
|
|
326
391
|
angle?: number | null;
|
|
392
|
+
/** 编号. */
|
|
393
|
+
code?: string | null;
|
|
327
394
|
/** 创建时间. */
|
|
328
395
|
createdAt?: string | null;
|
|
329
396
|
/** 边绘制的高度,对应Z轴. */
|
|
@@ -354,6 +421,500 @@ export declare class Edge {
|
|
|
354
421
|
z?: number | null;
|
|
355
422
|
constructor(obj?: Edge);
|
|
356
423
|
}
|
|
424
|
+
export declare class EdgeDto {
|
|
425
|
+
/** Angle. */
|
|
426
|
+
angle?: number | null;
|
|
427
|
+
/** Height. */
|
|
428
|
+
height?: number | null;
|
|
429
|
+
/** Id. */
|
|
430
|
+
id?: string | null;
|
|
431
|
+
/** Length. */
|
|
432
|
+
length?: number | null;
|
|
433
|
+
/** Source. */
|
|
434
|
+
source?: string | null;
|
|
435
|
+
/** Target. */
|
|
436
|
+
target?: string | null;
|
|
437
|
+
/** Type. */
|
|
438
|
+
type?: 0 | 1 | null;
|
|
439
|
+
/** Width. */
|
|
440
|
+
width?: number | null;
|
|
441
|
+
/** X. */
|
|
442
|
+
x?: number | null;
|
|
443
|
+
/** Y. */
|
|
444
|
+
y?: number | null;
|
|
445
|
+
/** Z. */
|
|
446
|
+
z?: number | null;
|
|
447
|
+
constructor(obj?: EdgeDto);
|
|
448
|
+
}
|
|
449
|
+
export declare class GetAgentRequest {
|
|
450
|
+
/** Agent Id. */
|
|
451
|
+
agentId?: string | null;
|
|
452
|
+
constructor(obj?: GetAgentRequest);
|
|
453
|
+
}
|
|
454
|
+
/** 获取场景请求. */
|
|
455
|
+
export declare class GetSceneRequest {
|
|
456
|
+
/** Scene Id. */
|
|
457
|
+
sceneId?: string | null;
|
|
458
|
+
constructor(obj?: GetSceneRequest);
|
|
459
|
+
}
|
|
460
|
+
/** 顶升移载输送机实体. */
|
|
461
|
+
export declare class JackUpTransferStation {
|
|
462
|
+
/**
|
|
463
|
+
* 角度(朝向).单位度.
|
|
464
|
+
* 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
|
|
465
|
+
*/
|
|
466
|
+
angle?: number | null;
|
|
467
|
+
/** 编号. */
|
|
468
|
+
code?: string | null;
|
|
469
|
+
/** 创建时间. */
|
|
470
|
+
createdAt?: string | null;
|
|
471
|
+
/** Edge. */
|
|
472
|
+
edge?: Edge | null;
|
|
473
|
+
/** 站点所属边. */
|
|
474
|
+
edgeId?: string | null;
|
|
475
|
+
/** 设备高度,对应Z轴. */
|
|
476
|
+
height?: number | null;
|
|
477
|
+
/** 站点唯一标识符(主键). */
|
|
478
|
+
id?: string | null;
|
|
479
|
+
/** 设备长度,对应Y轴. */
|
|
480
|
+
length?: number | null;
|
|
481
|
+
/** Priority. */
|
|
482
|
+
priority?: 0 | 1 | 2 | null;
|
|
483
|
+
/** Scene. */
|
|
484
|
+
scene?: Scene | null;
|
|
485
|
+
/** 所属场景ID. */
|
|
486
|
+
sceneId?: string | null;
|
|
487
|
+
/** 当前位置基于所属边的起始点的偏移量. */
|
|
488
|
+
startOffset?: number | null;
|
|
489
|
+
/** Status. */
|
|
490
|
+
status?: 0 | 1 | 2 | 3 | 4 | null;
|
|
491
|
+
/** Type. */
|
|
492
|
+
type?: 0 | 1 | 2 | 3 | 4 | null;
|
|
493
|
+
/** 更新时间. */
|
|
494
|
+
updatedAt?: string | null;
|
|
495
|
+
/** 设备宽度,对应X轴. */
|
|
496
|
+
width?: number | null;
|
|
497
|
+
/** 坐标X. */
|
|
498
|
+
x?: number | null;
|
|
499
|
+
/** 坐标Y. */
|
|
500
|
+
y?: number | null;
|
|
501
|
+
/** 坐标Z. */
|
|
502
|
+
z?: number | null;
|
|
503
|
+
constructor(obj?: JackUpTransferStation);
|
|
504
|
+
}
|
|
505
|
+
export declare class JackUpTransferStationDto {
|
|
506
|
+
/** Angle. */
|
|
507
|
+
angle?: number | null;
|
|
508
|
+
/** Edge Id. */
|
|
509
|
+
edgeId?: string | null;
|
|
510
|
+
/** Height. */
|
|
511
|
+
height?: number | null;
|
|
512
|
+
/** Id. */
|
|
513
|
+
id?: string | null;
|
|
514
|
+
/** Length. */
|
|
515
|
+
length?: number | null;
|
|
516
|
+
/** Priority. */
|
|
517
|
+
priority?: 0 | 1 | 2 | null;
|
|
518
|
+
/** Start Offset. */
|
|
519
|
+
startOffset?: number | null;
|
|
520
|
+
/** Status. */
|
|
521
|
+
status?: 0 | 1 | 2 | 3 | 4 | null;
|
|
522
|
+
/** Type. */
|
|
523
|
+
type?: 0 | 1 | 2 | 3 | 4 | null;
|
|
524
|
+
/** Width. */
|
|
525
|
+
width?: number | null;
|
|
526
|
+
/** X. */
|
|
527
|
+
x?: number | null;
|
|
528
|
+
/** Y. */
|
|
529
|
+
y?: number | null;
|
|
530
|
+
/** Z. */
|
|
531
|
+
z?: number | null;
|
|
532
|
+
constructor(obj?: JackUpTransferStationDto);
|
|
533
|
+
}
|
|
534
|
+
/** 移动代理请求. */
|
|
535
|
+
export declare class MoveAgentDirectRequest {
|
|
536
|
+
/** Container Id. */
|
|
537
|
+
containerId?: string | null;
|
|
538
|
+
/** Destination Address. */
|
|
539
|
+
destinationAddress?: string | null;
|
|
540
|
+
constructor(obj?: MoveAgentDirectRequest);
|
|
541
|
+
}
|
|
542
|
+
/** 叠盘机实体. */
|
|
543
|
+
export declare class PalletStackerStation {
|
|
544
|
+
/**
|
|
545
|
+
* 角度(朝向).单位度.
|
|
546
|
+
* 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
|
|
547
|
+
*/
|
|
548
|
+
angle?: number | null;
|
|
549
|
+
/** 编号. */
|
|
550
|
+
code?: string | null;
|
|
551
|
+
/** 创建时间. */
|
|
552
|
+
createdAt?: string | null;
|
|
553
|
+
/** Edge. */
|
|
554
|
+
edge?: Edge | null;
|
|
555
|
+
/** 站点所属边. */
|
|
556
|
+
edgeId?: string | null;
|
|
557
|
+
/** 设备高度,对应Z轴. */
|
|
558
|
+
height?: number | null;
|
|
559
|
+
/** 站点唯一标识符(主键). */
|
|
560
|
+
id?: string | null;
|
|
561
|
+
/** 设备长度,对应Y轴. */
|
|
562
|
+
length?: number | null;
|
|
563
|
+
/** Priority. */
|
|
564
|
+
priority?: 0 | 1 | 2 | null;
|
|
565
|
+
/** Scene. */
|
|
566
|
+
scene?: Scene | null;
|
|
567
|
+
/** 所属场景ID. */
|
|
568
|
+
sceneId?: string | null;
|
|
569
|
+
/** 当前位置基于所属边的起始点的偏移量. */
|
|
570
|
+
startOffset?: number | null;
|
|
571
|
+
/** Status. */
|
|
572
|
+
status?: 0 | 1 | 2 | 3 | 4 | null;
|
|
573
|
+
/** Type. */
|
|
574
|
+
type?: 0 | 1 | 2 | 3 | 4 | null;
|
|
575
|
+
/** 更新时间. */
|
|
576
|
+
updatedAt?: string | null;
|
|
577
|
+
/** 设备宽度,对应X轴. */
|
|
578
|
+
width?: number | null;
|
|
579
|
+
/** 坐标X. */
|
|
580
|
+
x?: number | null;
|
|
581
|
+
/** 坐标Y. */
|
|
582
|
+
y?: number | null;
|
|
583
|
+
/** 坐标Z. */
|
|
584
|
+
z?: number | null;
|
|
585
|
+
constructor(obj?: PalletStackerStation);
|
|
586
|
+
}
|
|
587
|
+
export declare class PalletStackerStationDto {
|
|
588
|
+
/** Angle. */
|
|
589
|
+
angle?: number | null;
|
|
590
|
+
/** Edge Id. */
|
|
591
|
+
edgeId?: string | null;
|
|
592
|
+
/** Height. */
|
|
593
|
+
height?: number | null;
|
|
594
|
+
/** Id. */
|
|
595
|
+
id?: string | null;
|
|
596
|
+
/** Length. */
|
|
597
|
+
length?: number | null;
|
|
598
|
+
/** Priority. */
|
|
599
|
+
priority?: 0 | 1 | 2 | null;
|
|
600
|
+
/** Start Offset. */
|
|
601
|
+
startOffset?: number | null;
|
|
602
|
+
/** Status. */
|
|
603
|
+
status?: 0 | 1 | 2 | 3 | 4 | null;
|
|
604
|
+
/** Type. */
|
|
605
|
+
type?: 0 | 1 | 2 | 3 | 4 | null;
|
|
606
|
+
/** Width. */
|
|
607
|
+
width?: number | null;
|
|
608
|
+
/** X. */
|
|
609
|
+
x?: number | null;
|
|
610
|
+
/** Y. */
|
|
611
|
+
y?: number | null;
|
|
612
|
+
/** Z. */
|
|
613
|
+
z?: number | null;
|
|
614
|
+
constructor(obj?: PalletStackerStationDto);
|
|
615
|
+
}
|
|
616
|
+
/** 光电传感器实体. */
|
|
617
|
+
export declare class PhotoelectricSensor {
|
|
618
|
+
/**
|
|
619
|
+
* 角度(朝向).单位度.
|
|
620
|
+
* 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
|
|
621
|
+
*/
|
|
622
|
+
angle?: number | null;
|
|
623
|
+
/** 编号. */
|
|
624
|
+
code?: string | null;
|
|
625
|
+
/** 创建时间. */
|
|
626
|
+
createdAt?: string | null;
|
|
627
|
+
/** Edge. */
|
|
628
|
+
edge?: Edge | null;
|
|
629
|
+
/** 站点所属边. */
|
|
630
|
+
edgeId?: string | null;
|
|
631
|
+
/** 设备高度,对应Z轴. */
|
|
632
|
+
height?: number | null;
|
|
633
|
+
/** 站点唯一标识符(主键). */
|
|
634
|
+
id?: string | null;
|
|
635
|
+
/** 设备长度,对应Y轴. */
|
|
636
|
+
length?: number | null;
|
|
637
|
+
/** Priority. */
|
|
638
|
+
priority?: 0 | 1 | 2 | null;
|
|
639
|
+
/** Scene. */
|
|
640
|
+
scene?: Scene | null;
|
|
641
|
+
/** 所属场景ID. */
|
|
642
|
+
sceneId?: string | null;
|
|
643
|
+
/** 当前位置基于所属边的起始点的偏移量. */
|
|
644
|
+
startOffset?: number | null;
|
|
645
|
+
/** Status. */
|
|
646
|
+
status?: 0 | 1 | 2 | 3 | 4 | null;
|
|
647
|
+
/** Type. */
|
|
648
|
+
type?: 0 | 1 | 2 | 3 | 4 | null;
|
|
649
|
+
/** 更新时间. */
|
|
650
|
+
updatedAt?: string | null;
|
|
651
|
+
/** 设备宽度,对应X轴. */
|
|
652
|
+
width?: number | null;
|
|
653
|
+
/** 坐标X. */
|
|
654
|
+
x?: number | null;
|
|
655
|
+
/** 坐标Y. */
|
|
656
|
+
y?: number | null;
|
|
657
|
+
/** 坐标Z. */
|
|
658
|
+
z?: number | null;
|
|
659
|
+
constructor(obj?: PhotoelectricSensor);
|
|
660
|
+
}
|
|
661
|
+
export declare class PhotoelectricSensorDto {
|
|
662
|
+
/** Angle. */
|
|
663
|
+
angle?: number | null;
|
|
664
|
+
/** Edge Id. */
|
|
665
|
+
edgeId?: string | null;
|
|
666
|
+
/** Height. */
|
|
667
|
+
height?: number | null;
|
|
668
|
+
/** Id. */
|
|
669
|
+
id?: string | null;
|
|
670
|
+
/** Length. */
|
|
671
|
+
length?: number | null;
|
|
672
|
+
/** Priority. */
|
|
673
|
+
priority?: 0 | 1 | 2 | null;
|
|
674
|
+
/** Start Offset. */
|
|
675
|
+
startOffset?: number | null;
|
|
676
|
+
/** Status. */
|
|
677
|
+
status?: 0 | 1 | 2 | 3 | 4 | null;
|
|
678
|
+
/** Type. */
|
|
679
|
+
type?: 0 | 1 | 2 | 3 | 4 | null;
|
|
680
|
+
/** Width. */
|
|
681
|
+
width?: number | null;
|
|
682
|
+
/** X. */
|
|
683
|
+
x?: number | null;
|
|
684
|
+
/** Y. */
|
|
685
|
+
y?: number | null;
|
|
686
|
+
/** Z. */
|
|
687
|
+
z?: number | null;
|
|
688
|
+
constructor(obj?: PhotoelectricSensorDto);
|
|
689
|
+
}
|
|
690
|
+
export declare class Result<T0> {
|
|
691
|
+
/** Code. */
|
|
692
|
+
code?: number | null;
|
|
693
|
+
/** Data. */
|
|
694
|
+
data?: T0 | null;
|
|
695
|
+
/** Message. */
|
|
696
|
+
message?: string | null;
|
|
697
|
+
/** Success. */
|
|
698
|
+
success?: boolean | null;
|
|
699
|
+
constructor(obj?: Result<T0>);
|
|
700
|
+
}
|
|
701
|
+
export declare class SaveSceneRequest {
|
|
702
|
+
/** Scene. */
|
|
703
|
+
scene?: SceneDto | null;
|
|
704
|
+
constructor(obj?: SaveSceneRequest);
|
|
705
|
+
}
|
|
706
|
+
/** 场景实体. */
|
|
707
|
+
export declare class Scene {
|
|
708
|
+
/** 场景中的代理. */
|
|
709
|
+
agents?: Array<Agent> | null;
|
|
710
|
+
/** 配置JSON. */
|
|
711
|
+
configurationJson?: string | null;
|
|
712
|
+
/** 创建时间. */
|
|
713
|
+
createdAt?: string | null;
|
|
714
|
+
/** 场景中的创建者. */
|
|
715
|
+
creators?: Array<Creator> | null;
|
|
716
|
+
/** 场景深度. */
|
|
717
|
+
depth?: number | null;
|
|
718
|
+
/** 场景描述. */
|
|
719
|
+
description?: string | null;
|
|
720
|
+
/** 场景中的销毁者. */
|
|
721
|
+
destroyers?: Array<Destroyer> | null;
|
|
722
|
+
/** 场景中的输送线段. */
|
|
723
|
+
edges?: Array<Edge> | null;
|
|
724
|
+
/** 重力加速度. */
|
|
725
|
+
gravity?: number | null;
|
|
726
|
+
/** 场景高度,对应Z轴. */
|
|
727
|
+
height?: number | null;
|
|
728
|
+
/** 湿度百分比. */
|
|
729
|
+
humidity?: number | null;
|
|
730
|
+
/** 场景唯一标识符(主键). */
|
|
731
|
+
id?: string | null;
|
|
732
|
+
/** 场景中的顶升移载输送机. */
|
|
733
|
+
jackUpTransferStations?: Array<JackUpTransferStation> | null;
|
|
734
|
+
/** 最后运行时间. */
|
|
735
|
+
lastRunTime?: string | null;
|
|
736
|
+
/** 场景名称. */
|
|
737
|
+
name?: string | null;
|
|
738
|
+
/** 场景中的叠盘机. */
|
|
739
|
+
palletStackerStations?: Array<PalletStackerStation> | null;
|
|
740
|
+
/** 场景中的光电传感器. */
|
|
741
|
+
photoelectricSensors?: Array<PhotoelectricSensor> | null;
|
|
742
|
+
/** 场景中的站点. */
|
|
743
|
+
stations?: Array<Station> | null;
|
|
744
|
+
/** Status. */
|
|
745
|
+
status?: 0 | 1 | 2 | 3 | 4 | 5 | null;
|
|
746
|
+
/** 场景中的任务. */
|
|
747
|
+
tasks?: Array<AgentTask> | null;
|
|
748
|
+
/** 环境温度(摄氏度). */
|
|
749
|
+
temperature?: number | null;
|
|
750
|
+
/** 仿真时间倍率. */
|
|
751
|
+
timeScale?: number | null;
|
|
752
|
+
/** 更新时间. */
|
|
753
|
+
updatedAt?: string | null;
|
|
754
|
+
/** 场景宽度,对应X轴. */
|
|
755
|
+
width?: number | null;
|
|
756
|
+
constructor(obj?: Scene);
|
|
757
|
+
}
|
|
758
|
+
export declare class SceneDto {
|
|
759
|
+
/** Agents. */
|
|
760
|
+
agents?: Array<AgentDto> | null;
|
|
761
|
+
/** Configuration Json. */
|
|
762
|
+
configurationJson?: string | null;
|
|
763
|
+
/** Creators. */
|
|
764
|
+
creators?: Array<CreatorDto> | null;
|
|
765
|
+
/** Depth. */
|
|
766
|
+
depth?: number | null;
|
|
767
|
+
/** Description. */
|
|
768
|
+
description?: string | null;
|
|
769
|
+
/** Destroyers. */
|
|
770
|
+
destroyers?: Array<DestroyerDto> | null;
|
|
771
|
+
/** Edges. */
|
|
772
|
+
edges?: Array<EdgeDto> | null;
|
|
773
|
+
/** Gravity. */
|
|
774
|
+
gravity?: number | null;
|
|
775
|
+
/** Height. */
|
|
776
|
+
height?: number | null;
|
|
777
|
+
/** Humidity. */
|
|
778
|
+
humidity?: number | null;
|
|
779
|
+
/** 指定则更新,否则后端可生成. */
|
|
780
|
+
id?: string | null;
|
|
781
|
+
/** Jack Ups. */
|
|
782
|
+
jackUps?: Array<JackUpTransferStationDto> | null;
|
|
783
|
+
/** Name. */
|
|
784
|
+
name?: string | null;
|
|
785
|
+
/** Pallet Stackers. */
|
|
786
|
+
palletStackers?: Array<PalletStackerStationDto> | null;
|
|
787
|
+
/** Photoelectric Sensors. */
|
|
788
|
+
photoelectricSensors?: Array<PhotoelectricSensorDto> | null;
|
|
789
|
+
/** Stations. */
|
|
790
|
+
stations?: Array<StationDto> | null;
|
|
791
|
+
/** Tasks. */
|
|
792
|
+
tasks?: Array<AgentTaskDto> | null;
|
|
793
|
+
/** Temperature. */
|
|
794
|
+
temperature?: number | null;
|
|
795
|
+
/** Time Scale. */
|
|
796
|
+
timeScale?: number | null;
|
|
797
|
+
/** Width. */
|
|
798
|
+
width?: number | null;
|
|
799
|
+
constructor(obj?: SceneDto);
|
|
800
|
+
}
|
|
801
|
+
export declare class SceneStats {
|
|
802
|
+
/** Active Agents. */
|
|
803
|
+
activeAgents?: number | null;
|
|
804
|
+
/** Agents By Status. */
|
|
805
|
+
agentsByStatus?: Record<any, number> | null;
|
|
806
|
+
/** Completed Tasks. */
|
|
807
|
+
completedTasks?: number | null;
|
|
808
|
+
/** Last Updated. */
|
|
809
|
+
lastUpdated?: string | null;
|
|
810
|
+
/** Scene Id. */
|
|
811
|
+
sceneId?: string | null;
|
|
812
|
+
/** Scene Name. */
|
|
813
|
+
sceneName?: string | null;
|
|
814
|
+
/** Status. */
|
|
815
|
+
status?: 0 | 1 | 2 | 3 | 4 | 5 | null;
|
|
816
|
+
/** Total Agents. */
|
|
817
|
+
totalAgents?: number | null;
|
|
818
|
+
/** Total Tasks. */
|
|
819
|
+
totalTasks?: number | null;
|
|
820
|
+
constructor(obj?: SceneStats);
|
|
821
|
+
}
|
|
822
|
+
export declare class StartSimulationRequest {
|
|
823
|
+
/** Scene Id. */
|
|
824
|
+
sceneId?: string | null;
|
|
825
|
+
constructor(obj?: StartSimulationRequest);
|
|
826
|
+
}
|
|
827
|
+
/** 站点实体. */
|
|
828
|
+
export declare class Station {
|
|
829
|
+
/**
|
|
830
|
+
* 角度(朝向).单位度.
|
|
831
|
+
* 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
|
|
832
|
+
*/
|
|
833
|
+
angle?: number | null;
|
|
834
|
+
/** 编号. */
|
|
835
|
+
code?: string | null;
|
|
836
|
+
/** 创建时间. */
|
|
837
|
+
createdAt?: string | null;
|
|
838
|
+
/** Edge. */
|
|
839
|
+
edge?: Edge | null;
|
|
840
|
+
/** 站点所属边. */
|
|
841
|
+
edgeId?: string | null;
|
|
842
|
+
/** 设备高度,对应Z轴. */
|
|
843
|
+
height?: number | null;
|
|
844
|
+
/** 站点唯一标识符(主键). */
|
|
845
|
+
id?: string | null;
|
|
846
|
+
/** 设备长度,对应Y轴. */
|
|
847
|
+
length?: number | null;
|
|
848
|
+
/** Priority. */
|
|
849
|
+
priority?: 0 | 1 | 2 | null;
|
|
850
|
+
/** Scene. */
|
|
851
|
+
scene?: Scene | null;
|
|
852
|
+
/** 所属场景ID. */
|
|
853
|
+
sceneId?: string | null;
|
|
854
|
+
/** 当前位置基于所属边的起始点的偏移量. */
|
|
855
|
+
startOffset?: number | null;
|
|
856
|
+
/** Status. */
|
|
857
|
+
status?: 0 | 1 | 2 | 3 | 4 | null;
|
|
858
|
+
/** Type. */
|
|
859
|
+
type?: 0 | 1 | 2 | 3 | 4 | null;
|
|
860
|
+
/** 更新时间. */
|
|
861
|
+
updatedAt?: string | null;
|
|
862
|
+
/** 设备宽度,对应X轴. */
|
|
863
|
+
width?: number | null;
|
|
864
|
+
/** 坐标X. */
|
|
865
|
+
x?: number | null;
|
|
866
|
+
/** 坐标Y. */
|
|
867
|
+
y?: number | null;
|
|
868
|
+
/** 坐标Z. */
|
|
869
|
+
z?: number | null;
|
|
870
|
+
constructor(obj?: Station);
|
|
871
|
+
}
|
|
872
|
+
export declare class StationDto {
|
|
873
|
+
/** Angle. */
|
|
874
|
+
angle?: number | null;
|
|
875
|
+
/** Edge Id. */
|
|
876
|
+
edgeId?: string | null;
|
|
877
|
+
/** Height. */
|
|
878
|
+
height?: number | null;
|
|
879
|
+
/** Id. */
|
|
880
|
+
id?: string | null;
|
|
881
|
+
/** Length. */
|
|
882
|
+
length?: number | null;
|
|
883
|
+
/** Priority. */
|
|
884
|
+
priority?: 0 | 1 | 2 | null;
|
|
885
|
+
/** Start Offset. */
|
|
886
|
+
startOffset?: number | null;
|
|
887
|
+
/** Status. */
|
|
888
|
+
status?: 0 | 1 | 2 | 3 | 4 | null;
|
|
889
|
+
/** Type. */
|
|
890
|
+
type?: 0 | 1 | 2 | 3 | 4 | null;
|
|
891
|
+
/** Width. */
|
|
892
|
+
width?: number | null;
|
|
893
|
+
/** X. */
|
|
894
|
+
x?: number | null;
|
|
895
|
+
/** Y. */
|
|
896
|
+
y?: number | null;
|
|
897
|
+
/** Z. */
|
|
898
|
+
z?: number | null;
|
|
899
|
+
constructor(obj?: StationDto);
|
|
900
|
+
}
|
|
901
|
+
export declare class StopSimulationRequest {
|
|
902
|
+
/** Scene Id. */
|
|
903
|
+
sceneId?: string | null;
|
|
904
|
+
constructor(obj?: StopSimulationRequest);
|
|
905
|
+
}
|
|
906
|
+
export declare class UpdateSceneStatusRequest {
|
|
907
|
+
/** 场景ID. */
|
|
908
|
+
sceneId?: string | null;
|
|
909
|
+
/** Status. */
|
|
910
|
+
status?: 0 | 1 | 2 | 3 | 4 | 5 | null;
|
|
911
|
+
constructor(obj?: UpdateSceneStatusRequest);
|
|
912
|
+
}
|
|
913
|
+
/**
|
|
914
|
+
* 获取对象的属性名数组.
|
|
915
|
+
* @param obj 对象.
|
|
916
|
+
*/
|
|
917
|
+
export declare function keys<C extends object>(obj: C): Array<keyof C>;
|
|
357
918
|
/**
|
|
358
919
|
* 创建一个新的对象, 并给部分属性设置默认值.
|
|
359
920
|
*
|