@kengic/vue 0.30.1-beta.57 → 0.30.1-beta.59

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.
@@ -29,12 +29,12 @@ export declare type IUseDraw = {
29
29
  dpj: PalletStackerStation;
30
30
  }): Q.Node | null;
31
31
  /**
32
- * 绘制环形输送线--绘制顶升移载机.
32
+ * 绘制环形输送线--绘制移栽机.
33
33
  *
34
34
  * @param param
35
- * @param param.dsyzj 顶升移载机.
35
+ * @param param.dsyzj 移栽机.
36
36
  */
37
- $CircularConveyor$drawDSYZJ(param?: {
37
+ $CircularConveyor$drawYZJ(param?: {
38
38
  dsyzj: JackUpTransferStation;
39
39
  }): Q.Node | null;
40
40
  /**
@@ -47,21 +47,21 @@ export declare type IUseDraw = {
47
47
  destroyer: Destroyer;
48
48
  }): Q.Node | null;
49
49
  /**
50
- * 绘制环形输送线--绘制光电传感器.
50
+ * 绘制环形输送线--绘制传感器.
51
51
  *
52
52
  * @param param
53
- * @param param.gdcgq 光电传感器.
53
+ * @param param.gdcgq 传感器.
54
54
  */
55
- $CircularConveyor$drawGDCGQ(param?: {
55
+ $CircularConveyor$drawCGQ(param?: {
56
56
  gdcgq: PhotoelectricSensor;
57
57
  }): Q.Node | null;
58
58
  /**
59
- * 绘制环形输送线--绘制普通输送机.
59
+ * 绘制环形输送线--绘制输送机.
60
60
  *
61
61
  * @param param
62
- * @param param.ptssj 普通输送机.
62
+ * @param param.ptssj 输送机.
63
63
  */
64
- $CircularConveyor$drawPTSSJ(param?: {
64
+ $CircularConveyor$drawSSJ(param?: {
65
65
  ptssj: Station;
66
66
  }): Q.Node | null;
67
67
  /**
@@ -89,6 +89,8 @@ export declare class AgentCreatedMessage {
89
89
  messageId?: string | null;
90
90
  /** 场景ID. */
91
91
  sceneId?: string | null;
92
+ /** 当前所在站点编码. */
93
+ sourceStationCode?: string | null;
92
94
  /** 目标站点ID. */
93
95
  targetStationId?: string | null;
94
96
  /** 时间戳. */
@@ -191,8 +193,9 @@ export declare class AgentDto {
191
193
  z?: number | null;
192
194
  constructor(obj?: AgentDto);
193
195
  }
196
+ /** 更新代理状态. */
194
197
  export declare class AgentStatusUpdateRequest {
195
- /** Agent Id. */
198
+ /** 代理主键. */
196
199
  agentId?: string | null;
197
200
  /** 角度(度),0度表示向右(正X方向),90度表示向上(正Y方向). */
198
201
  angle?: number | null;
@@ -794,7 +797,7 @@ export declare class PalletStackerStationDto {
794
797
  z?: number | null;
795
798
  constructor(obj?: PalletStackerStationDto);
796
799
  }
797
- /** 光电传感器实体. */
800
+ /** 传感器实体. */
798
801
  export declare class PhotoelectricSensor {
799
802
  /**
800
803
  * 角度(朝向).单位度.
@@ -805,7 +808,7 @@ export declare class PhotoelectricSensor {
805
808
  code?: string | null;
806
809
  /** 创建时间. */
807
810
  createdAt?: string | null;
808
- /** 光电传感器描述. */
811
+ /** 传感器描述. */
809
812
  description?: string | null;
810
813
  /** 设备高度,对应Z轴. */
811
814
  height?: number | null;
@@ -839,7 +842,7 @@ export declare class PhotoelectricSensor {
839
842
  z?: number | null;
840
843
  constructor(obj?: PhotoelectricSensor);
841
844
  }
842
- /** 光电传感器实体. */
845
+ /** 传感器实体. */
843
846
  export declare class PhotoelectricSensorDto {
844
847
  /**
845
848
  * 角度(朝向).单位度.
@@ -959,7 +962,7 @@ export declare class Scene {
959
962
  name?: string | null;
960
963
  /** 场景中的叠盘机. */
961
964
  palletStackerStations?: Array<PalletStackerStation> | null;
962
- /** 场景中的光电传感器. */
965
+ /** 场景中的传感器. */
963
966
  photoelectricSensors?: Array<PhotoelectricSensor> | null;
964
967
  /** 场景中的站点. */
965
968
  stations?: Array<Station> | null;
@@ -1009,7 +1012,7 @@ export declare class SceneDto {
1009
1012
  name?: string | null;
1010
1013
  /** 场景中的叠盘机. */
1011
1014
  palletStackerStations?: Array<PalletStackerStationDto> | null;
1012
- /** 场景中的光电传感器. */
1015
+ /** 场景中的传感器. */
1013
1016
  photoelectricSensors?: Array<PhotoelectricSensorDto> | null;
1014
1017
  /** 场景中的站点. */
1015
1018
  stations?: Array<StationDto> | null;
@@ -1072,9 +1075,9 @@ export declare class Station {
1072
1075
  height?: number | null;
1073
1076
  /** 站点唯一标识符(主键). */
1074
1077
  id?: string | null;
1075
- /** 是否 X 轴上的光电传感器距离较远, 否则距离较近. 远距离默认为 200 mm, 近距离默认为 20 mm. 默认为 false. */
1078
+ /** 是否 X 轴上的传感器距离较远, 否则距离较近. 远距离默认为 200 mm, 近距离默认为 20 mm. 默认为 false. */
1076
1079
  isLongDistanceSensorOnX?: boolean | null;
1077
- /** 是否 Y 轴上的光电传感器距离较远, 否则距离较近. 远距离默认为 200 mm, 近距离默认为 20 mm. 默认为 false. */
1080
+ /** 是否 Y 轴上的传感器距离较远, 否则距离较近. 远距离默认为 200 mm, 近距离默认为 20 mm. 默认为 false. */
1078
1081
  isLongDistanceSensorOnY?: boolean | null;
1079
1082
  /** 设备长度,对应Y轴. */
1080
1083
  length?: number | null;
@@ -1119,9 +1122,9 @@ export declare class StationDto {
1119
1122
  height?: number | null;
1120
1123
  /** 站点唯一标识符(主键). */
1121
1124
  id?: string | null;
1122
- /** 是否 X 轴上的光电传感器距离较远, 否则距离较近. 远距离默认为 200 mm, 近距离默认为 20 mm. 默认为 false. */
1125
+ /** 是否 X 轴上的传感器距离较远, 否则距离较近. 远距离默认为 200 mm, 近距离默认为 20 mm. 默认为 false. */
1123
1126
  isLongDistanceSensorOnX?: boolean | null;
1124
- /** 是否 Y 轴上的光电传感器距离较远, 否则距离较近. 远距离默认为 200 mm, 近距离默认为 20 mm. 默认为 false. */
1127
+ /** 是否 Y 轴上的传感器距离较远, 否则距离较近. 远距离默认为 200 mm, 近距离默认为 20 mm. 默认为 false. */
1125
1128
  isLongDistanceSensorOnY?: boolean | null;
1126
1129
  /** 设备长度,对应Y轴. */
1127
1130
  length?: number | null;
@@ -1191,13 +1194,13 @@ export declare function newDestroyer(destroyer?: Destroyer): Destroyer;
1191
1194
  *
1192
1195
  * @param station 要覆盖的部分属性.
1193
1196
  */
1194
- export declare function newPTSSJ(station?: Station): Station;
1197
+ export declare function newSSJ(station?: Station): Station;
1195
1198
  /**
1196
1199
  * 创建一个新的对象, 并给部分属性设置默认值.
1197
1200
  *
1198
1201
  * @param station 要覆盖的部分属性.
1199
1202
  */
1200
- export declare function newDSYZJ(station?: JackUpTransferStation): JackUpTransferStation;
1203
+ export declare function newYZJ(station?: JackUpTransferStation): JackUpTransferStation;
1201
1204
  /**
1202
1205
  * 创建一个新的对象, 并给部分属性设置默认值.
1203
1206
  *
@@ -1209,7 +1212,7 @@ export declare function newDPJ(station?: PalletStackerStation): PalletStackerSta
1209
1212
  *
1210
1213
  * @param station 要覆盖的部分属性.
1211
1214
  */
1212
- export declare function newGDCGQ(station?: PhotoelectricSensor): PhotoelectricSensor;
1215
+ export declare function newCGQ(station?: PhotoelectricSensor): PhotoelectricSensor;
1213
1216
  /**
1214
1217
  * 创建一个新的对象, 并给部分属性设置默认值.
1215
1218
  *
@@ -1240,30 +1243,32 @@ export declare type IDragDataTransferData = {
1240
1243
  */
1241
1244
  export declare type INodeProperty = {
1242
1245
  /**
1243
- * 代理者--当前所在站点编号.
1246
+ * 代理者--起始站点编号.
1244
1247
  */
1245
- $Agent$CurrentStationCode?: string;
1248
+ $Agent$FromStationCode?: string;
1246
1249
  /**
1247
1250
  * 代理者--移动--当前所在连线.
1248
1251
  */
1249
1252
  $Agent$Move$CurrentEdge?: Q.Edge;
1253
+ /**
1254
+ * 代理者--移动--当前速度.
1255
+ */
1256
+ $Agent$Move$CurrentVelocity?: number;
1250
1257
  /**
1251
1258
  * <p>代理者--移动--移动方向.</p>
1252
- * <p>每个叠盘机的正下方都有一个普通输送机, 因此如果是叠盘, 则是从普通输送机到叠盘机, 此时坐标不会变化, 因此如果是拆盘, 则是从叠盘机到普通输送机, 此时坐标也不会变化,</p>
1259
+ * <p>
1260
+ * 每个叠盘机的正下方都有一个输送机,
1261
+ * <ul>
1262
+ * <li>如果是叠盘, 则是从输送机到叠盘机, 此时坐标不会变化,</li>
1263
+ * <li>如果是拆盘, 则是从叠盘机到输送机, 此时坐标不会变化,</li>
1264
+ * </ul>
1265
+ * </p>
1253
1266
  */
1254
1267
  $Agent$Move$Direction?: 'UP' | 'DOWN' | 'LEFT' | 'RIGHT' | 'DPJ';
1255
1268
  /**
1256
1269
  * 代理者--移动--第一次执行移动的时刻.
1257
1270
  */
1258
1271
  $Agent$Move$FirstMoveTime?: number;
1259
- /**
1260
- * 代理者--移动--起始 X.
1261
- */
1262
- $Agent$Move$FromX?: number;
1263
- /**
1264
- * 代理者--移动--起始 Y.
1265
- */
1266
- $Agent$Move$FromY?: number;
1267
1272
  /**
1268
1273
  * 代理者--移动--是否到达目的站点.
1269
1274
  */
@@ -1271,7 +1276,7 @@ export declare type INodeProperty = {
1271
1276
  /**
1272
1277
  * 代理者--移动--是否正在移动.
1273
1278
  */
1274
- $Agent$Move$IsMoving?: boolean;
1279
+ $Agent$Move$IsMoveDoing?: boolean;
1275
1280
  /**
1276
1281
  * 代理者--移动--上一次执行移动的时刻.
1277
1282
  */
@@ -1279,15 +1284,7 @@ export declare type INodeProperty = {
1279
1284
  /**
1280
1285
  * 代理者--移动--目标编码.
1281
1286
  */
1282
- $Agent$Move$ToCode?: string;
1283
- /**
1284
- * 代理者--移动--目标 X.
1285
- */
1286
- $Agent$Move$ToX?: number;
1287
- /**
1288
- * 代理者--移动--目标 Y.
1289
- */
1290
- $Agent$Move$ToY?: number;
1287
+ $Agent$Move$ToStationCode?: string;
1291
1288
  /**
1292
1289
  * 创建者--计时器.
1293
1290
  */
@@ -1307,17 +1304,17 @@ export declare type INodeProperty = {
1307
1304
  */
1308
1305
  $DPJ$IsOutDoing?: boolean;
1309
1306
  /**
1310
- * 顶升移栽机--当前位置.
1307
+ * 移栽机--当前位置.
1311
1308
  */
1312
- $DSYZJ$CurrentPosition?: 'UP' | 'DOWN';
1309
+ $YZJ$CurrentPosition?: 'UP' | 'DOWN';
1313
1310
  /**
1314
- * 顶升移栽机--是否正在下降.
1311
+ * 移栽机--是否正在下降.
1315
1312
  */
1316
- $DSYZJ$IsDownDoing?: boolean;
1313
+ $YZJ$IsDownDoing?: boolean;
1317
1314
  /**
1318
- * 顶升移栽机--是否正在上升.
1315
+ * 移栽机--是否正在上升.
1319
1316
  */
1320
- $DSYZJ$IsUpDoing?: boolean;
1317
+ $YZJ$IsUpDoing?: boolean;
1321
1318
  /**
1322
1319
  * 创建者--计时器.
1323
1320
  */
@@ -1367,6 +1364,10 @@ export declare const NODE_KEY: {
1367
1364
  * 代理.
1368
1365
  */
1369
1366
  AGENT: string;
1367
+ /**
1368
+ * 传感器.
1369
+ */
1370
+ CGQ: string;
1370
1371
  /**
1371
1372
  * 创建者.
1372
1373
  */
@@ -1379,26 +1380,22 @@ export declare const NODE_KEY: {
1379
1380
  * 叠盘机.
1380
1381
  */
1381
1382
  DPJ: string;
1382
- /**
1383
- * 顶升移载机.
1384
- */
1385
- DSYZJ: string;
1386
1383
  /**
1387
1384
  * 连线.
1388
1385
  */
1389
1386
  EDGE: string;
1390
1387
  /**
1391
- * 光电传感器.
1388
+ * 场景.
1392
1389
  */
1393
- GDCGQ: string;
1390
+ SCENE: string;
1394
1391
  /**
1395
- * 普通输送机.
1392
+ * 输送机.
1396
1393
  */
1397
- PTSSJ: string;
1394
+ SSJ: string;
1398
1395
  /**
1399
- * 场景.
1396
+ * 移栽机.
1400
1397
  */
1401
- SCENE: string;
1398
+ YZJ: string;
1402
1399
  };
1403
1400
  /**
1404
1401
  * 节点附件类型.
@@ -1408,6 +1405,10 @@ export declare const NODE_UI_KEY: {
1408
1405
  * 代理--编号.
1409
1406
  */
1410
1407
  AGENT_CODE: string;
1408
+ /**
1409
+ * 传感器--编号.
1410
+ */
1411
+ CGQ_CODE: string;
1411
1412
  /**
1412
1413
  * 创建者--编号.
1413
1414
  */
@@ -1429,33 +1430,29 @@ export declare const NODE_UI_KEY: {
1429
1430
  */
1430
1431
  DPJ_OUT_ARROW: string;
1431
1432
  /**
1432
- * 顶升移载机--编号.
1433
- */
1434
- DSYZJ_CODE: string;
1435
- /**
1436
- * 顶升移载机--下降箭头.
1433
+ * 连线--编号.
1437
1434
  */
1438
- DSYZJ_DOWN_ARROW: string;
1435
+ EDGE_CODE: string;
1439
1436
  /**
1440
- * 顶升移载机--上升箭头.
1437
+ * 场景--编号.
1441
1438
  */
1442
- DSYZJ_UP_ARROW: string;
1439
+ SCENE_CODE: string;
1443
1440
  /**
1444
- * 连线--编号.
1441
+ * 输送机--编号.
1445
1442
  */
1446
- EDGE_CODE: string;
1443
+ SSJ_CODE: string;
1447
1444
  /**
1448
- * 光电传感器--编号.
1445
+ * 移栽机--编号.
1449
1446
  */
1450
- GDCGQ_CODE: string;
1447
+ YZJ_CODE: string;
1451
1448
  /**
1452
- * 普通输送机--编号.
1449
+ * 移栽机--下降箭头.
1453
1450
  */
1454
- PTSSJ_CODE: string;
1451
+ YZJ_DOWN_ARROW: string;
1455
1452
  /**
1456
- * 场景--编号.
1453
+ * 移栽机--上升箭头.
1457
1454
  */
1458
- SCENE_CODE: string;
1455
+ YZJ_UP_ARROW: string;
1459
1456
  };
1460
1457
  /**
1461
1458
  * WEBSOCKET 发起请求消息类型.
@@ -15,12 +15,6 @@ export interface IKgSimulatorStoreGetters {
15
15
  * @default 16 m/min, 16*1000/(60*1000) mm/ms
16
16
  */
17
17
  $Config$CircularConveyor$Agent$GlobalMaxVelocity: number;
18
- /**
19
- * 配置--环形输送线--代理者--移动动画时间间隔, 单位毫秒.
20
- *
21
- * @default 25 毫秒
22
- */
23
- $Config$CircularConveyor$Agent$MoveAnimationInterval: number;
24
18
  /**
25
19
  * 配置--环形输送线--接口地址--创建代理者.
26
20
  *
@@ -58,25 +52,32 @@ export interface IKgSimulatorStoreGetters {
58
52
  */
59
53
  $Config$CircularConveyor$Api$WebSocket: string;
60
54
  /**
61
- * 配置--环形输送线--默认的光电传感器--离设备边缘的距离(远).
55
+ * 配置--环形输送线--默认的传感器--离设备边缘的距离(远).
62
56
  *
63
57
  * @default 200 mm
64
58
  */
65
59
  $Config$CircularConveyor$DefaultPhotoelectricSensor$LongDistance: number;
66
60
  /**
67
- * 配置--环形输送线--默认的光电传感器--离设备边缘的距离(近).
61
+ * 配置--环形输送线--默认的传感器--离设备边缘的距离(近).
68
62
  *
69
63
  * @default 20 mm
70
64
  */
71
65
  $Config$CircularConveyor$DefaultPhotoelectricSensor$ShortDistance: number;
72
66
  /**
73
- * 配置--环形输送线--是否绘制默认的光电传感器.
67
+ * <p>配置--环形输送线--默认的传感器--离设备边缘的距离(近)--开始减速距离.</p>
68
+ * <p>即距离光电多远时开始减速,</p>
69
+ *
70
+ * @default 50 mm
71
+ */
72
+ $Config$CircularConveyor$DefaultPhotoelectricSensor$ShortDistance$StartDecelerateDistance: number;
73
+ /**
74
+ * 配置--环形输送线--是否绘制默认的传感器.
74
75
  *
75
76
  * @default false
76
77
  */
77
78
  $Config$CircularConveyor$IsDrawDefaultPhotoelectricSensor: boolean;
78
79
  /**
79
- * 配置--环形输送线--顶升移载机--操作持续时间.
80
+ * 配置--环形输送线--移栽机--操作持续时间.
80
81
  *
81
82
  * @default 2 * 1000 ms
82
83
  */
@@ -244,12 +245,6 @@ export interface IKgSimulatorStoreActions {
244
245
  * @see IKgSimulatorStoreGetters.$Config$CircularConveyor$Agent$GlobalMaxVelocity
245
246
  */
246
247
  set$Config$CircularConveyor$Agent$GlobalMaxVelocity(value: number | null | undefined): void;
247
- /**
248
- * 配置--环形输送线--代理者--移动动画时间间隔, 单位毫秒. 默认为 25 毫秒.
249
- *
250
- * @see IKgSimulatorStoreGetters.$Config$CircularConveyor$Agent$MoveAnimationInterval
251
- */
252
- set$Config$CircularConveyor$Agent$MoveAnimationInterval(value: number | null | undefined): void;
253
248
  /**
254
249
  * 配置--环形输送线--接口地址--创建代理者. 默认为 '/Agent/CreateAgent'.
255
250
  *
@@ -287,25 +282,32 @@ export interface IKgSimulatorStoreActions {
287
282
  */
288
283
  set$Config$CircularConveyor$Api$WebSocket(value: string | null | undefined): void;
289
284
  /**
290
- * 配置--环形输送线--默认的光电传感器--离设备边缘的距离(远). 默认为 200 mm.
285
+ * 配置--环形输送线--默认的传感器--离设备边缘的距离(远). 默认为 200 mm.
291
286
  *
292
287
  * @see IKgSimulatorStoreGetters.$Config$CircularConveyor$DefaultPhotoelectricSensor$LongDistance
293
288
  */
294
289
  set$Config$CircularConveyor$DefaultPhotoelectricSensor$LongDistance(value: number | null | undefined): void;
295
290
  /**
296
- * 配置--环形输送线--默认的光电传感器--离设备边缘的距离(近). 默认为 20 mm.
291
+ * 配置--环形输送线--默认的传感器--离设备边缘的距离(近). 默认为 20 mm.
297
292
  *
298
293
  * @see IKgSimulatorStoreGetters.$Config$CircularConveyor$DefaultPhotoelectricSensor$ShortDistance
299
294
  */
300
295
  set$Config$CircularConveyor$DefaultPhotoelectricSensor$ShortDistance(value: number | null | undefined): void;
301
296
  /**
302
- * 配置--环形输送线--是否绘制默认的光电传感器. 默认为 false.
297
+ * <p>配置--环形输送线--默认的传感器--离设备边缘的距离(近)--开始减速距离. 默认为 50 mm.</p>
298
+ * <p>即距离光电多远时开始减速,</p>
299
+ *
300
+ * @see IKgSimulatorStoreGetters.$Config$CircularConveyor$DefaultPhotoelectricSensor$ShortDistance$StartDecelerateDistance
301
+ */
302
+ set$Config$CircularConveyor$DefaultPhotoelectricSensor$ShortDistance$StartDecelerateDistance(value: number | null | undefined): void;
303
+ /**
304
+ * 配置--环形输送线--是否绘制默认的传感器. 默认为 false.
303
305
  *
304
306
  * @see IKgSimulatorStoreGetters.$Config$CircularConveyor$IsDrawDefaultPhotoelectricSensor
305
307
  */
306
308
  set$Config$CircularConveyor$IsDrawDefaultPhotoelectricSensor(value: boolean | null | undefined): void;
307
309
  /**
308
- * 配置--环形输送线--顶升移载机--操作持续时间. 默认为 2 * 1000 ms.
310
+ * 配置--环形输送线--移栽机--操作持续时间. 默认为 2 * 1000 ms.
309
311
  *
310
312
  * @see IKgSimulatorStoreGetters.$Config$CircularConveyor$JackUpTransferStation$Duration
311
313
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.30.1-beta.57",
3
+ "version": "0.30.1-beta.59",
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",
@@ -27,8 +27,7 @@
27
27
  "publish:major": "npm run bump:major && tsx script/publish.ts",
28
28
  "publish:minor": "npm run bump:minor && tsx script/publish.ts",
29
29
  "publish:patch": "npm run bump:patch && tsx script/publish.ts",
30
- "publish:beta": "npm run bump:beta && tsx script/publish.ts",
31
- "------- ------------------------------------------": ""
30
+ "publish:beta": "npm run bump:beta && tsx script/publish.ts"
32
31
  },
33
32
  "peerDependencies": {
34
33
  "vue": "^3.2.43"