初版本AxisControl(Viscom风格)控件。

This commit is contained in:
QI Mingxuan
2026-04-22 20:48:00 +08:00
parent 4390ad1e9f
commit 1279885924
16 changed files with 1656 additions and 0 deletions
@@ -106,6 +106,24 @@ namespace XP.Hardware.MotionControl.Services
/// <returns>操作结果 | Operation result</returns>
MotionResult JogRotaryStop(RotaryAxisId axisId);
/// <summary>
/// 设置直线轴 Jog 速度 | Set linear axis jog speed
/// 根据速度百分比计算实际速度并写入 PLC | Calculates actual speed from percentage and writes to PLC
/// </summary>
/// <param name="axisId">直线轴标识 | Linear axis identifier</param>
/// <param name="speedPercent">速度百分比(0~100| Speed percentage (0~100)</param>
/// <returns>操作结果 | Operation result</returns>
MotionResult SetJogSpeed(AxisId axisId, double speedPercent);
/// <summary>
/// 设置旋转轴 Jog 速度 | Set rotary axis jog speed
/// 根据速度百分比计算实际速度并写入 PLC | Calculates actual speed from percentage and writes to PLC
/// </summary>
/// <param name="axisId">旋转轴标识 | Rotary axis identifier</param>
/// <param name="speedPercent">速度百分比(0~100| Speed percentage (0~100)</param>
/// <returns>操作结果 | Operation result</returns>
MotionResult SetJogRotarySpeed(RotaryAxisId axisId, double speedPercent);
#endregion
#region | Safety Door Control