车辆上下文 icon

车辆上下文

绑定车辆身份信息(VIN / PVI / 车型 / 车间 / 产线),为整条仿真流水线注入 mopVehicle 上下文;通常紧跟 MOP 节拍放行节点之后。

车辆上下文

AI-generated

Summary

Bind vehicle identity information (VIN, PVI, car model, workshop code, line ID) to each input item by injecting a mopVehicle context object into the item's JSON data.

Inputs

  • 绑定方式 (required) — Select binding mode: '静态参数' to enter VIN, PVI and car model manually; '从上游 JSON 字段读取' to extract these values from specified JSON field paths in the input item.
  • VIN — Vehicle VIN code used when bindMode is '静态参数', written to mopVehicle.vin.
  • PVI — Internal model code used when bindMode is '静态参数', written to mopVehicle.pvi.
  • 车型 — Car model name used when bindMode is '静态参数', written to mopVehicle.carModel.
  • VIN 字段路径 — JSON path to read VIN from input item when bindMode is '从上游 JSON 字段读取'.
  • PVI 字段路径 — JSON path to read PVI from input item when bindMode is '从上游 JSON 字段读取'.
  • 车型字段路径 — JSON path to read car model name from input item when bindMode is '从上游 JSON 字段读取'.
  • 车间 (required) — Current workshop code, selected from predefined options (e.g., BIW, PS, GA), written to mopVehicle.workshopCode.
  • 产线 ID — Production line identifier string, e.g., 'GA-FL1', written to mopVehicle.lineId.

Output shape

the same list of input items transformed: each item's json is enhanced with a mopVehicle object containing vin, pvi, carModel, resolved color, workshopCode, lineId, startedAt timestamp, and optionally a correlationKey if present in input

For each input item, fields are read either statically or from specified JSON paths and injected under mopVehicle in the output JSON. The car model determines a color code included in mopVehicle.color. The original properties remain unchanged except for this augmentation. Errors per item throw node operation errors with item index indicated.

Links

Discussion