Commit Graph

8 Commits

Author SHA1 Message Date
Jerald-Golden-B 6780e73dd1 Refactor product identifier from 'productId' to 'productUuid' across simulation stores and related types for consistency and clarity 2025-06-05 15:37:49 +05:30
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 53912b2597 feat: Enhance conveyor and material handling with pause functionality and state management 2025-05-06 19:12:58 +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
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