3 Commits (7b90fafb9c873f8bff70361ac077cd1d39f996b8)

Author SHA1 Message Date
821644@qq.com 5b54ca569e 添加Haoliang.Tests单元测试项目
- 创建xUnit测试项目
- 添加Moq和FluentAssertions包
- 实现PingServiceTests (5个测试用例)
- 实现DataParserServiceTests (9个测试用例)
- 所有14个测试用例通过
- dotnet build 0 Error
3 weeks ago
821644@qq.com c3d17cebb9 Continue fixing compilation errors after .NET 8 upgrade
- Fixed CNCDbContext type references in repositories
- Fixed ambiguous TagData and DeviceCurrentStatus references
- Added missing using statements to repository files
- Updated DataCollection namespace references

Note: There are still remaining DbContext/model mismatches that need to be resolved
3 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