using SKMC.Api.Process.Model; using System; using System.Collections.Generic; namespace SKMC.Api.Motion.Control { /// /// 运动状态验证器接口 /// 适用于对动作后的状态/数值验证 /// public interface IMotionChecker { /// /// 设置条件集合 /// /// /// void SetCnds(List diCnds = null, List axisCnds = null); /// /// 设置条件集合 /// /// void SetCnds(List diCnds); /// /// 设置条件集合 /// /// void SetCnds(List axisCnds); /// /// 设置条件 /// /// /// void SetCnd(DioCnd diCnd = null, AxisCnd axisCnd = null); /// /// 状态检测高速模式 (数据直读) /// /// /// /// /// void CheckStatusFastMode(Func checkCnd, Action onSuccess = null, Action onTimeout = null, int timeout = 5000); /// /// 状态检测低速模式 (使用缓存数据有少量延迟) /// /// /// /// /// void CheckStatusLowMode(Func checkCnd, Action onSuccess = null, Action onTimeout = null, int timeout = 5000); } }