feat: 硬件虚拟化与CNC联动集成 - 运动控制/射线源模拟实现,CNC执行联动增强

This commit is contained in:
zhengxuan.zhang
2026-05-21 15:59:38 +08:00
parent 05c41a9a21
commit 43d0e7fa89
15 changed files with 1292 additions and 9 deletions
@@ -54,6 +54,7 @@ namespace XP.Hardware.RaySource.Factories
var instance = sourceType.ToUpperInvariant() switch
{
"COMET225" => CreateComet225RaySource(),
"SIMULATED" => new SimulatedXRaySource(_eventAggregator, _logger),
_ => throw new NotSupportedException($"不支持的射线源类型: {sourceType}")
};
@@ -90,7 +91,8 @@ namespace XP.Hardware.RaySource.Factories
{
return new List<string>
{
"Comet225"
"Comet225",
"Simulated"
};
}