Implement action handlers for conveyor, robotic arm, and vehicle, including logging and material management

This commit is contained in:
2025-05-08 13:43:37 +05:30
parent 8bf48bfcfe
commit 19e23501a4
12 changed files with 207 additions and 45 deletions

View File

@@ -24,10 +24,10 @@ export function useActionHandler() {
handleConveyorAction(action as ConveyorAction, materialId as string);
break;
case 'travel':
handleVehicleAction(action as VehicleAction);
handleVehicleAction(action as VehicleAction, materialId as string);
break;
case 'pickAndPlace':
handleRoboticArmAction(action as RoboticArmAction);
handleRoboticArmAction(action as RoboticArmAction, materialId as string);
break;
case 'process':
handleMachineAction(action as MachineAction);