You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
haoliang 0909d9926c 新增Service方法xUnit集成测试(≥15个用例),更新ServiceFactory支持MachineLatestTag/CollectAnalysis仓库
- ServiceFactory: 新增NewLatestTagRepo/NewCollectAnalysisRepo工厂方法,更新CreateMachineService传参
- DashboardServiceTests: 新增GetProgramRank/GetProgramDistribution的4个测试(无数据+有数据)
- MachineServiceTests: 新增GetLatestTags/GetCollectRecords的3个验证测试
- ProductionServiceTests: 新增GetMachineSummary/GetMachineList/GetWorkerSummary/GetWorkerList/GetProgramSummary/GetProgramList的8个测试
- 修复2个预存测试断言:DashboardService状态值not_installed、CollectAddressService删除抛异常
1 month ago
.github/workflows fix(ci): 移除不必要的 setup-dotnet 步骤,windows-latest 自带 .NET Framework 4.7.2 环境 2 months ago
.sisyphus/plans test(ci): add Windows workflow and extended tests stage4-5; stabilize dashboard service tests 2 months ago
CncService feat(采集日志): 新增前端实现,包括 API 封装、Mock 数据、Vue 页面、路由和菜单;新增 CollectLog 页面组件、Mock 数据、API 接口,以及路由与侧边栏集成 2 months ago
CncWebApi/Controllers feat(采集日志): 新增前端实现,包括 API 封装、Mock 数据、Vue 页面、路由和菜单;新增 CollectLog 页面组件、Mock 数据、API 接口,以及路由与侧边栏集成 2 months ago
database fix(数据库): FANUC品牌字段映射 Tag11→删除 Tag26→machining_status已存在 1 month ago
docs 采集服务产量统计全流程测试验证:DB Schema同步、品牌映射修正、采集/模拟器代码修改、10场景测试全通过 1 month ago
frontend 新增三模块重构E2E测试:仪表盘新布局、产量报表3子页导航、设备详情页改造 1 month ago
src feat(后端): CollectAnalysisRepository新增按机床+日期查询采集记录方法(T7数据源切换) 1 month ago
tests 新增Service方法xUnit集成测试(≥15个用例),更新ServiceFactory支持MachineLatestTag/CollectAnalysis仓库 1 month ago
tools 修复JSON解析异常不写log_collect_raw的遗漏 1 month ago
.gitignore
.txt 清理根目录临时文件和旧代码;修复采集服务名称不匹配(collector-service→CncCollector) 2 months ago
AGENTS.md
App.config feat(cnc-service): add Windows service status checker, integrate into dashboard status, enhance startup flow; stage4 plan initialized; add frontend typings and dashboard view updates; add test scaffold for WindowsServiceChecker 2 months ago
CncDataSystem.sln
README.md feat(cnc-service): add Windows service status checker, integrate into dashboard status, enhance startup flow; stage4 plan initialized; add frontend typings and dashboard view updates; add test scaffold for WindowsServiceChecker 2 months ago
simulator.json 采集服务产量统计全流程测试验证:DB Schema同步、品牌映射修正、采集/模拟器代码修改、10场景测试全通过 1 month ago
发那科系统采集示例.txt 采集服务产量统计全流程测试验证:DB Schema同步、品牌映射修正、采集/模拟器代码修改、10场景测试全通过 1 month ago

README.md

CncSimulator 项目根 README This repository contains a self-contained CNC data sampling simulator for .NET Framework 4.7.2. 具体实现参考 simulator.json、Config/SimulatorConfig.cs、Device/DeviceState.cs、Device/DeviceSimulator.cs、Generator/FanucDataGenerator.cs、Core/SimulatorServer.cs、Core/SimulatorEngine.cs、Program.cs。