@kengic/vue 0.30.1-beta.40 → 0.30.1-beta.42

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.
@@ -75,6 +75,6 @@ export declare type IUseDraw = {
75
75
  }): void;
76
76
  };
77
77
  /**
78
- * 绘制.
78
+ * 钩子: 绘制.
79
79
  */
80
80
  export declare function useDraw(): IUseDraw;
@@ -10,7 +10,7 @@ export declare const getProps: () => {
10
10
  required: boolean;
11
11
  };
12
12
  };
13
- export declare type KgSimulatorToolbarButtonProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
13
+ export declare type IKgSimulatorProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
14
14
  /**
15
15
  * 模拟器, 仿真模拟器, 环形输送线模拟器, 环形穿梭车模拟器.
16
16
  */
@@ -441,6 +441,13 @@ export declare class DestroyAgentRequest {
441
441
  destroyerId?: string | null;
442
442
  constructor(obj?: DestroyAgentRequest);
443
443
  }
444
+ export declare class DestroyAgentWithoutNotifyWCSRequest {
445
+ /** Agent Code. */
446
+ agentCode?: string | null;
447
+ /** Scene Id. */
448
+ sceneId?: string | null;
449
+ constructor(obj?: DestroyAgentWithoutNotifyWCSRequest);
450
+ }
444
451
  export declare class Destroyer {
445
452
  /**
446
453
  * 角度(朝向).单位度.
@@ -600,7 +607,7 @@ export declare class GetAgentRequest {
600
607
  }
601
608
  /** 获取场景请求. */
602
609
  export declare class GetSceneRequest {
603
- /** Scene Id. */
610
+ /** 场景主键. */
604
611
  sceneId?: string | null;
605
612
  constructor(obj?: GetSceneRequest);
606
613
  }
@@ -803,6 +810,8 @@ export declare class PhotoelectricSensor {
803
810
  sceneId?: string | null;
804
811
  /** 当前位置基于所属边的起始点的偏移量. */
805
812
  startOffset?: number | null;
813
+ /** 所属站点ID. */
814
+ stationId?: string | null;
806
815
  /** Status. */
807
816
  status?: 0 | 1 | 2 | 3 | 4 | null;
808
817
  /** Type. */
@@ -844,6 +853,8 @@ export declare class PhotoelectricSensorDto {
844
853
  sceneId?: string | null;
845
854
  /** 当前位置基于所属边的起始点的偏移量. */
846
855
  startOffset?: number | null;
856
+ /** 所属站点ID. */
857
+ stationId?: string | null;
847
858
  /** Status. */
848
859
  status?: 0 | 1 | 2 | 3 | 4 | null;
849
860
  /** Type. */
@@ -1278,13 +1289,21 @@ export declare type INodeProperty = {
1278
1289
  */
1279
1290
  export declare const STORE_KEY: {
1280
1291
  /**
1281
- * 环形输送线--当前场景.
1292
+ * 环形输送线--编辑模式--当前场景.
1293
+ */
1294
+ CIRCULAR_CONVEYOR__EDIT__CURRENT_SCENE: string;
1295
+ /**
1296
+ * 环形输送线--仿真模式--当前场景.
1297
+ */
1298
+ CIRCULAR_CONVEYOR__SIMULATE__CURRENT_SCENE: string;
1299
+ /**
1300
+ * 环形穿梭车--编辑模式--当前场景.
1282
1301
  */
1283
- CIRCULAR_CONVEYOR__CURRENT_SCENE: string;
1302
+ CIRCULAR_SHUTTLE__EDIT__CURRENT_SCENE: string;
1284
1303
  /**
1285
- * 环形穿梭车--当前场景.
1304
+ * 环形穿梭车--仿真模式--当前场景.
1286
1305
  */
1287
- CIRCULAR_SHUTTLE__CURRENT_SCENE: string;
1306
+ CIRCULAR_SHUTTLE__SIMULATE__CURRENT_SCENE: string;
1288
1307
  };
1289
1308
  /**
1290
1309
  * 节点类型.
@@ -63,6 +63,12 @@ export interface IKgSimulatorStoreGetters {
63
63
  * @default false
64
64
  */
65
65
  $Config$Env$IsCircularShuttle: boolean;
66
+ /**
67
+ * 配置--是否自动打开上一次的场景.
68
+ *
69
+ * @default true
70
+ */
71
+ $Config$IsReopenSceneOnStart: boolean;
66
72
  /**
67
73
  * 配置--工具栏--预制组件--是否打开.
68
74
  *
@@ -180,6 +186,12 @@ export interface IKgSimulatorStoreActions {
180
186
  */
181
187
  $WebSocket$getConnection(): WebSocketResult<any> | null;
182
188
  get$graph(): Q.Graph | null;
189
+ /**
190
+ * 打开场景.
191
+ *
192
+ * @param scene 被打开的场景.
193
+ */
194
+ openScene(scene: Scene): Promise<void>;
183
195
  /**
184
196
  * 保存场景.
185
197
  */
@@ -202,6 +214,7 @@ export interface IKgSimulatorStoreActions {
202
214
  * @param value
203
215
  */
204
216
  set$Config$Env(value: 'CIRCULAR_CONVEYOR' | 'CIRCULAR_SHUTTLE' | null | undefined): void;
217
+ set$Config$IsReopenSceneOnStart(value: boolean | null | undefined): void;
205
218
  /**
206
219
  * <p>设置模式. 默认为编辑模式.</p>
207
220
  * <ul>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.30.1-beta.40",
3
+ "version": "0.30.1-beta.42",
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",