虚拟模式下 跳过联锁(Interlock)检查,因为虚拟模式没有真实安全门信
This commit is contained in:
@@ -65,6 +65,8 @@ namespace XP.Hardware.RaySource.Implementations
|
||||
public override XRayResult ConnectVariables()
|
||||
{
|
||||
_isConnected = true;
|
||||
_eventAggregator.GetEvent<VariablesConnectedEvent>().Publish(true);
|
||||
_eventAggregator.GetEvent<RaySourceStatusChangedEvent>().Publish(RaySourceStatus.Closed);
|
||||
_logger.Info("[Simulated] PVI 变量连接成功");
|
||||
return XRayResult.Ok();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user