Commit Graph

12 Commits

Author SHA1 Message Date
Jerald-Golden-B 5e58606f8f Refactor store creation for Conveyor, Machine, Storage Unit, and Vehicle
- Changed the store creation functions to `createConveyorStore`, `createMachineStore`, `createStorageUnitStore`, and `createVehicleStore` for better clarity and consistency.
- Updated the internal state management methods to maintain functionality while improving readability.
- Ensured that all stores now return their respective types for better type safety.
2025-05-28 16:24:08 +05:30
Jerald-Golden-B ba7948ec53 Enhance machine and robotic arm interactions: update action handling, integrate material management, and improve state management across components. 2025-05-09 16:55:23 +05:30
Jerald-Golden-B 9383296684 Refactor robotic arm and conveyor action handlers for improved functionality and performance; add despawn handler and update state management 2025-05-07 17:45:59 +05:30
Jerald-Golden-B bdba6447f3 feat: Implement swap handling and enhance action management in conveyor system 2025-05-06 11:30:58 +05:30
Jerald-Golden-B 6b0ee0ae79 Enhance material handling: add support for additional materials in conveyor and machine mechanics, update action types, and implement material model loading. 2025-05-05 14:26:38 +05:30
Jerald-Golden-B 01a03f5166 Refactor action updates to include productId in updateAction calls across mechanics components; enhance event handling in product store and trigger management. Add clear functions for various stores to reset state. Update action and trigger management to prevent duplicates and ensure integrity. Adjust initial load actions to use consistent naming conventions. 2025-05-02 13:13:41 +05:30
Gomathi 05d8405188 armbot trigger 2025-04-25 19:40:15 +05:30
Jerald-Golden-B 85515c6cd3 feat: Refactor simulation components and enhance product management with new features 2025-04-24 11:07:15 +05:30
Jerald-Golden-B 04f91585e6 feat: Update simulation stores and types to enhance robotic arm and vehicle handling 2025-04-23 14:53:27 +05:30
Jerald-Golden-B 83ee14e9c7 feat: Add state filtering methods for ArmBot, Conveyor, Machine, StorageUnit, and Vehicle stores 2025-04-22 15:34:49 +05:30
Jerald-Golden-B 7907bbab0a Refactor simulation store structures to use arrays instead of records for conveyors, machines, storage units, vehicles, and products; remove useSimulationStore; enhance state management and helper functions for better performance and readability. 2025-04-22 14:44:09 +05:30
Jerald-Golden-B 6363d5b9af feat: Implement Zustand stores for machine, simulation, storage unit, vehicle, and visualization management
- Added `useMachineStore` for managing machine statuses, including actions for adding, removing, and updating machines.
- Introduced `useSimulationStore` to handle product and event management with actions for adding, removing, and updating products and events.
- Created `useStorageUnitStore` for managing storage unit statuses, including load tracking and state updates.
- Developed `useVehicleStore` for vehicle management, including load and state updates.
- Implemented `useChartStore` for managing measurement data and visualization settings.
- Added `useDroppedObjectsStore` for handling dropped objects in visualization zones, including object manipulation actions.
- Created `useZone3DWidgetStore` for managing 3D widget data in zones, including position and rotation updates.
- Introduced `useZoneStore` for managing selected zone states and widget configurations.
2025-04-22 14:28:29 +05:30