初版本AxisControl(Viscom风格)控件。
This commit is contained in:
@@ -91,6 +91,14 @@ namespace XP.Hardware.MotionControl.Implementations
|
||||
return MotionResult.Ok();
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public override MotionResult SetJogSpeed(double speedPercent)
|
||||
{
|
||||
if (!_enabled) return MotionResult.Fail($"旋转轴 {_axisId} 已禁用,拒绝设置 Jog 速度命令");
|
||||
_signalService.EnqueueWrite(_speedSignal, (float)speedPercent);
|
||||
return MotionResult.Ok();
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public override void UpdateStatus()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user