@kengic/vue 0.30.1-beta.35 → 0.30.1-beta.37
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 +29602 -28870
- package/dist/pause-rounded.1ed7cc39.mjs +8 -0
- package/dist/play-arrow-rounded.90fc4173.mjs +8 -0
- package/dist/src/component/KgSimulator/KgSimulator.Canvas.Title.d.ts +11 -0
- package/dist/src/component/KgSimulator/KgSimulator.Canvas.d.ts +1 -1
- package/dist/src/component/KgSimulator/KgSimulator.Canvas.service.d.ts +16 -7
- package/dist/src/component/KgSimulator/KgSimulator.event.d.ts +50 -22
- package/dist/src/component/KgSimulator/KgSimulator.hooks.d.ts +35 -7
- package/dist/src/component/KgSimulator/KgSimulator.model.d.ts +360 -188
- package/dist/src/component/KgSimulator/KgSimulator.store.d.ts +93 -52
- package/dist/src/component/KgSimulator/KgSimulator.utils.d.ts +8 -0
- package/package.json +2 -2
- package/dist/src/component/KgSimulator/KgSimulator.Title.d.ts +0 -11
|
@@ -76,46 +76,117 @@ export declare class Agent {
|
|
|
76
76
|
z?: number | null;
|
|
77
77
|
constructor(obj?: Agent);
|
|
78
78
|
}
|
|
79
|
+
/** Agent创建消息. */
|
|
80
|
+
export declare class AgentCreatedMessage {
|
|
81
|
+
/** Agent ID. */
|
|
82
|
+
agentId?: string | null;
|
|
83
|
+
/** 角度. */
|
|
84
|
+
angle?: number | null;
|
|
85
|
+
/** Data. */
|
|
86
|
+
data?: any | null;
|
|
87
|
+
/** Message Id. */
|
|
88
|
+
messageId?: string | null;
|
|
89
|
+
/** 场景ID. */
|
|
90
|
+
sceneId?: string | null;
|
|
91
|
+
/** 目标站点ID. */
|
|
92
|
+
targetStationId?: string | null;
|
|
93
|
+
/** 时间戳. */
|
|
94
|
+
timestamp?: string | null;
|
|
95
|
+
/** 消息类型. */
|
|
96
|
+
type?: string | null;
|
|
97
|
+
/** X坐标. */
|
|
98
|
+
x?: number | null;
|
|
99
|
+
/** Y坐标. */
|
|
100
|
+
y?: number | null;
|
|
101
|
+
/** Z坐标. */
|
|
102
|
+
z?: number | null;
|
|
103
|
+
constructor(obj?: AgentCreatedMessage);
|
|
104
|
+
}
|
|
105
|
+
/** Agent销毁消息. */
|
|
106
|
+
export declare class AgentDestroyedMessage {
|
|
107
|
+
/** Agent ID. */
|
|
108
|
+
agentId?: string | null;
|
|
109
|
+
/** Data. */
|
|
110
|
+
data?: any | null;
|
|
111
|
+
/** 销毁者ID. */
|
|
112
|
+
destroyerId?: string | null;
|
|
113
|
+
/** Message Id. */
|
|
114
|
+
messageId?: string | null;
|
|
115
|
+
/** 场景ID. */
|
|
116
|
+
sceneId?: string | null;
|
|
117
|
+
/** 时间戳. */
|
|
118
|
+
timestamp?: string | null;
|
|
119
|
+
/** 消息类型. */
|
|
120
|
+
type?: string | null;
|
|
121
|
+
constructor(obj?: AgentDestroyedMessage);
|
|
122
|
+
}
|
|
123
|
+
/** RGV代理实体。
|
|
124
|
+
* 从PLC下发命令执行动作的都算Agent。动作包括不限于移动,转弯、加速、减速等. */
|
|
79
125
|
export declare class AgentDto {
|
|
80
|
-
/**
|
|
126
|
+
/**
|
|
127
|
+
* 当前加速度.单位m/s^2.
|
|
128
|
+
* <p>
|
|
129
|
+
* 加速时为正值,减速时为负值。匀速运行时为0
|
|
130
|
+
* 此为固定值,暂不支持动态加速度。
|
|
131
|
+
* </p>.
|
|
132
|
+
*/
|
|
81
133
|
acceleration?: number | null;
|
|
82
|
-
/**
|
|
134
|
+
/**
|
|
135
|
+
* 角度(朝向).单位度.
|
|
136
|
+
* 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
|
|
137
|
+
*/
|
|
83
138
|
angle?: number | null;
|
|
84
|
-
/**
|
|
139
|
+
/**
|
|
140
|
+
* 刹车的加速度. 注意该值应该为负值。单位m/s^2.
|
|
141
|
+
* <p>
|
|
142
|
+
* 此为固定值,暂不支持动态加速度。
|
|
143
|
+
* </p>.
|
|
144
|
+
*/
|
|
85
145
|
brakingAcceleration?: number | null;
|
|
86
|
-
/**
|
|
146
|
+
/** 代理编码. */
|
|
87
147
|
code?: string | null;
|
|
88
|
-
/**
|
|
148
|
+
/**
|
|
149
|
+
* 通信时延.单位s.
|
|
150
|
+
* 该变量CommunicationDelay和当前速度Velocity还充当是否能刹停的标志,如果都为0则按之前的进行处理,否则需要判断刹停距离是否足够才能进行任务分配.
|
|
151
|
+
* <p>
|
|
152
|
+
* 从Agent更新速度和当前加速度,到获取该信息,一直到Agent接收到变更信息之间的通信延迟。可适当调大以充当余量。
|
|
153
|
+
* </p>.
|
|
154
|
+
*/
|
|
89
155
|
communicationDelay?: number | null;
|
|
90
|
-
/**
|
|
156
|
+
/** 代理描述. */
|
|
91
157
|
description?: string | null;
|
|
92
|
-
/**
|
|
158
|
+
/** 最终的目标任务Id. */
|
|
93
159
|
destinationTaskId?: string | null;
|
|
94
|
-
/**
|
|
160
|
+
/** Agent高度,对应Z轴. */
|
|
95
161
|
height?: number | null;
|
|
96
|
-
/**
|
|
162
|
+
/** 代理唯一标识符(主键). */
|
|
97
163
|
id?: string | null;
|
|
98
|
-
/**
|
|
164
|
+
/** 是否可用,可能因为故障而去修理,这时状态为不可用,Agent不在边上. */
|
|
99
165
|
isAvailable?: boolean | null;
|
|
100
|
-
/**
|
|
166
|
+
/** Agent长度,对应Y轴. */
|
|
101
167
|
length?: number | null;
|
|
102
|
-
/**
|
|
168
|
+
/** 最大速度.单位m/s. */
|
|
103
169
|
maxVelocity?: number | null;
|
|
170
|
+
/** 所属场景ID. */
|
|
171
|
+
sceneId?: string | null;
|
|
104
172
|
/** Status. */
|
|
105
173
|
status?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | null;
|
|
106
174
|
/** Target Change Reason. */
|
|
107
175
|
targetChangeReason?: 0 | 1 | 2 | 3 | null;
|
|
108
176
|
/** Type. */
|
|
109
177
|
type?: 0 | 1 | 2 | null;
|
|
110
|
-
/**
|
|
178
|
+
/**
|
|
179
|
+
* 当前速度.单位m/s.
|
|
180
|
+
* 该变量Velocity和通信时延CommunicationDelay还充当是否能刹停的标志,如果都为0则按之前的进行处理,否则需要判断刹停距离是否足够才能进行任务分配.
|
|
181
|
+
*/
|
|
111
182
|
velocity?: number | null;
|
|
112
|
-
/**
|
|
183
|
+
/** Agent宽度,对应X轴. */
|
|
113
184
|
width?: number | null;
|
|
114
|
-
/** X. */
|
|
185
|
+
/** 坐标X. */
|
|
115
186
|
x?: number | null;
|
|
116
|
-
/** Y. */
|
|
187
|
+
/** 坐标Y. */
|
|
117
188
|
y?: number | null;
|
|
118
|
-
/** Z. */
|
|
189
|
+
/** 坐标Z. */
|
|
119
190
|
z?: number | null;
|
|
120
191
|
constructor(obj?: AgentDto);
|
|
121
192
|
}
|
|
@@ -189,41 +260,62 @@ export declare class AgentTask {
|
|
|
189
260
|
z?: number | null;
|
|
190
261
|
constructor(obj?: AgentTask);
|
|
191
262
|
}
|
|
263
|
+
/** 代理任务实体. */
|
|
192
264
|
export declare class AgentTaskDto {
|
|
193
265
|
/** Agent Task Type. */
|
|
194
266
|
agentTaskType?: 0 | 1 | 2 | 3 | 4 | 5 | null;
|
|
195
|
-
/**
|
|
267
|
+
/**
|
|
268
|
+
* 角度(朝向).单位度.
|
|
269
|
+
* 0度表示向右(正X方向),90度表示向上(正Y方向),以此类推.
|
|
270
|
+
*/
|
|
196
271
|
angle?: number | null;
|
|
197
|
-
/**
|
|
272
|
+
/** 任务编码. */
|
|
198
273
|
code?: string | null;
|
|
199
|
-
/**
|
|
274
|
+
/** 任务描述. */
|
|
200
275
|
description?: string | null;
|
|
201
|
-
/**
|
|
276
|
+
/** 边绘制的高度,对应Z轴. */
|
|
202
277
|
height?: number | null;
|
|
203
|
-
/**
|
|
278
|
+
/** 任务唯一标识符(主键). */
|
|
204
279
|
id?: string | null;
|
|
205
|
-
/**
|
|
280
|
+
/** 边绘制的长度,对应Y轴. */
|
|
206
281
|
length?: number | null;
|
|
207
|
-
/**
|
|
282
|
+
/**
|
|
283
|
+
* 任务序号.
|
|
284
|
+
* 当任务优先级一样时,通过该字段按序执行任务.
|
|
285
|
+
* 建议使用Date.UtcNow.Ticks.
|
|
286
|
+
*/
|
|
208
287
|
order?: number | null;
|
|
209
288
|
/** Priority. */
|
|
210
289
|
priority?: 1 | 2 | 3 | null;
|
|
211
|
-
/**
|
|
290
|
+
/** 所属场景ID. */
|
|
291
|
+
sceneId?: string | null;
|
|
292
|
+
/** 任务的目标站点Id. */
|
|
212
293
|
sourceStationId?: string | null;
|
|
213
294
|
/** Status. */
|
|
214
295
|
status?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | null;
|
|
215
|
-
/**
|
|
296
|
+
/** 任务的目标站点Id. */
|
|
216
297
|
targetStationId?: string | null;
|
|
217
|
-
/**
|
|
298
|
+
/** 边绘制的宽度,对应X轴. */
|
|
218
299
|
width?: number | null;
|
|
219
|
-
/** X. */
|
|
300
|
+
/** 坐标X. */
|
|
220
301
|
x?: number | null;
|
|
221
|
-
/** Y. */
|
|
302
|
+
/** 坐标Y. */
|
|
222
303
|
y?: number | null;
|
|
223
|
-
/** Z. */
|
|
304
|
+
/** 坐标Z. */
|
|
224
305
|
z?: number | null;
|
|
225
306
|
constructor(obj?: AgentTaskDto);
|
|
226
307
|
}
|
|
308
|
+
export declare class CreateAgentIfAbsentAndDispatchTaskRequest {
|
|
309
|
+
/** Agent编码. */
|
|
310
|
+
agentCode?: string | null;
|
|
311
|
+
/** 场景编码. */
|
|
312
|
+
sceneId?: string | null;
|
|
313
|
+
/** 源站点编码:Agent当前所在站点编码. */
|
|
314
|
+
sourceStationCode?: string | null;
|
|
315
|
+
/** 目标站点编码:Agent要前往的目标站点编码. */
|
|
316
|
+
targetStationCode?: string | null;
|
|
317
|
+
constructor(obj?: CreateAgentIfAbsentAndDispatchTaskRequest);
|
|
318
|
+
}
|
|
227
319
|
export declare class CreateAgentRequest {
|
|
228
320
|
/** Angle. */
|
|
229
321
|
angle?: number | null;
|
|
@@ -233,8 +325,6 @@ export declare class CreateAgentRequest {
|
|
|
233
325
|
destinationTaskId?: string | null;
|
|
234
326
|
/** Scene Id. */
|
|
235
327
|
sceneId?: string | null;
|
|
236
|
-
/** Station Id. */
|
|
237
|
-
stationId?: string | null;
|
|
238
328
|
/** X. */
|
|
239
329
|
x?: number | null;
|
|
240
330
|
/** Y. */
|
|
@@ -245,6 +335,8 @@ export declare class CreateAgentRequest {
|
|
|
245
335
|
}
|
|
246
336
|
/** 创建场景请求. */
|
|
247
337
|
export declare class CreateSceneRequest {
|
|
338
|
+
/** Code. */
|
|
339
|
+
code?: string | null;
|
|
248
340
|
/** Depth. */
|
|
249
341
|
depth?: number | null;
|
|
250
342
|
/** Description. */
|
|
@@ -286,10 +378,6 @@ export declare class Creator {
|
|
|
286
378
|
scene?: Scene | null;
|
|
287
379
|
/** 所属场景ID. */
|
|
288
380
|
sceneId?: string | null;
|
|
289
|
-
/** Station. */
|
|
290
|
-
station?: Station | null;
|
|
291
|
-
/** 所属站点Id. */
|
|
292
|
-
stationId?: string | null;
|
|
293
381
|
/** 更新时间. */
|
|
294
382
|
updatedAt?: string | null;
|
|
295
383
|
/** 创建者宽度,对应X轴. */
|
|
@@ -302,32 +390,36 @@ export declare class Creator {
|
|
|
302
390
|
z?: number | null;
|
|
303
391
|
constructor(obj?: Creator);
|
|
304
392
|
}
|
|
393
|
+
/** 创建者. */
|
|
305
394
|
export declare class CreatorDto {
|
|
306
|
-
/**
|
|
395
|
+
/**
|
|
396
|
+
* 角度(朝向).单位度.
|
|
397
|
+
* 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
|
|
398
|
+
*/
|
|
307
399
|
angle?: number | null;
|
|
308
|
-
/**
|
|
400
|
+
/** 创建者编码. */
|
|
309
401
|
code?: string | null;
|
|
310
|
-
/**
|
|
402
|
+
/** 创建者描述. */
|
|
311
403
|
description?: string | null;
|
|
312
|
-
/**
|
|
404
|
+
/** 创建者高度,对应Z轴. */
|
|
313
405
|
height?: number | null;
|
|
314
|
-
/**
|
|
406
|
+
/** 创建者唯一标识符(主键). */
|
|
315
407
|
id?: string | null;
|
|
316
|
-
/**
|
|
408
|
+
/** 创建间隔,单位毫秒. */
|
|
317
409
|
interval?: number | null;
|
|
318
|
-
/**
|
|
410
|
+
/** 创建者是否启用. */
|
|
319
411
|
isEnable?: boolean | null;
|
|
320
|
-
/**
|
|
412
|
+
/** 创建者长度,对应Y轴. */
|
|
321
413
|
length?: number | null;
|
|
322
|
-
/**
|
|
323
|
-
|
|
324
|
-
/**
|
|
414
|
+
/** 所属场景ID. */
|
|
415
|
+
sceneId?: string | null;
|
|
416
|
+
/** 创建者宽度,对应X轴. */
|
|
325
417
|
width?: number | null;
|
|
326
|
-
/** X. */
|
|
418
|
+
/** 坐标X. */
|
|
327
419
|
x?: number | null;
|
|
328
|
-
/** Y. */
|
|
420
|
+
/** 坐标Y. */
|
|
329
421
|
y?: number | null;
|
|
330
|
-
/** Z. */
|
|
422
|
+
/** 坐标Z. */
|
|
331
423
|
z?: number | null;
|
|
332
424
|
constructor(obj?: CreatorDto);
|
|
333
425
|
}
|
|
@@ -364,10 +456,6 @@ export declare class Destroyer {
|
|
|
364
456
|
scene?: Scene | null;
|
|
365
457
|
/** 所属场景ID. */
|
|
366
458
|
sceneId?: string | null;
|
|
367
|
-
/** Station. */
|
|
368
|
-
station?: Station | null;
|
|
369
|
-
/** 所属站点Id. */
|
|
370
|
-
stationId?: string | null;
|
|
371
459
|
/** 更新时间. */
|
|
372
460
|
updatedAt?: string | null;
|
|
373
461
|
/** 销毁者宽度,对应X轴. */
|
|
@@ -381,31 +469,34 @@ export declare class Destroyer {
|
|
|
381
469
|
constructor(obj?: Destroyer);
|
|
382
470
|
}
|
|
383
471
|
export declare class DestroyerDto {
|
|
384
|
-
/**
|
|
472
|
+
/**
|
|
473
|
+
* 角度(朝向).单位度.
|
|
474
|
+
* 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
|
|
475
|
+
*/
|
|
385
476
|
angle?: number | null;
|
|
386
|
-
/**
|
|
477
|
+
/** 销毁者编码. */
|
|
387
478
|
code?: string | null;
|
|
388
|
-
/**
|
|
479
|
+
/** 销毁者描述. */
|
|
389
480
|
description?: string | null;
|
|
390
|
-
/**
|
|
481
|
+
/** 销毁者高度,对应Z轴. */
|
|
391
482
|
height?: number | null;
|
|
392
|
-
/**
|
|
483
|
+
/** 销毁者唯一标识符(主键). */
|
|
393
484
|
id?: string | null;
|
|
394
|
-
/**
|
|
485
|
+
/** 销毁间隔,单位毫秒. */
|
|
395
486
|
interval?: number | null;
|
|
396
|
-
/**
|
|
487
|
+
/** 销毁者是否启用. */
|
|
397
488
|
isEnable?: boolean | null;
|
|
398
|
-
/**
|
|
489
|
+
/** 销毁者长度,对应Y轴. */
|
|
399
490
|
length?: number | null;
|
|
400
|
-
/**
|
|
401
|
-
|
|
402
|
-
/**
|
|
491
|
+
/** 所属场景ID. */
|
|
492
|
+
sceneId?: string | null;
|
|
493
|
+
/** 销毁者宽度,对应X轴. */
|
|
403
494
|
width?: number | null;
|
|
404
|
-
/** X. */
|
|
495
|
+
/** 坐标X. */
|
|
405
496
|
x?: number | null;
|
|
406
|
-
/** Y. */
|
|
497
|
+
/** 坐标Y. */
|
|
407
498
|
y?: number | null;
|
|
408
|
-
/** Z. */
|
|
499
|
+
/** 坐标Z. */
|
|
409
500
|
z?: number | null;
|
|
410
501
|
constructor(obj?: DestroyerDto);
|
|
411
502
|
}
|
|
@@ -453,34 +544,41 @@ export declare class Edge {
|
|
|
453
544
|
z?: number | null;
|
|
454
545
|
constructor(obj?: Edge);
|
|
455
546
|
}
|
|
547
|
+
/** 输送线段实体. */
|
|
456
548
|
export declare class EdgeDto {
|
|
457
|
-
/**
|
|
549
|
+
/**
|
|
550
|
+
* 角度(朝向).单位度.
|
|
551
|
+
* 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
|
|
552
|
+
* 注意:因为Y轴向下为正,所以角度旋转正值旋转为顺时针,负值旋转为逆时针.
|
|
553
|
+
*/
|
|
458
554
|
angle?: number | null;
|
|
459
|
-
/**
|
|
555
|
+
/** 线段编码. */
|
|
460
556
|
code?: string | null;
|
|
461
|
-
/**
|
|
557
|
+
/** 线段描述. */
|
|
462
558
|
description?: string | null;
|
|
463
|
-
/**
|
|
559
|
+
/** 边绘制的高度,对应Z轴. */
|
|
464
560
|
height?: number | null;
|
|
465
|
-
/**
|
|
561
|
+
/** 线段唯一标识符(主键). */
|
|
466
562
|
id?: string | null;
|
|
467
|
-
/**
|
|
563
|
+
/** 是否主线, 否则支线. */
|
|
468
564
|
isPrimary?: boolean | null;
|
|
469
|
-
/**
|
|
565
|
+
/** 边绘制的长度,对应Y轴. */
|
|
470
566
|
length?: number | null;
|
|
471
|
-
/**
|
|
567
|
+
/** 所属场景ID. */
|
|
568
|
+
sceneId?: string | null;
|
|
569
|
+
/** 起始位置. */
|
|
472
570
|
source?: string | null;
|
|
473
|
-
/**
|
|
571
|
+
/** 结束位置. */
|
|
474
572
|
target?: string | null;
|
|
475
573
|
/** Type. */
|
|
476
574
|
type?: 0 | 1 | null;
|
|
477
|
-
/**
|
|
575
|
+
/** 边绘制的宽度,对应X轴. */
|
|
478
576
|
width?: number | null;
|
|
479
|
-
/** X. */
|
|
577
|
+
/** 坐标X. */
|
|
480
578
|
x?: number | null;
|
|
481
|
-
/** Y. */
|
|
579
|
+
/** 坐标Y. */
|
|
482
580
|
y?: number | null;
|
|
483
|
-
/** Z. */
|
|
581
|
+
/** 坐标Z. */
|
|
484
582
|
z?: number | null;
|
|
485
583
|
constructor(obj?: EdgeDto);
|
|
486
584
|
}
|
|
@@ -508,10 +606,6 @@ export declare class JackUpTransferStation {
|
|
|
508
606
|
createdAt?: string | null;
|
|
509
607
|
/** 顶升移载输送机描述. */
|
|
510
608
|
description?: string | null;
|
|
511
|
-
/** Edge. */
|
|
512
|
-
edge?: Edge | null;
|
|
513
|
-
/** 站点所属边. */
|
|
514
|
-
edgeId?: string | null;
|
|
515
609
|
/** 设备高度,对应Z轴. */
|
|
516
610
|
height?: number | null;
|
|
517
611
|
/** 站点唯一标识符(主键). */
|
|
@@ -542,36 +636,42 @@ export declare class JackUpTransferStation {
|
|
|
542
636
|
z?: number | null;
|
|
543
637
|
constructor(obj?: JackUpTransferStation);
|
|
544
638
|
}
|
|
639
|
+
/** 顶升移载输送机实体. */
|
|
545
640
|
export declare class JackUpTransferStationDto {
|
|
546
|
-
/**
|
|
641
|
+
/**
|
|
642
|
+
* 角度(朝向).单位度.
|
|
643
|
+
* 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
|
|
644
|
+
*/
|
|
547
645
|
angle?: number | null;
|
|
548
|
-
/**
|
|
646
|
+
/** 站点编码. */
|
|
549
647
|
code?: string | null;
|
|
550
|
-
/**
|
|
648
|
+
/** 顶升移载输送机描述. */
|
|
551
649
|
description?: string | null;
|
|
552
|
-
/**
|
|
650
|
+
/** 站点所属边. */
|
|
553
651
|
edgeId?: string | null;
|
|
554
|
-
/**
|
|
652
|
+
/** 设备高度,对应Z轴. */
|
|
555
653
|
height?: number | null;
|
|
556
|
-
/**
|
|
654
|
+
/** 站点唯一标识符(主键). */
|
|
557
655
|
id?: string | null;
|
|
558
|
-
/**
|
|
656
|
+
/** 设备长度,对应Y轴. */
|
|
559
657
|
length?: number | null;
|
|
560
658
|
/** Priority. */
|
|
561
659
|
priority?: 0 | 1 | 2 | null;
|
|
562
|
-
/**
|
|
660
|
+
/** 所属场景ID. */
|
|
661
|
+
sceneId?: string | null;
|
|
662
|
+
/** 当前位置基于所属边的起始点的偏移量. */
|
|
563
663
|
startOffset?: number | null;
|
|
564
664
|
/** Status. */
|
|
565
665
|
status?: 0 | 1 | 2 | 3 | 4 | null;
|
|
566
666
|
/** Type. */
|
|
567
667
|
type?: 0 | 1 | 2 | 3 | 4 | null;
|
|
568
|
-
/**
|
|
668
|
+
/** 设备宽度,对应X轴. */
|
|
569
669
|
width?: number | null;
|
|
570
|
-
/** X. */
|
|
670
|
+
/** 坐标X. */
|
|
571
671
|
x?: number | null;
|
|
572
|
-
/** Y. */
|
|
672
|
+
/** 坐标Y. */
|
|
573
673
|
y?: number | null;
|
|
574
|
-
/** Z. */
|
|
674
|
+
/** 坐标Z. */
|
|
575
675
|
z?: number | null;
|
|
576
676
|
constructor(obj?: JackUpTransferStationDto);
|
|
577
677
|
}
|
|
@@ -596,10 +696,6 @@ export declare class PalletStackerStation {
|
|
|
596
696
|
createdAt?: string | null;
|
|
597
697
|
/** 叠盘机描述. */
|
|
598
698
|
description?: string | null;
|
|
599
|
-
/** Edge. */
|
|
600
|
-
edge?: Edge | null;
|
|
601
|
-
/** 站点所属边. */
|
|
602
|
-
edgeId?: string | null;
|
|
603
699
|
/** 设备高度,对应Z轴. */
|
|
604
700
|
height?: number | null;
|
|
605
701
|
/** 站点唯一标识符(主键). */
|
|
@@ -630,36 +726,42 @@ export declare class PalletStackerStation {
|
|
|
630
726
|
z?: number | null;
|
|
631
727
|
constructor(obj?: PalletStackerStation);
|
|
632
728
|
}
|
|
729
|
+
/** 叠盘机实体. */
|
|
633
730
|
export declare class PalletStackerStationDto {
|
|
634
|
-
/**
|
|
731
|
+
/**
|
|
732
|
+
* 角度(朝向).单位度.
|
|
733
|
+
* 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
|
|
734
|
+
*/
|
|
635
735
|
angle?: number | null;
|
|
636
|
-
/**
|
|
736
|
+
/** 站点编码. */
|
|
637
737
|
code?: string | null;
|
|
638
|
-
/**
|
|
738
|
+
/** 顶升移载输送机描述. */
|
|
639
739
|
description?: string | null;
|
|
640
|
-
/**
|
|
740
|
+
/** 站点所属边. */
|
|
641
741
|
edgeId?: string | null;
|
|
642
|
-
/**
|
|
742
|
+
/** 设备高度,对应Z轴. */
|
|
643
743
|
height?: number | null;
|
|
644
|
-
/**
|
|
744
|
+
/** 站点唯一标识符(主键). */
|
|
645
745
|
id?: string | null;
|
|
646
|
-
/**
|
|
746
|
+
/** 设备长度,对应Y轴. */
|
|
647
747
|
length?: number | null;
|
|
648
748
|
/** Priority. */
|
|
649
749
|
priority?: 0 | 1 | 2 | null;
|
|
650
|
-
/**
|
|
750
|
+
/** 所属场景ID. */
|
|
751
|
+
sceneId?: string | null;
|
|
752
|
+
/** 当前位置基于所属边的起始点的偏移量. */
|
|
651
753
|
startOffset?: number | null;
|
|
652
754
|
/** Status. */
|
|
653
755
|
status?: 0 | 1 | 2 | 3 | 4 | null;
|
|
654
756
|
/** Type. */
|
|
655
757
|
type?: 0 | 1 | 2 | 3 | 4 | null;
|
|
656
|
-
/**
|
|
758
|
+
/** 设备宽度,对应X轴. */
|
|
657
759
|
width?: number | null;
|
|
658
|
-
/** X. */
|
|
760
|
+
/** 坐标X. */
|
|
659
761
|
x?: number | null;
|
|
660
|
-
/** Y. */
|
|
762
|
+
/** 坐标Y. */
|
|
661
763
|
y?: number | null;
|
|
662
|
-
/** Z. */
|
|
764
|
+
/** 坐标Z. */
|
|
663
765
|
z?: number | null;
|
|
664
766
|
constructor(obj?: PalletStackerStationDto);
|
|
665
767
|
}
|
|
@@ -676,10 +778,6 @@ export declare class PhotoelectricSensor {
|
|
|
676
778
|
createdAt?: string | null;
|
|
677
779
|
/** 光电传感器描述. */
|
|
678
780
|
description?: string | null;
|
|
679
|
-
/** Edge. */
|
|
680
|
-
edge?: Edge | null;
|
|
681
|
-
/** 站点所属边. */
|
|
682
|
-
edgeId?: string | null;
|
|
683
781
|
/** 设备高度,对应Z轴. */
|
|
684
782
|
height?: number | null;
|
|
685
783
|
/** 站点唯一标识符(主键). */
|
|
@@ -710,39 +808,53 @@ export declare class PhotoelectricSensor {
|
|
|
710
808
|
z?: number | null;
|
|
711
809
|
constructor(obj?: PhotoelectricSensor);
|
|
712
810
|
}
|
|
811
|
+
/** 光电传感器实体. */
|
|
713
812
|
export declare class PhotoelectricSensorDto {
|
|
714
|
-
/**
|
|
813
|
+
/**
|
|
814
|
+
* 角度(朝向).单位度.
|
|
815
|
+
* 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
|
|
816
|
+
*/
|
|
715
817
|
angle?: number | null;
|
|
716
|
-
/**
|
|
818
|
+
/** 站点编码. */
|
|
717
819
|
code?: string | null;
|
|
718
|
-
/**
|
|
820
|
+
/** 顶升移载输送机描述. */
|
|
719
821
|
description?: string | null;
|
|
720
|
-
/**
|
|
822
|
+
/** 站点所属边. */
|
|
721
823
|
edgeId?: string | null;
|
|
722
|
-
/**
|
|
824
|
+
/** 设备高度,对应Z轴. */
|
|
723
825
|
height?: number | null;
|
|
724
|
-
/**
|
|
826
|
+
/** 站点唯一标识符(主键). */
|
|
725
827
|
id?: string | null;
|
|
726
|
-
/**
|
|
828
|
+
/** 设备长度,对应Y轴. */
|
|
727
829
|
length?: number | null;
|
|
728
830
|
/** Priority. */
|
|
729
831
|
priority?: 0 | 1 | 2 | null;
|
|
730
|
-
/**
|
|
832
|
+
/** 所属场景ID. */
|
|
833
|
+
sceneId?: string | null;
|
|
834
|
+
/** 当前位置基于所属边的起始点的偏移量. */
|
|
731
835
|
startOffset?: number | null;
|
|
732
836
|
/** Status. */
|
|
733
837
|
status?: 0 | 1 | 2 | 3 | 4 | null;
|
|
734
838
|
/** Type. */
|
|
735
839
|
type?: 0 | 1 | 2 | 3 | 4 | null;
|
|
736
|
-
/**
|
|
840
|
+
/** 设备宽度,对应X轴. */
|
|
737
841
|
width?: number | null;
|
|
738
|
-
/** X. */
|
|
842
|
+
/** 坐标X. */
|
|
739
843
|
x?: number | null;
|
|
740
|
-
/** Y. */
|
|
844
|
+
/** 坐标Y. */
|
|
741
845
|
y?: number | null;
|
|
742
|
-
/** Z. */
|
|
846
|
+
/** 坐标Z. */
|
|
743
847
|
z?: number | null;
|
|
744
848
|
constructor(obj?: PhotoelectricSensorDto);
|
|
745
849
|
}
|
|
850
|
+
/** 用于前端生成类型定义. */
|
|
851
|
+
export declare class PontRequest {
|
|
852
|
+
/** Agent Created Message. */
|
|
853
|
+
agentCreatedMessage?: AgentCreatedMessage | null;
|
|
854
|
+
/** Agent Destroyed Message. */
|
|
855
|
+
agentDestroyedMessage?: AgentDestroyedMessage | null;
|
|
856
|
+
constructor(obj?: PontRequest);
|
|
857
|
+
}
|
|
746
858
|
export declare class Result<T0> {
|
|
747
859
|
/** Code. */
|
|
748
860
|
code?: number | null;
|
|
@@ -813,48 +925,51 @@ export declare class Scene {
|
|
|
813
925
|
width?: number | null;
|
|
814
926
|
constructor(obj?: Scene);
|
|
815
927
|
}
|
|
928
|
+
/** 场景实体. */
|
|
816
929
|
export declare class SceneDto {
|
|
817
|
-
/**
|
|
930
|
+
/** 场景中的代理. */
|
|
818
931
|
agents?: Array<AgentDto> | null;
|
|
819
|
-
/**
|
|
932
|
+
/** 场景编码. */
|
|
820
933
|
code?: string | null;
|
|
821
|
-
/**
|
|
934
|
+
/** 配置JSON. */
|
|
822
935
|
configurationJson?: string | null;
|
|
823
|
-
/**
|
|
936
|
+
/** 场景中的创建者. */
|
|
824
937
|
creators?: Array<CreatorDto> | null;
|
|
825
|
-
/**
|
|
938
|
+
/** 场景深度. */
|
|
826
939
|
depth?: number | null;
|
|
827
|
-
/**
|
|
940
|
+
/** 场景描述. */
|
|
828
941
|
description?: string | null;
|
|
829
|
-
/**
|
|
942
|
+
/** 场景中的销毁者. */
|
|
830
943
|
destroyers?: Array<DestroyerDto> | null;
|
|
831
|
-
/**
|
|
944
|
+
/** 场景中的输送线段. */
|
|
832
945
|
edges?: Array<EdgeDto> | null;
|
|
833
|
-
/**
|
|
946
|
+
/** 重力加速度. */
|
|
834
947
|
gravity?: number | null;
|
|
835
|
-
/**
|
|
948
|
+
/** 场景高度,对应Z轴. */
|
|
836
949
|
height?: number | null;
|
|
837
|
-
/**
|
|
950
|
+
/** 湿度百分比. */
|
|
838
951
|
humidity?: number | null;
|
|
839
|
-
/**
|
|
952
|
+
/** 场景唯一标识符(主键). */
|
|
840
953
|
id?: string | null;
|
|
841
|
-
/**
|
|
954
|
+
/** 场景中的顶升移载输送机. */
|
|
842
955
|
jackUpTransferStations?: Array<JackUpTransferStationDto> | null;
|
|
843
|
-
/**
|
|
956
|
+
/** 场景名称. */
|
|
844
957
|
name?: string | null;
|
|
845
|
-
/**
|
|
958
|
+
/** 场景中的叠盘机. */
|
|
846
959
|
palletStackerStations?: Array<PalletStackerStationDto> | null;
|
|
847
|
-
/**
|
|
960
|
+
/** 场景中的光电传感器. */
|
|
848
961
|
photoelectricSensors?: Array<PhotoelectricSensorDto> | null;
|
|
849
|
-
/**
|
|
962
|
+
/** 场景中的站点. */
|
|
850
963
|
stations?: Array<StationDto> | null;
|
|
851
|
-
/**
|
|
964
|
+
/** Status. */
|
|
965
|
+
status?: 0 | 1 | 2 | 3 | 4 | 5 | null;
|
|
966
|
+
/** 场景中的任务. */
|
|
852
967
|
tasks?: Array<AgentTaskDto> | null;
|
|
853
|
-
/**
|
|
968
|
+
/** 环境温度(摄氏度). */
|
|
854
969
|
temperature?: number | null;
|
|
855
|
-
/**
|
|
970
|
+
/** 仿真时间倍率. */
|
|
856
971
|
timeScale?: number | null;
|
|
857
|
-
/**
|
|
972
|
+
/** 场景宽度,对应X轴. */
|
|
858
973
|
width?: number | null;
|
|
859
974
|
constructor(obj?: SceneDto);
|
|
860
975
|
}
|
|
@@ -931,36 +1046,42 @@ export declare class Station {
|
|
|
931
1046
|
z?: number | null;
|
|
932
1047
|
constructor(obj?: Station);
|
|
933
1048
|
}
|
|
1049
|
+
/** 站点实体. */
|
|
934
1050
|
export declare class StationDto {
|
|
935
|
-
/**
|
|
1051
|
+
/**
|
|
1052
|
+
* 角度(朝向).单位度.
|
|
1053
|
+
* 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
|
|
1054
|
+
*/
|
|
936
1055
|
angle?: number | null;
|
|
937
|
-
/**
|
|
1056
|
+
/** 站点编码. */
|
|
938
1057
|
code?: string | null;
|
|
939
|
-
/**
|
|
1058
|
+
/** 站点描述. */
|
|
940
1059
|
description?: string | null;
|
|
941
|
-
/**
|
|
1060
|
+
/** 站点所属边. */
|
|
942
1061
|
edgeId?: string | null;
|
|
943
|
-
/**
|
|
1062
|
+
/** 设备高度,对应Z轴. */
|
|
944
1063
|
height?: number | null;
|
|
945
|
-
/**
|
|
1064
|
+
/** 站点唯一标识符(主键). */
|
|
946
1065
|
id?: string | null;
|
|
947
|
-
/**
|
|
1066
|
+
/** 设备长度,对应Y轴. */
|
|
948
1067
|
length?: number | null;
|
|
949
1068
|
/** Priority. */
|
|
950
1069
|
priority?: 0 | 1 | 2 | null;
|
|
951
|
-
/**
|
|
1070
|
+
/** 所属场景ID. */
|
|
1071
|
+
sceneId?: string | null;
|
|
1072
|
+
/** 当前位置基于所属边的起始点的偏移量. */
|
|
952
1073
|
startOffset?: number | null;
|
|
953
1074
|
/** Status. */
|
|
954
1075
|
status?: 0 | 1 | 2 | 3 | 4 | null;
|
|
955
1076
|
/** Type. */
|
|
956
1077
|
type?: 0 | 1 | 2 | 3 | 4 | null;
|
|
957
|
-
/**
|
|
1078
|
+
/** 设备宽度,对应X轴. */
|
|
958
1079
|
width?: number | null;
|
|
959
|
-
/** X. */
|
|
1080
|
+
/** 坐标X. */
|
|
960
1081
|
x?: number | null;
|
|
961
|
-
/** Y. */
|
|
1082
|
+
/** 坐标Y. */
|
|
962
1083
|
y?: number | null;
|
|
963
|
-
/** Z. */
|
|
1084
|
+
/** 坐标Z. */
|
|
964
1085
|
z?: number | null;
|
|
965
1086
|
constructor(obj?: StationDto);
|
|
966
1087
|
}
|
|
@@ -984,39 +1105,39 @@ export declare function keys<C extends object>(obj: C): Array<keyof C>;
|
|
|
984
1105
|
/**
|
|
985
1106
|
* 创建一个新的对象, 并给部分属性设置默认值.
|
|
986
1107
|
*
|
|
987
|
-
* @param
|
|
1108
|
+
* @param creator 要覆盖的部分属性.
|
|
988
1109
|
*/
|
|
989
|
-
export declare function
|
|
1110
|
+
export declare function newCreator(creator?: Creator): Creator;
|
|
990
1111
|
/**
|
|
991
1112
|
* 创建一个新的对象, 并给部分属性设置默认值.
|
|
992
1113
|
*
|
|
993
|
-
* @param
|
|
1114
|
+
* @param destroyer 要覆盖的部分属性.
|
|
994
1115
|
*/
|
|
995
|
-
export declare function
|
|
1116
|
+
export declare function newDestroyer(destroyer?: Destroyer): Destroyer;
|
|
996
1117
|
/**
|
|
997
1118
|
* 创建一个新的对象, 并给部分属性设置默认值.
|
|
998
1119
|
*
|
|
999
1120
|
* @param station 要覆盖的部分属性.
|
|
1000
1121
|
*/
|
|
1001
|
-
export declare function
|
|
1122
|
+
export declare function newPTSSJ(station?: Station): Station;
|
|
1002
1123
|
/**
|
|
1003
1124
|
* 创建一个新的对象, 并给部分属性设置默认值.
|
|
1004
1125
|
*
|
|
1005
1126
|
* @param station 要覆盖的部分属性.
|
|
1006
1127
|
*/
|
|
1007
|
-
export declare function
|
|
1128
|
+
export declare function newDSYZJ(station?: JackUpTransferStation): JackUpTransferStation;
|
|
1008
1129
|
/**
|
|
1009
1130
|
* 创建一个新的对象, 并给部分属性设置默认值.
|
|
1010
1131
|
*
|
|
1011
|
-
* @param
|
|
1132
|
+
* @param station 要覆盖的部分属性.
|
|
1012
1133
|
*/
|
|
1013
|
-
export declare function
|
|
1134
|
+
export declare function newDPJ(station?: PalletStackerStation): PalletStackerStation;
|
|
1014
1135
|
/**
|
|
1015
1136
|
* 创建一个新的对象, 并给部分属性设置默认值.
|
|
1016
1137
|
*
|
|
1017
|
-
* @param
|
|
1138
|
+
* @param station 要覆盖的部分属性.
|
|
1018
1139
|
*/
|
|
1019
|
-
export declare function
|
|
1140
|
+
export declare function newGDCGQ(station?: PhotoelectricSensor): PhotoelectricSensor;
|
|
1020
1141
|
/**
|
|
1021
1142
|
* 创建一个新的对象, 并给部分属性设置默认值.
|
|
1022
1143
|
*
|
|
@@ -1031,6 +1152,45 @@ export declare type IToolbarPlacement = 'LEFT_TOP' | 'LEFT_BOTTOM' | 'RIGHT_TOP'
|
|
|
1031
1152
|
* 面板位置.
|
|
1032
1153
|
*/
|
|
1033
1154
|
export declare type IPanelPlacement = 'LEFT_TOP' | 'LEFT_BOTTOM' | 'RIGHT_TOP' | 'RIGHT_BOTTOM';
|
|
1155
|
+
/**
|
|
1156
|
+
* 拖拽数据.
|
|
1157
|
+
*/
|
|
1158
|
+
export declare type IDragDataTransferData = {
|
|
1159
|
+
/**
|
|
1160
|
+
* 对象类型.
|
|
1161
|
+
*
|
|
1162
|
+
* @see NODE_KEY
|
|
1163
|
+
*/
|
|
1164
|
+
type: string;
|
|
1165
|
+
};
|
|
1166
|
+
/**
|
|
1167
|
+
* 节点数据.
|
|
1168
|
+
*/
|
|
1169
|
+
export declare type INodeProperty = {
|
|
1170
|
+
/**
|
|
1171
|
+
* 创建者--计时器.
|
|
1172
|
+
*/
|
|
1173
|
+
$Creator$Timer?: number;
|
|
1174
|
+
/**
|
|
1175
|
+
* 创建者--计时器.
|
|
1176
|
+
*/
|
|
1177
|
+
$Destroyer$Timer?: number;
|
|
1178
|
+
/**
|
|
1179
|
+
* <p>连线--长度.</p>
|
|
1180
|
+
* <p>如果不是连线, 则该属性为 undefined,</p>
|
|
1181
|
+
*/
|
|
1182
|
+
$Edge$length?: number;
|
|
1183
|
+
/**
|
|
1184
|
+
* 对象.
|
|
1185
|
+
*/
|
|
1186
|
+
data: Record<string, any>;
|
|
1187
|
+
/**
|
|
1188
|
+
* 对象类型.
|
|
1189
|
+
*
|
|
1190
|
+
* @see NODE_KEY
|
|
1191
|
+
*/
|
|
1192
|
+
type: string;
|
|
1193
|
+
};
|
|
1034
1194
|
/**
|
|
1035
1195
|
* 本地存储的键.
|
|
1036
1196
|
*/
|
|
@@ -1089,6 +1249,10 @@ export declare const NODE_KEY: {
|
|
|
1089
1249
|
* 节点附件类型.
|
|
1090
1250
|
*/
|
|
1091
1251
|
export declare const NODE_UI_KEY: {
|
|
1252
|
+
/**
|
|
1253
|
+
* 代理--编号.
|
|
1254
|
+
*/
|
|
1255
|
+
AGENT_CODE: string;
|
|
1092
1256
|
/**
|
|
1093
1257
|
* 创建者--编号.
|
|
1094
1258
|
*/
|
|
@@ -1123,32 +1287,40 @@ export declare const NODE_UI_KEY: {
|
|
|
1123
1287
|
SCENE_CODE: string;
|
|
1124
1288
|
};
|
|
1125
1289
|
/**
|
|
1126
|
-
*
|
|
1290
|
+
* WEBSOCKET 发起请求消息类型.
|
|
1127
1291
|
*/
|
|
1128
|
-
export declare
|
|
1292
|
+
export declare const WEBSOCKET_PING_TYPE: {
|
|
1129
1293
|
/**
|
|
1130
|
-
*
|
|
1131
|
-
*
|
|
1132
|
-
* @see NODE_KEY
|
|
1294
|
+
* 更新代理状态.
|
|
1133
1295
|
*/
|
|
1134
|
-
|
|
1296
|
+
AGENT_STATUS_UPDATE_REQUEST: string;
|
|
1135
1297
|
};
|
|
1136
1298
|
/**
|
|
1137
|
-
*
|
|
1299
|
+
* WEBSOCKET 接收响应消息类型.
|
|
1138
1300
|
*/
|
|
1139
|
-
export declare
|
|
1301
|
+
export declare const WEBSOCKET_PONG_TYPE: {
|
|
1140
1302
|
/**
|
|
1141
|
-
*
|
|
1303
|
+
* 代理创建成功.
|
|
1142
1304
|
*/
|
|
1143
|
-
|
|
1305
|
+
AGENT_CREATED: string;
|
|
1144
1306
|
/**
|
|
1145
|
-
*
|
|
1307
|
+
* 代理销毁成功.
|
|
1146
1308
|
*/
|
|
1147
|
-
|
|
1309
|
+
AGENT_DESTROYED: string;
|
|
1148
1310
|
/**
|
|
1149
|
-
*
|
|
1150
|
-
*
|
|
1151
|
-
* @see NODE_KEY
|
|
1311
|
+
* 更新代理状态.
|
|
1152
1312
|
*/
|
|
1153
|
-
|
|
1313
|
+
AGENT_STATUS_CHANGED: string;
|
|
1314
|
+
/**
|
|
1315
|
+
* 更新代理状态.
|
|
1316
|
+
*/
|
|
1317
|
+
AGENT_STATUS_UPDATE_RESPONSE: string;
|
|
1318
|
+
/**
|
|
1319
|
+
* 代理指令动作.
|
|
1320
|
+
*/
|
|
1321
|
+
PLC_ACTION: string;
|
|
1322
|
+
/**
|
|
1323
|
+
* 仿真状态改变.
|
|
1324
|
+
*/
|
|
1325
|
+
SIMULATION_STATUS_CHANGED: string;
|
|
1154
1326
|
};
|