20 lines
696 B
C#
20 lines
696 B
C#
namespace XP.Hardware.MotionControl.Abstractions
|
|
{
|
|
/// <summary>
|
|
/// 轴复位接口 | Axis Reset Interface
|
|
/// 提供轴复位写入和复位完成状态读取 | Provides axis reset write and reset-done status read
|
|
/// </summary>
|
|
public interface IAxisReset
|
|
{
|
|
/// <summary>复位是否完成 | Whether reset is done</summary>
|
|
bool IsResetDone { get; }
|
|
|
|
/// <summary>发送复位命令 | Send reset command</summary>
|
|
/// <returns>操作结果 | Operation result</returns>
|
|
MotionResult Reset();
|
|
|
|
/// <summary>从 PLC 更新复位完成状态 | Update reset-done status from PLC</summary>
|
|
void UpdateStatus();
|
|
}
|
|
}
|