Skip to main content
Namespace: MolcaDT.Handler The machine info and selection system is the core of DT twin interaction: defining machines as interactive objects, selecting them, and displaying detail panels (overview, data, working orders, documentation).

MachineInfo

File: Assets/_MolcaDT/Code/Scripts/Handler/MachineInfo.cs Attached to each machine GameObject in the twin scene. Defines the machine’s identity, capabilities, and data bindings.

Inspector fields

Code

MachineSelectionHandler

File: Assets/_MolcaDT/Code/Scripts/Handler/MachineSelectionHandler.cs Handles machine click/select flow. Coordinates with POIManager for POI display, FactoryMenuManager for panel toggles, and CameraController for focus transitions.

Panel handlers

Each detail panel for a selected machine is managed by a dedicated handler, all under Assets/_MolcaDT/Code/Scripts/Handler/Panel Handler/.

Overview panel

File: Overview Panel/OverviewPanelHandler.cs Shows the machine’s overview card: name, status, key metrics. Uses OverviewParameterDataHandler for parameter-driven display.

Data panel

File: Data Panel/DataPanelHandler.cs Displays live parameter data from MachineInfo.parameterDataList. ParameterDataHandler manages individual parameter rendering.

Working order panel

File: Working Order Panel/WorkingOrderPanelHandler.cs Manages working order/work order display and flow. Uses WorkingOrderManager for state and WorkingOrderDataHandler for data.

Documentation panel

File: Documentation Panel/DocumentPanelHandler.cs Displays documents attached to the machine via MachineInfo.documentInfos. Each DocumentButtonHandler opens a specific document.

Information panel

File: Information Panel/InformationPanelHandler.cs Shows additional machine information groups. Uses InformationGroupHandler for sectioned content.

Configuration panel

File: Configuration Panel/ConfigurationPanelHandler.cs Manages machine configuration controls. ControllerButtonHandler provides individual button/dropdown/toggle controls.

Children panel

File: Children Panel/ChildrenPanelHandler.cs Shows child machines for drill-down navigation, populated from MachineInfo.childMachine.

Base

File: BasePanelHandler.cs Abstract base for all panel handlers:

Plant selection

File: PlantSelectionHandler.cs — handles plant-level selection (vs. individual machine selection), coordinates FloorManager for floor filtering.

CRUD handlers

Code