using SKMC.Api.Motion.Model;
using System.Collections.Generic;
namespace SKMC.Api.Motion.Driver
{
///
/// 运动控制数据解析器接口
///
public interface IMotionDriverParser
{
///
/// 是否开启自动触发模式
/// 开启后DI能接收到传感器数据
/// 关闭后适用于空跑测试
///
///
void TriggerMode(bool triggerMode);
///
/// 解析一组IO模组的Di/Do返回值, 并注入到数据模型中
///
///
///
///
void ParseDio(MotionIODev motionIODev, short grpValue1, short grpValue2 = -1);
///
///
///
///
///
void ParseDio(MotionIODev motionIODev, ushort grpValue);
///
/// 解析多个IO模组的数据
///
void ParseDio(List motionIODevs, ushort[] packValues);
///
/// 解析一个Axis状态并注入到数据模型中
///
///
///
void ParseAxisSts(MotionAxisStatus axisStatus, int axisSts);
}
}