3 Commits (423d450c9fcd8e0b5f787d7589f18cfbe60667d3)

Author SHA1 Message Date
821644@qq.com f5f8948d71 添加AlarmService和TemplateService单元测试用例 3 weeks ago
821644@qq.com 8022fafd55 升级到 .NET 8.0,重构核心服务接口层
- 删除 Haoliang.Tests 项目(用户要求先保证项目功能实现)
- 重构 Haoliang.Core 服务接口定义(IServices.cs,约2200行)
- 创建服务桩实现(StubServices.cs)使核心项目可编译
- 创建自定义异常类(Exceptions.cs)
- 更新 Haoliang.Models 数据模型
- ApiResponse 方法重命名(Success -> Ok, Error -> ErrorResult 等)
- 修复命名空间歧义和类型冲突
- Haoliang.Api 项目暂未完全编译,待后续处理
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