Files
WidgetWorkbench/hmi-docs/CLIENT_MIGRATION_MATRIX.md
2026-10-23 19:29:37 +00:00

2.4 KiB
Raw Permalink Blame History

Native MES widgets V4 – migration inventory

HistoryBooking.html → wb.history

Feature Native implementation
Station session reuse Server-side IMSAPI session via secure HMI REST proxy; no browser globallogin trust
Station settings and active order getActiveOrder
Find and activate available workorders/layers getOrders, trActivateWorkOrder
Serial history 6 views getHistory (booking/failure/slip/measure/merge/setup)
Serial state rebooking dialog trUploadState, per-history-row station/layer
Missing serial -110 / assign to active order trAssignSerialNumberForProductOrWorkOrder, optional state 0 booking
Login modal, own regLogin Not duplicated; uses existing Workbench station login

Activities_rest.html → wb.activities

Feature Native implementation
Workplan + state, previous workstep lock mdataGetWorkplanData, trGetSerialNumberHistoryData
Recipe/measurement editing mdaGetRecipeData; edit locally before trUploadResultDataAndRecipe
Failure codes, component assignment mdataGetFailureDataForStation / trUploadFailureAndResultData
Setup activation/deletion and bins setupStateChange / setupUpdateMaterialSetup
Attribute edit/create attribAppendAttributeValues / attribCreateAttributeCode
Active workorder switch per workstep trGetSerialNumberInfo + trActivateWorkOrder
Booking/failure/slip/measurement/setup/attribute list views Native grid-compatible Vue tables

Validation needed before production

The browser source faithfully supplies the known MES action names and payload shapes. No end-to-end IMSAPI tests were available in this workspace. In particular check material setup location, recipe value mapping, failure upload acceptance, station 8310 flag, session and serial positions on your test system. The original HTML files remain available only as temporary fallback and comparison references, not as iframe widgets.

Theme

backend/src/main/webapp/ios.css is the immutable WAR fallback. Legacy pages now link /backend/hmi-theme/ios.css; admins design in /backend/hmi/ and publish full CSS snapshots to CUST.HMI_APP_CSS_REVISION. Vue uses the published --itac-* token values and component-specific styles for safe layout isolation. Selector-level legacy CSS changes only affect corresponding legacy DOM structures. Re-publish a previous revision to roll back.