@jnrs/lingshu-smart 3.1.17 → 3.1.18

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/AGENTS.md CHANGED
@@ -144,7 +144,7 @@ onMounted(() => {
144
144
  | `feedSocketMessage` | `(msg: unknown) => void` | **推荐**。下发一条标准信封协议消息(`envelope + payload`),经 `SocketDispatcher` 自动分发驱动画布 |
145
145
  | `setSocketHandlers` | `(handlers: { onAck?: (ack) => void; onRaw?: (raw) => void }) => void` | 订阅回执 `command_ack` 与透传(`alarm_push` / `runtime_status_push`)回调 |
146
146
  | `operating` | `(data: ILayerOperating) => void` | 旧链路内部 `operating` 引擎,仅 WsProxy 等内部组件可选使用 |
147
- | `resetModels` | `() => void` | 一键复位画布(所有模型按初始配置重建,含资源清空) |
147
+ | `resetModels` | `(silent?: boolean) => void` | 一键复位画布(所有模型按初始配置重建,含资源清空);`silent` 为 `true` 时不弹复位结果提示 |
148
148
 
149
149
  **Props:**
150
150
 
@@ -495,7 +495,7 @@ type ILayerOperating =
495
495
  | `x` | `number` | 位移(像素);绑定轨道时按沿轨距离定位(≤1 比例 / >1 沿轨像素距离) |
496
496
  | `y` | `number` | 垂直位移(像素) |
497
497
  | `j1` | `number` | 一级关节角度(度) |
498
- | `currentFixture` | `EnumResourceType` | 当前夹具:`Pallet` / `Tool` |
498
+ | `currentFixture` | `EnumResourceType` | 当前夹具:`Pallet` / `Tool`;图层「自动切换夹具」开启时(默认)由被放置资源类型驱动,忽略该字段 |
499
499
  | `resource` | `IResourceOperating` | 托盘/刀具工位槽 |
500
500
 
501
501
  #### IDoubleJointRobotOperating
@@ -507,7 +507,7 @@ type ILayerOperating =
507
507
  | `y` | `number` | 垂直位移(像素) |
508
508
  | `j1` | `number` | 一级关节角度(度) |
509
509
  | `j2` | `number` | 二级关节角度(度) |
510
- | `currentFixture` | `EnumResourceType` | 当前夹具类型 |
510
+ | `currentFixture` | `EnumResourceType` | 当前夹具类型;图层「自动切换夹具」开启时(默认)由被放置资源类型驱动,忽略该字段 |
511
511
  | `resource` | `IResourceOperating` | 托盘/刀具工位槽 |
512
512
 
513
513
  #### IRGVOperating