IMotionDriverParser.cs 904 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. using SKMC.Api.Motion.Model;
  2. using System.Collections.Generic;
  3. namespace SKMC.Api.Motion.Driver
  4. {
  5. /// <summary>
  6. /// 运动控制数据解析器接口
  7. /// </summary>
  8. public interface IMotionDriverParser
  9. {
  10. /// <summary>
  11. /// 控制卡驱动对象
  12. /// </summary>
  13. IMotionDriver MotionDriver { get; set; }
  14. void CacheDio(MotionIO motionIO);
  15. /// <summary>
  16. /// 缓存更新所有的IO模组的数据
  17. /// </summary>
  18. void CacheDioAll();
  19. /// <summary>
  20. /// 缓存更新所有的AD模组的数据
  21. /// </summary>
  22. void CacheADAll();
  23. /// <summary>
  24. /// 缓存更新Axis数据
  25. /// </summary>
  26. void CacheAxis(MotionAxis motionAxis);
  27. /// <summary>
  28. /// 缓存更新所有的Axis数据
  29. /// </summary>
  30. void CacheAxisAll();
  31. }
  32. }