5 Commits (7f0ce63ef6cebeec9ef595a1611908df1bc36832)

Author SHA1 Message Date
821644@qq.com 7ea0222779 优化NuGet包引用:删除未使用的包并升级有漏洞的包
- 删除未使用的包:
  - Microsoft.AspNetCore.Cors (内置CORS)
  - Microsoft.AspNetCore.Http.Abstractions (内置)
  - Microsoft.AspNetCore.SignalR (Core项目未使用)
  - Microsoft.AspNetCore.SignalR.Protocols.MessagePack (未使用)
  - Microsoft.Extensions.Caching.StackExchangeRedis (Redis未实现)
  - StackExchange.Redis (Redis未实现)

- 升级有漏洞的包:
  - Microsoft.Extensions.Caching.Memory 8.0.0 → 8.0.1
  - System.IdentityModel.Tokens.Jwt 7.0.3 → 7.6.3
  - Serilog.AspNetCore 8.0.0 → 8.0.2
  - Serilog.Sinks.Console 5.0.1 → 6.0.0
  - Serilog.Sinks.File 5.0.0 → 6.0.0
  - Swashbuckle.AspNetCore 6.5.0 → 6.6.2
  - Microsoft.AspNetCore.Mvc.NewtonsoftJson 8.0.0 → 8.0.1

- 添加缺失的包:
  - Microsoft.Extensions.Hosting.Abstractions 到 Core项目
3 weeks ago
821644@qq.com 371a5857c3 Upgrade project from .NET 6.0 to .NET 8.0
- Updated all project files to target net8.0
- Updated Microsoft.EntityFrameworkCore to 8.0.2
- Updated Pomelo.EntityFrameworkCore.MySql to 8.0.2
- Updated Microsoft.Extensions.* packages to 8.0.0
- Updated System.IdentityModel.Tokens.Jwt to 7.0.3
- Updated xunit and related packages to latest versions
- Updated Microsoft.NET.Test.Sdk to 17.8.0
- Added .NET 8.0 SDK installation
3 weeks ago
821644@qq.com 11efc0d1b9 Fix Entity Framework version conflicts and type ambiguities
- 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
4 weeks ago
821644@qq.com f53ba60b8b feat: Complete CNC machine data collection system implementation
- 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.
4 weeks ago
821644@qq.com f90cbd7209 Initial commit: Complete .NET6 CNC machine data collection and analysis system
- Created standard .NET6 project structure with Haoliang.Api, Haoliang.Core, Haoliang.Data, Haoliang.Models, and Haoliang.Tests
- Implemented device management API with Entity Framework Core and MySQL
- Added production calculation logic for CNC machine output statistics
- Created comprehensive data models for devices, templates, production records, users, and system
- Implemented repository pattern for data access
- Added comprehensive test coverage for models and production logic
- Fixed version compatibility issues with Pomelo.EntityFrameworkCore.MySql and Microsoft.AspNetCore.Cors
4 weeks ago