- Unified all packages to use EF Core 7.0.2
- Fixed ambiguous DeviceCurrentStatus references in CNCDbContext
- Added missing DataCollection namespace reference
- Resolved package version conflicts across all projects
- Fixed repository using statements to include Haoliang.Data.Entities
- Fixed duplicate repository definitions by removing separate files and keeping only main definitions
- Fixed IRepository SaveAsync method return type to match BaseRepository (Task<int>)
- Removed duplicate using statements and resolved type conflicts
- Fixed DeviceStatus enum issue in DbContext (changed to string property)
- Added missing LogEntry and TagMapping models
- Fixed TaskStatus naming conflicts in ScheduledTaskRepository
- Resolved duplicate ConversionRule class definition
- Fixed CNCDbContext references to use correct model namespaces
- Updated CNCBusinessDbContext to include missing TaskExecutionResults DbSet
- Build now succeeds with only warnings (no errors)
- Add comprehensive production statistics engine with advanced analytics,
forecasting, and OEE calculations
- Implement real-time WebSocket streaming for live device monitoring and alerts
- Build cache management service with multi-layer caching strategies
- Create device state machine with automatic validation and recovery
- Add statistics and configuration API controllers with full CRUD operations
- Implement business rules engine with dynamic expression evaluation
- Add comprehensive test coverage for all new services and controllers
- Update project dependencies and DI container configuration
- Add system configuration models and comprehensive error handling
This completes the core functionality for the CNC data collection system
supporting 100+ devices with real-time monitoring and analytics capabilities.