18 lines
594 B
C#
18 lines
594 B
C#
using XP.Hardware.MotionControl.Abstractions.Enums;
|
|
|
|
namespace XP.Hardware.MotionControl.Abstractions
|
|
{
|
|
/// <summary>
|
|
/// 摇杆接口 | Joystick Interface
|
|
/// 定义实体摇杆输入状态的读取能力 | Defines physical joystick input status reading capability
|
|
/// </summary>
|
|
public interface IJoystick
|
|
{
|
|
/// <summary>实体摇杆输入是否激活 | Whether physical joystick input is active</summary>
|
|
bool IsJoystickActive { get; }
|
|
|
|
/// <summary>从 PLC 更新状态 | Update status from PLC</summary>
|
|
void UpdateStatus();
|
|
}
|
|
}
|