3 Commits (304b7760c8f897a1aabdde5f42197aa78a524fd6)

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 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 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
4 weeks ago