| | |
| | | using Bro.Common.Helper; |
| | | using Bro.Common.Interface; |
| | | using Bro.Common.Model; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | |
| | | public interface IMotion |
| | | { |
| | | List<AxisInfo> GetCurrentAxisInfo(params string[] axisName); |
| | | |
| | | /// <summary> |
| | | /// 运动机构点到点移动 |
| | | /// </summary> |
| | | /// <param name="opConfig">运动配置</param> |
| | | /// <returns>true:正常结束 false:异常结束</returns> |
| | | ResponseMessage MoveToPoint(IOperationConfig opConfig); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 板卡接口 |
| | | /// </summary> |
| | | public interface IMotionCard : IMotion |
| | | { |
| | | /// <summary> |
| | | /// 板卡执行动作 除了运动动作外还包含IO操作 |
| | | /// </summary> |
| | | /// <param name="config"></param> |
| | | /// <returns></returns> |
| | | ResponseMessage Run(IOperationConfig config); |
| | | } |
| | | |
| | | public class AxisInfo : IComplexDisplay |