@kengic/vue 0.30.1-beta.65 → 0.30.1-beta.67
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.
|
@@ -2,13 +2,13 @@ import { Q } from '@thymine/xunee';
|
|
|
2
2
|
import { Agent, Creator, Destroyer, JackUpTransferStation, PalletStackerStation, PhotoelectricSensor, Station } from './KgSimulator.model';
|
|
3
3
|
export declare type IUseDraw = {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* 绘制环形输送线--绘制传感器.
|
|
6
6
|
*
|
|
7
7
|
* @param param
|
|
8
|
-
* @param param.
|
|
8
|
+
* @param param.gdcgq 传感器.
|
|
9
9
|
*/
|
|
10
|
-
$CircularConveyor$
|
|
11
|
-
|
|
10
|
+
$CircularConveyor$drawCGQ(param?: {
|
|
11
|
+
gdcgq: PhotoelectricSensor;
|
|
12
12
|
}): Q.Node | null;
|
|
13
13
|
/**
|
|
14
14
|
* 绘制环形输送线--绘制创建者.
|
|
@@ -16,9 +16,18 @@ export declare type IUseDraw = {
|
|
|
16
16
|
* @param param
|
|
17
17
|
* @param param.creator 创建者.
|
|
18
18
|
*/
|
|
19
|
-
$CircularConveyor$
|
|
19
|
+
$CircularConveyor$drawCJZ(param?: {
|
|
20
20
|
creator: Creator;
|
|
21
21
|
}): Q.Node | null;
|
|
22
|
+
/**
|
|
23
|
+
* 绘制环形输送线--绘制代理者.
|
|
24
|
+
*
|
|
25
|
+
* @param param
|
|
26
|
+
* @param param.agent 代理者.
|
|
27
|
+
*/
|
|
28
|
+
$CircularConveyor$drawDLZ(param?: {
|
|
29
|
+
agent: Agent;
|
|
30
|
+
}): Q.Node | null;
|
|
22
31
|
/**
|
|
23
32
|
* 绘制环形输送线--绘制叠盘机.
|
|
24
33
|
*
|
|
@@ -29,13 +38,13 @@ export declare type IUseDraw = {
|
|
|
29
38
|
dpj: PalletStackerStation;
|
|
30
39
|
}): Q.Node | null;
|
|
31
40
|
/**
|
|
32
|
-
*
|
|
41
|
+
* 绘制环形输送线--绘制输送机.
|
|
33
42
|
*
|
|
34
43
|
* @param param
|
|
35
|
-
* @param param.
|
|
44
|
+
* @param param.ptssj 输送机.
|
|
36
45
|
*/
|
|
37
|
-
$CircularConveyor$
|
|
38
|
-
|
|
46
|
+
$CircularConveyor$drawSSJ(param?: {
|
|
47
|
+
ptssj: Station;
|
|
39
48
|
}): Q.Node | null;
|
|
40
49
|
/**
|
|
41
50
|
* 绘制环形输送线--绘制销毁者.
|
|
@@ -43,26 +52,17 @@ export declare type IUseDraw = {
|
|
|
43
52
|
* @param param
|
|
44
53
|
* @param param.destroyer 销毁者.
|
|
45
54
|
*/
|
|
46
|
-
$CircularConveyor$
|
|
55
|
+
$CircularConveyor$drawXHZ(param?: {
|
|
47
56
|
destroyer: Destroyer;
|
|
48
57
|
}): Q.Node | null;
|
|
49
58
|
/**
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
* @param param
|
|
53
|
-
* @param param.gdcgq 传感器.
|
|
54
|
-
*/
|
|
55
|
-
$CircularConveyor$drawCGQ(param?: {
|
|
56
|
-
gdcgq: PhotoelectricSensor;
|
|
57
|
-
}): Q.Node | null;
|
|
58
|
-
/**
|
|
59
|
-
* 绘制环形输送线--绘制输送机.
|
|
59
|
+
* 绘制环形输送线--绘制移栽机.
|
|
60
60
|
*
|
|
61
61
|
* @param param
|
|
62
|
-
* @param param.
|
|
62
|
+
* @param param.dsyzj 移栽机.
|
|
63
63
|
*/
|
|
64
|
-
$CircularConveyor$
|
|
65
|
-
|
|
64
|
+
$CircularConveyor$drawYZJ(param?: {
|
|
65
|
+
dsyzj: JackUpTransferStation;
|
|
66
66
|
}): Q.Node | null;
|
|
67
67
|
/**
|
|
68
68
|
* 绘制图形.
|
|
@@ -709,10 +709,14 @@ export declare class JackUpTransferStationDto {
|
|
|
709
709
|
}
|
|
710
710
|
/** 移动代理请求. */
|
|
711
711
|
export declare class MoveAgentDirectRequest {
|
|
712
|
-
/**
|
|
713
|
-
|
|
714
|
-
/**
|
|
715
|
-
|
|
712
|
+
/** Agent编码. */
|
|
713
|
+
agentCode?: string | null;
|
|
714
|
+
/** 直穿模式. 是否直穿, 如果直传则托盘不减速直接高速通过. */
|
|
715
|
+
isThrough?: number | null;
|
|
716
|
+
/** 目标站点编码:Agent要前往的目标站点编码. */
|
|
717
|
+
targetStationCode?: string | null;
|
|
718
|
+
/** 直穿地址, 直穿后的下一个目标站点编码. */
|
|
719
|
+
throughStationCode?: string | null;
|
|
716
720
|
constructor(obj?: MoveAgentDirectRequest);
|
|
717
721
|
}
|
|
718
722
|
/** 叠盘机实体. */
|
|
@@ -797,7 +801,7 @@ export declare class PalletStackerStationDto {
|
|
|
797
801
|
z?: number | null;
|
|
798
802
|
constructor(obj?: PalletStackerStationDto);
|
|
799
803
|
}
|
|
800
|
-
/**
|
|
804
|
+
/** 光电传感器实体. */
|
|
801
805
|
export declare class PhotoelectricSensor {
|
|
802
806
|
/**
|
|
803
807
|
* 角度(朝向).单位度.
|
|
@@ -808,7 +812,7 @@ export declare class PhotoelectricSensor {
|
|
|
808
812
|
code?: string | null;
|
|
809
813
|
/** 创建时间. */
|
|
810
814
|
createdAt?: string | null;
|
|
811
|
-
/**
|
|
815
|
+
/** 光电传感器描述. */
|
|
812
816
|
description?: string | null;
|
|
813
817
|
/** 设备高度,对应Z轴. */
|
|
814
818
|
height?: number | null;
|
|
@@ -842,7 +846,7 @@ export declare class PhotoelectricSensor {
|
|
|
842
846
|
z?: number | null;
|
|
843
847
|
constructor(obj?: PhotoelectricSensor);
|
|
844
848
|
}
|
|
845
|
-
/**
|
|
849
|
+
/** 光电传感器实体. */
|
|
846
850
|
export declare class PhotoelectricSensorDto {
|
|
847
851
|
/**
|
|
848
852
|
* 角度(朝向).单位度.
|
|
@@ -962,7 +966,7 @@ export declare class Scene {
|
|
|
962
966
|
name?: string | null;
|
|
963
967
|
/** 场景中的叠盘机. */
|
|
964
968
|
palletStackerStations?: Array<PalletStackerStation> | null;
|
|
965
|
-
/**
|
|
969
|
+
/** 场景中的光电传感器. */
|
|
966
970
|
photoelectricSensors?: Array<PhotoelectricSensor> | null;
|
|
967
971
|
/** 场景中的站点. */
|
|
968
972
|
stations?: Array<Station> | null;
|
|
@@ -1012,7 +1016,7 @@ export declare class SceneDto {
|
|
|
1012
1016
|
name?: string | null;
|
|
1013
1017
|
/** 场景中的叠盘机. */
|
|
1014
1018
|
palletStackerStations?: Array<PalletStackerStationDto> | null;
|
|
1015
|
-
/**
|
|
1019
|
+
/** 场景中的光电传感器. */
|
|
1016
1020
|
photoelectricSensors?: Array<PhotoelectricSensorDto> | null;
|
|
1017
1021
|
/** 场景中的站点. */
|
|
1018
1022
|
stations?: Array<StationDto> | null;
|
|
@@ -1075,9 +1079,9 @@ export declare class Station {
|
|
|
1075
1079
|
height?: number | null;
|
|
1076
1080
|
/** 站点唯一标识符(主键). */
|
|
1077
1081
|
id?: string | null;
|
|
1078
|
-
/** 是否 X
|
|
1082
|
+
/** 是否 X 轴上的光电传感器距离较远, 否则距离较近. 远距离默认为 200 mm, 近距离默认为 20 mm. 默认为 false. */
|
|
1079
1083
|
isLongDistanceSensorOnX?: boolean | null;
|
|
1080
|
-
/** 是否 Y
|
|
1084
|
+
/** 是否 Y 轴上的光电传感器距离较远, 否则距离较近. 远距离默认为 200 mm, 近距离默认为 20 mm. 默认为 false. */
|
|
1081
1085
|
isLongDistanceSensorOnY?: boolean | null;
|
|
1082
1086
|
/** 设备长度,对应Y轴. */
|
|
1083
1087
|
length?: number | null;
|
|
@@ -1122,9 +1126,9 @@ export declare class StationDto {
|
|
|
1122
1126
|
height?: number | null;
|
|
1123
1127
|
/** 站点唯一标识符(主键). */
|
|
1124
1128
|
id?: string | null;
|
|
1125
|
-
/** 是否 X
|
|
1129
|
+
/** 是否 X 轴上的光电传感器距离较远, 否则距离较近. 远距离默认为 200 mm, 近距离默认为 20 mm. 默认为 false. */
|
|
1126
1130
|
isLongDistanceSensorOnX?: boolean | null;
|
|
1127
|
-
/** 是否 Y
|
|
1131
|
+
/** 是否 Y 轴上的光电传感器距离较远, 否则距离较近. 远距离默认为 200 mm, 近距离默认为 20 mm. 默认为 false. */
|
|
1128
1132
|
isLongDistanceSensorOnY?: boolean | null;
|
|
1129
1133
|
/** 设备长度,对应Y轴. */
|
|
1130
1134
|
length?: number | null;
|
|
@@ -1242,10 +1246,6 @@ export declare type IDragDataTransferData = {
|
|
|
1242
1246
|
* 节点数据.
|
|
1243
1247
|
*/
|
|
1244
1248
|
export declare type INodeProperty = {
|
|
1245
|
-
/**
|
|
1246
|
-
* 代理者--起始站点编号.
|
|
1247
|
-
*/
|
|
1248
|
-
$Agent$FromStationCode?: string;
|
|
1249
1249
|
/**
|
|
1250
1250
|
* 代理者--移动--当前所在连线.
|
|
1251
1251
|
*/
|
|
@@ -1273,14 +1273,26 @@ export declare type INodeProperty = {
|
|
|
1273
1273
|
* 代理者--移动--是否正在移动.
|
|
1274
1274
|
*/
|
|
1275
1275
|
$Agent$Move$IsMoveDoing?: boolean;
|
|
1276
|
+
/**
|
|
1277
|
+
* 代理者--移动--是否直穿.
|
|
1278
|
+
*/
|
|
1279
|
+
$Agent$Move$IsThrough?: boolean;
|
|
1276
1280
|
/**
|
|
1277
1281
|
* 代理者--移动--上一次执行移动的时刻.
|
|
1278
1282
|
*/
|
|
1279
1283
|
$Agent$Move$PreviousMoveTime?: number;
|
|
1280
1284
|
/**
|
|
1281
|
-
*
|
|
1285
|
+
* 代理者--移动--站点一编号.
|
|
1286
|
+
*/
|
|
1287
|
+
$Agent$Move$station01Code?: string | null;
|
|
1288
|
+
/**
|
|
1289
|
+
* 代理者--移动--站点二编号.
|
|
1290
|
+
*/
|
|
1291
|
+
$Agent$Move$station02Code?: string | null;
|
|
1292
|
+
/**
|
|
1293
|
+
* 代理者--移动--站点三编号.
|
|
1282
1294
|
*/
|
|
1283
|
-
$Agent$Move$
|
|
1295
|
+
$Agent$Move$station03Code?: string | null;
|
|
1284
1296
|
/**
|
|
1285
1297
|
* 创建者--计时器.
|
|
1286
1298
|
*/
|
|
@@ -1356,10 +1368,6 @@ export declare const STORE_KEY: {
|
|
|
1356
1368
|
* 节点类型.
|
|
1357
1369
|
*/
|
|
1358
1370
|
export declare const NODE_KEY: {
|
|
1359
|
-
/**
|
|
1360
|
-
* 代理.
|
|
1361
|
-
*/
|
|
1362
|
-
AGENT: string;
|
|
1363
1371
|
/**
|
|
1364
1372
|
* 传感器.
|
|
1365
1373
|
*/
|
|
@@ -1367,11 +1375,11 @@ export declare const NODE_KEY: {
|
|
|
1367
1375
|
/**
|
|
1368
1376
|
* 创建者.
|
|
1369
1377
|
*/
|
|
1370
|
-
|
|
1378
|
+
CJZ: string;
|
|
1371
1379
|
/**
|
|
1372
|
-
*
|
|
1380
|
+
* 代理.
|
|
1373
1381
|
*/
|
|
1374
|
-
|
|
1382
|
+
DLZ: string;
|
|
1375
1383
|
/**
|
|
1376
1384
|
* 叠盘机.
|
|
1377
1385
|
*/
|
|
@@ -1388,6 +1396,10 @@ export declare const NODE_KEY: {
|
|
|
1388
1396
|
* 输送机.
|
|
1389
1397
|
*/
|
|
1390
1398
|
SSJ: string;
|
|
1399
|
+
/**
|
|
1400
|
+
* 销毁者.
|
|
1401
|
+
*/
|
|
1402
|
+
XHZ: string;
|
|
1391
1403
|
/**
|
|
1392
1404
|
* 移栽机.
|
|
1393
1405
|
*/
|
|
@@ -1397,10 +1409,6 @@ export declare const NODE_KEY: {
|
|
|
1397
1409
|
* 节点附件类型.
|
|
1398
1410
|
*/
|
|
1399
1411
|
export declare const NODE_UI_KEY: {
|
|
1400
|
-
/**
|
|
1401
|
-
* 代理--编号.
|
|
1402
|
-
*/
|
|
1403
|
-
AGENT_CODE: string;
|
|
1404
1412
|
/**
|
|
1405
1413
|
* 传感器--编号.
|
|
1406
1414
|
*/
|
|
@@ -1408,11 +1416,11 @@ export declare const NODE_UI_KEY: {
|
|
|
1408
1416
|
/**
|
|
1409
1417
|
* 创建者--编号.
|
|
1410
1418
|
*/
|
|
1411
|
-
|
|
1419
|
+
CJZ_CODE: string;
|
|
1412
1420
|
/**
|
|
1413
|
-
*
|
|
1421
|
+
* 代理--编号.
|
|
1414
1422
|
*/
|
|
1415
|
-
|
|
1423
|
+
DLZ_CODE: string;
|
|
1416
1424
|
/**
|
|
1417
1425
|
* 叠盘机--编号.
|
|
1418
1426
|
*/
|
|
@@ -1437,6 +1445,10 @@ export declare const NODE_UI_KEY: {
|
|
|
1437
1445
|
* 输送机--编号.
|
|
1438
1446
|
*/
|
|
1439
1447
|
SSJ_CODE: string;
|
|
1448
|
+
/**
|
|
1449
|
+
* 销毁者--编号.
|
|
1450
|
+
*/
|
|
1451
|
+
XHZ_CODE: string;
|
|
1440
1452
|
/**
|
|
1441
1453
|
* 移栽机--编号.
|
|
1442
1454
|
*/
|
|
@@ -76,6 +76,12 @@ export interface IKgSimulatorStoreGetters {
|
|
|
76
76
|
* @default false
|
|
77
77
|
*/
|
|
78
78
|
$Config$CircularConveyor$IsDrawDefaultPhotoelectricSensor: boolean;
|
|
79
|
+
/**
|
|
80
|
+
* 配置--环形输送线--是否启用选中动画.
|
|
81
|
+
*
|
|
82
|
+
* @default true
|
|
83
|
+
*/
|
|
84
|
+
$Config$CircularConveyor$IsEnableSelectAnimation: boolean;
|
|
79
85
|
/**
|
|
80
86
|
* 配置--环形输送线--移栽机--操作持续时间.
|
|
81
87
|
*
|
|
@@ -306,6 +312,12 @@ export interface IKgSimulatorStoreActions {
|
|
|
306
312
|
* @see IKgSimulatorStoreGetters.$Config$CircularConveyor$IsDrawDefaultPhotoelectricSensor
|
|
307
313
|
*/
|
|
308
314
|
set$Config$CircularConveyor$IsDrawDefaultPhotoelectricSensor(value: boolean | null | undefined): void;
|
|
315
|
+
/**
|
|
316
|
+
* 配置--环形输送线--是否启用选中动画. 默认为 true.
|
|
317
|
+
*
|
|
318
|
+
* @see IKgSimulatorStoreGetters.$Config$CircularConveyor$IsEnableSelectAnimation
|
|
319
|
+
*/
|
|
320
|
+
set$Config$CircularConveyor$IsEnableSelectAnimation(value: boolean | null | undefined): void;
|
|
309
321
|
/**
|
|
310
322
|
* 配置--环形输送线--移栽机--操作持续时间. 默认为 2 * 1000 ms.
|
|
311
323
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kengic/vue",
|
|
3
|
-
"version": "0.30.1-beta.
|
|
3
|
+
"version": "0.30.1-beta.67",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "npm run use-node && rimraf dist && vue-tsc && vite build",
|
|
6
6
|
"build:dev": "npm run use-node && rimraf dist && vue-tsc && vite build --mode development",
|