终端一体化运控平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

IC_CMD.cs 1.0 KiB

2 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace BPASmartClient.SCChip
  7. {
  8. /// <summary>
  9. /// 命令
  10. /// </summary>
  11. public enum IC_CMD : byte
  12. {
  13. /// <summary>
  14. /// 心跳
  15. /// </summary>
  16. HEART_BEAT = 0x00,
  17. /// <summary>
  18. /// 下杯(带上碗参数)
  19. /// </summary>
  20. TAKE_CUP = 0x01,
  21. /// <summary>
  22. /// 打开舵机(带上舵机参数)
  23. /// </summary>
  24. OPEN_SE = 0x02,
  25. /// <summary>
  26. /// 关闭舵机(带上舵机参数)
  27. /// </summary>
  28. CLOSE_SE = 0x03,
  29. /// <summary>
  30. /// 使能冰淇淋转子(带上开关参数)
  31. /// </summary>
  32. ROTOR = 0x04,
  33. /// <summary>
  34. /// 检测是否有物品
  35. /// </summary>
  36. ARTICLE_EXITS = 0x05,
  37. /// <summary>
  38. /// 检测物品距离
  39. /// </summary>
  40. ARTICLE_DIST = 0x06
  41. }
  42. }